Skip to content

Instantly share code, notes, and snippets.

View mattkanwisher's full-sized avatar

Matthew Campbell mattkanwisher

View GitHub Profile
Resources marked with > are used, have been used, or are actively advocated in the threads. This applies for everything in the [Necessities] section.
[Necessities]
Hiragana & Katakana: http://www.realkana.com/
Kanji: http://kanjidamage.com/
Japanese IME: http://www.google.com/intl/ja/ime/
Anki Flashcards: http://ankisrs.net/
Genki (↓Bottom↓)
Tae Kim Japanese: http://www.guidetojapanese.org/learn/grammar
@jedi4ever
jedi4ever / README.md
Last active January 2, 2016 14:18
Notes on auto crashlytics and cordova integration

After adding crashlytics code (crashlytics.sh) & Patching the xcodeproject file (crashlytics.rb)

  • It will work in xcode but not in cordova anymore.

  • This is because xcoder writes the .xcodeproj file in a format that node-xcode doesn't understand.

  • you need to 'beautify/sanitize' the file again.

    • brew install xcproj
    • and run xcproj -P <path to your xcodeproj file> touch
  • now you are ready to go in cordova

@jfairbairn
jfairbairn / gist:1648593
Created January 20, 2012 17:35
An eventmachine-based test server forking child processes to do the work, connecting to a UNIX domain socket on which the parent process is listening.
require 'eventmachine'
CRLF = "\r\n"
module Child
attr_writer :child_number
include EM::P::LineText2
def post_init
set_line_mode
end
@kylelemons
kylelemons / piping.go
Last active May 31, 2024 09:07 — forked from dagoof/piping.go
piping exec.Cmd in golang (example sorts all regular files under a directory by their extension)
package main
import (
"bytes"
"exec"
"log"
"os"
)
// Pipeline strings together the given exec.Cmd commands in a similar fashion
@hofmeister
hofmeister / couchdb-install.sh
Created June 4, 2011 13:10
Ubuntu 10.4 install couchdb 1.0.2
#!/bin/bash
#install dependencies
sudo apt-get build-dep couchdb
sudo apt-get install xulrunner-1.9.2-dev libicu-dev libcurl4-gnutls-dev libtool
#configure xulrunner
sudo echo "/usr/lib/xulrunner-1.9.2.17
/usr/lib/xulrunner-devel-1.9.2.17" > /etc/ld.so.conf.d/xulrunner.conf
# get couchdb 1.0.2
wget "http://mirrors.rackhosting.com/apache//couchdb/1.0.2/apache-couchdb-1.0.2.tar.gz"
tar -xzvf apache-couchdb-1.0.2.tar.gz
@jnewland
jnewland / .caprc
Created August 21, 2010 17:44
toss this in your ~/.caprc, then `cap cowboy staging deploy`. Use carefully.
namespace :cowboy do
desc 'Deploy without SCM'
task :default do
deploy_stage = fetch(:stage, 'none')
set :repository, "."
set :deploy_via, :copy
set :scm, :none
set :stage, deploy_stage
set :cowboy_deploy, true
set :copy_exclude, [".git/*", ".svn/*", "log/*", "vendor/bundle/*"]