Skip to content

Instantly share code, notes, and snippets.

@emckean
emckean / gist:1335322
Created November 2, 2011 23:43
clean wsj glossary list 11/2
-DI
"Made whole" doctrine
+DI
1031 exchange
1035 exchange
1040 EZ
1098 form
1099
1099-B
1099-B Form
@zeke
zeke / git_workflow.sh
Created November 9, 2011 20:44
git_workflow.sh
# (Assuming master is your main branch)
# To create a local branch
git checkout -b experiment
# To push a local branch to remote
git push origin experiment
# To check out an *existing* remote branch
# (In earlier versions, you needed an explicit --track option, but now it's the default when branching off a remote branch)
@emckean
emckean / gist:1355916
Created November 10, 2011 19:37
canonical forms
401(k) 401(k) plan
403(b) 403(b) plan
American depositary receipt American Depositary Receipt
American Institute Of Certified Public Accountants American Institute of Certified Public Accountants
ARB arb
automated bond system Automated Bond System
BA Ba
Board Of Directors board of directors
Bollinger bands Bollinger Bands
book runner bookrunner
@sr3d
sr3d / gist:2038610
Created March 14, 2012 18:46
autobuild.rb
# This file is to rebuild the dist env automatically so that you don't have to
# rerun ant deploy all the time
#
# To run, install watchr gem
#
# gem install watchr
#
# Then simply run
#
# watchr autobuild.rb
@ceedubs
ceedubs / FizzBuzz.scala
Created October 17, 2012 11:44
Scala FizzBuzz
object FizzBuzz {
val defaultRules = List(
Rule(3, "fizz"),
Rule(5, "buzz")
)
def main(args: Array[String]) = {
fizzBuzz() foreach(println)
}
@willf
willf / fizzbuzz.rb
Created November 2, 2012 15:43
World's best Ruby FizzBuzz
class FizzBuzz
private
@@pairs = [
[3, "fizz"],
[5, "buzz"]
]
def self.strings_for(n)
@stew
stew / fizzbuzz.scala
Created November 14, 2012 20:55
fizzbuzz in the scala type system
package fizzbuzz
// This is church encoding of natural numbers
sealed trait Num {
def toInt : Int
override def toString = toInt.toString
}
final case object Z extends Num {
def toInt : Int = 0
@cheald
cheald / config.ru
Last active December 15, 2015 09:59
require 'rack'
require 'erb'
def normalize(token)
token.strip.upcase.gsub(/[^\w]/, '')
end
def nurble_token(token)
NOUNS[normalize token] && token || NURBLE
end
# coding=UTF-8
import nltk
from nltk.corpus import brown
# This is a fast and simple noun phrase extractor (based on NLTK)
# Feel free to use it, just keep a link back to this post
# http://thetokenizer.com/2013/05/09/efficient-way-to-extract-the-main-topics-of-a-sentence/
# Create by Shlomi Babluki
# May, 2013
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active November 14, 2024 15:40
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\