Skip to content

Instantly share code, notes, and snippets.

I enjoy

Taeho Kim dittos

I enjoy
View GitHub Profile
OnlyInAmerica /
Created Feb 9, 2012 — forked from rodbegbie/
Hacked version of "official" (but now unsupported) Facebook Python SDK to support OAuth 2.0
#!/usr/bin/env python
# Copyright 2010 Facebook
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
ganadist /
Last active Dec 12, 2015
simple push message script via facebook messenger
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# vim: ts=4 st=4 sts=4 expandtab syntax=python
import sys, os, time
if not 'DISPLAY' in os.environ:
os.environ['DISPLAY'] = ':2'
import gi
khris / build.gradle
Last active Dec 17, 2015
(OUTDATED) Real Android appplication project with Gradle
View build.gradle
This boilerplate code is useless at least about importing dependencies for
support libraries and Google service libraries. See
[this post](
But it is useful for 3rd party libraries that doesn't `aar` yet.
View dead_code_elimination.js
char: string,
cho: number,
jung: number,
jong: number,
eliminate: boolean
njvitto / deploy.rake
Created Apr 11, 2010 — forked from RSpace/deploy.rake
Rakefile to deploy and rollback to Heroku in two different environments (staging and production) for the same app
View deploy.rake
#Deploy and rollback on Heroku in staging and production
task :deploy_staging => ['deploy:set_staging_app', 'deploy:push', 'deploy:restart', 'deploy:tag']
task :deploy_production => ['deploy:set_production_app', 'deploy:push', 'deploy:restart', 'deploy:tag']
namespace :deploy do
task :staging_migrations => [:set_staging_app, :push, :off, :migrate, :restart, :on, :tag]
task :staging_rollback => [:set_staging_app, :off, :push_previous, :restart, :on]
matthewmccullough / git-deletealltags.bsh
Created Apr 1, 2011
Script to delete all tags both locally and remotely
View git-deletealltags.bsh
for t in `git tag`
git push origin :$t
git tag -d $t
tnine / ebs_raid.rb
Created Apr 27, 2011
Ebs raid mounting. Links to this jira issue
View ebs_raid.rb
include Opscode::Aws::Ec2
#Auto locates and attached ebs devices based on the data bag they reside in. The following test cases need to be performed
# Create multiple resources with new node: PASS
# Re-attach multiple resources after a reboot: PASS
# Create resources across 2 runs. First run creates first raid set, second run re-attaches then creates: PASS
View primer.js
!function() {
var doc = document,
htm = doc.documentElement,
lct = null, // last click target
nearest = function(elm, tag) {
while (elm && elm.nodeName != tag) {
elm = elm.parentNode;
return elm;
redism /
Created Apr 26, 2017
macOS Sierra에서 원화(₩) 대신 백 쿼트(`) 입력하기
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then
echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists"
exit -1
mkdir -p ~/Library/KeyBindings
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict
"₩" = ("insertText:", "\`");
You can’t perform that action at this time.