(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
| # that enables you to choose a character from a menu of options. If you are on Lion | |
| # try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
| # for input. | |
| # | |
| # It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
| # it's a nightmare to deal with in Atom if you're running vim mode, | |
| # as it means you cannot press and hold h/j/k/l to move through your file. You have | |
| # to repeatedly press the keys to navigate. |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # update linux and install dev tools | |
| sudo yum -y update | |
| sudo yum -y groupinstall "Development Tools" | |
| sudo yum -y install git libcurl libcurl-devel openssl-devel openssl | |
| # jansson library, installing from epel release library | |
| cd ~/ | |
| wget http://dl.fedoraproject.org/pub/epel/6/x86_64/jansson-2.6-1.el6.x86_64.rpm | |
| sudo yum -y install jansson-2.6-1.el6.x86_64.rpm |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
This configuration is no longer updated
| 2.0.0p247 :002 > u = User.create!(name:"test") | |
| (0.4ms) BEGIN | |
| SQL (44.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 25 Nov 2013 19:35:06 UTC +00:00], ["name", "test"], ["updated_at", Mon, 25 Nov 2013 19:35:06 UTC +00:00]] | |
| (0.8ms) COMMIT | |
| => #<User id: 1, name: "test", created_at: "2013-11-25 19:35:06", updated_at: "2013-11-25 19:35:06"> | |
| 2.0.0p247 :003 > u.friends | |
| User Load (2.2ms) SELECT "users".* FROM "users" INNER JOIN "friendships" ON "users"."id" = "friendships"."friend_id" WHERE "friendships"."user_id" = $1 [["user_id", 1]] | |
| => #<ActiveRecord::Associations::CollectionProxy []> |
| #!/bin/sh | |
| set -e | |
| COMPILED_BY="Marius Gedminas <marius@gedmin.as>" | |
| FEATURES= | |
| FEATURES="$FEATURES --with-features=huge" # yum, features | |
| FEATURES="$FEATURES --enable-multibyte" # vim is *crippled* without this! | |
| # (BTW 'big' implies this) | |
| FEATURES="$FEATURES --enable-pythoninterp" # most of my plugins use this | |
| FEATURES="$FEATURES --enable-rubyinterp" # Command-T wants this |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.