I hereby claim:
- I am emilyst on github.
- I am emilyst (https://keybase.io/emilyst) on keybase.
- I have a public key whose fingerprint is A98B 83DA 6DA9 FFA0 216E E495 E24D 7968 03FC 1BB5
To claim this, I am signing this object:
defaults write NSGlobalDomain InitialKeyRepeat 20 | |
defaults write NSGlobalDomain KeyRepeat 0 | |
defaults write com.apple.dashboard mcx-disabled true |
trait Animal { def run = "running" } | |
case object Dog extends Animal { def meow = "meow" } | |
case object Cat extends Animal { def bark = "arf" } | |
object Test extends App { | |
def make(which: String) = { | |
which match { | |
case "dog" => Dog | |
case "cat" => Cat |
$ scala | |
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true | |
Welcome to Scala version 2.11.2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_55). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> List(1,2,3).toSet() | |
warning: there was one deprecation warning; re-run with -deprecation for details | |
res0: Boolean = false |
class List | |
def initialize(array_one, array_two) | |
@array_one = array_one | |
@array_two = array_two | |
end | |
def array_sort | |
final_array = @array_one - @array_two | |
end | |
end |
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG v1 | |
hQIMA9p6yaRIKM2mAQ/+JdJEd7k9LDXrowvgqcTovAPP6yC1z9sDe/j+DhreGKqT | |
25qgFb3HXptjuMKaFTRqZt9kqjILLSffOY5xvHYR0pCc1vle+ejCkuvPDkSCUguo | |
pCbjmJypYnFc2GWtqaFDrkhASFtl7NOLvuLw+90TLQfjcE2E2p/qFMzD/5llciYO | |
sIof63Q2uaD1z2Wg016cuSof1iRlFBbNpK4TycsAkBe9cF1Yxfy1ELaZfwbowHqV | |
wvYdTq8rLkreEs7ai5Z3piHOFJIoKFUzlwF7grZtnzq3S3wDWFuaT1VbZ1pr5OqP | |
hRoFjXYXbEmKB1DFqzTx4mEmug5Bh8zS1jXrxdVI0NLtFL9xFia/IRvk+6MjBCoa | |
pZ4na9OE9+txsv5jVekVbQHQQdp/a7lrnIjcNYWA/WGtCu6WDCaa8JmKPSMVxt63 |
I hereby claim:
To claim this, I am signing this object:
######################################################################## | |
# git (depends on oh-my-zsh git plugin) | |
######################################################################## | |
# git_prompt_info() | |
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[white]%}[%{$fg_bold[magenta]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
# parse_git_dirty() | |
ZSH_THEME_GIT_PROMPT_DIRTY="" |
" 0 preamble ============================================================== {{{ | |
" | |
" There is a great organization scheme in place here. If you run the | |
" :options command in Vim, you see a list of all the options that you | |
" can set, along with their current settings and a brief description of | |
" them. The great thing about this scheme is that--for better or | |
" worse--it sets up a system which can organize all my settings. I've | |
" decided to organize everything below thus, throwing ancillary things | |
" (my own mappings, plugin settings, and so on) where it makes sense. | |
" |
mkdir frames | |
ffmpeg -i some_video_file.mov -t 10 -vf scale=480:-1 -r 24 frames/ffout%03d.png; | |
convert -delay 5 -loop 0 frames/ffout*.png output.gif |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
# add a trailing slash to /wp-admin | |
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^ - [L] |