I hereby claim:
- I am lafolle on github.
- I am lafolle (https://keybase.io/lafolle) on keybase.
- I have a public key whose fingerprint is EA2A 670E FCA8 9B01 A3E2 AF22 9384 6835 01DB B74C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"flag" | |
"fmt" | |
"io" | |
"log" | |
"net" | |
) |
There are 1500 comics in XKCD. This server/handler post a random comic (title, imgurl) to slack slack channel.
As response of Slack Custom Command cannot be unfurled by Slack, we make a post webhook request to the channel from which /xkcd command is issued.
# This automatically activates the virtual environment when a particular | |
# directory becomes 'present working directory' | |
function activatevirtualenvironment | |
# Activate virtual environment if some particular directory is pwd. | |
set -l virtual_environment_dir $argv | |
switch (pwd) | |
case /Users/lafolle/hp/Awesome |