Skip to content

Instantly share code, notes, and snippets.

View anvatar's full-sized avatar

HongJoon Ahn anvatar

  • LINE Plus
  • Seoul
View GitHub Profile
@franciskim
franciskim / slackWeatherBot.js
Created July 21, 2015 14:53
Weather Bot for Slack
// please leave this notice intact, otherwise do as you please :)
// by hello@franciskim.co
// get more info at http://franciskim.co/2015/07/22/how-to-create-a-weather-bot-for-slack-chat/
var express = require('express');
var app = express();
var http = require('http');
var Slackhook = require('slackhook');
var slack = new Slackhook({
domain: 'yoursubdomain',
@kimdwkimdw
kimdwkimdw / guide.md
Last active July 25, 2017 14:11
Python 2.x Encoding cheatsheet
@arunoda
arunoda / gist:7790979
Last active October 20, 2025 08:27
Installing SSHPass

Installing SSHPASS

SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.

Installing on Ubuntu

apt-get install sshpass

Installing on OS X

@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a