(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.
(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.
#!/usr/bin/env bash | |
# download and install xquartz https://xquartz.macosforge.org | |
# so deps | |
brew install cairo memcached | |
ubuntu
12.04
14.04
Reference http://stackoverflow.com/a/18490935/2037928
Login as root
Install needed packages
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
Find it here: https://github.com/bitemyapp/learnhaskell
use URI; | |
use URI::URL; | |
use Web::Scraper; | |
use LWP::Simple; | |
my $pp = "http://pragprog.com/magazines"; | |
my $ok = "epub"; | |
my $mags = scraper { | |
process "span.link", "mags[]" => scraper { |
One of my favorite past times is to look at the notebooks of famous scientists. Da Vinci's notebook is well known, but there plenty others. Worshipping Da Vinci like no other, I bought a Think/Create/Record journal, used it mostly to keep jot down random thoughts and take notes. This was great in the beginning, but the conformity of lines drove me nuts. Only moleskines made blank notebooks, so I had to buy one.
At the same time I started a freelance project. The project itself is irrelevant, but suffice to say it was very complex and spanned several months. It seemed like a perfect opportunity to use the moleskine. Looking back, all my entries fell under few categories:
;; turn line numbers off by default | |
(global-linum-mode -1) | |
(defun goto-line-with-feedback (&optional line) | |
"Show line numbers temporarily, while prompting for the line number input" | |
(interactive "P") | |
(if line | |
(goto-line line) | |
(unwind-protect | |
(progn |
# uber-hacky dynamic collection names for MongoID models: | |
# | |
# class MyModel | |
# include Mongoid::PrefixableDocument # ...instead of Mongoid::Document | |
# include Mongoid::Timestamps | |
# | |
# field :foobar, :type => Integer | |
# | |
# def my_method; 123; end | |
# |
Some brief instructions on how to use Sprocket 2 in Rails to get CoffeeScript | |
powered JS and SASS powered CSS with YUI compression all via the magic of rack. | |
This stuff will be native in Rails 3.1 and the layout of the files on the | |
filesystem will be different but this guide will get you working with it | |
while we wait for all that to finalize. | |
Ignore the number prefixes on each file. This is just to ensure proper order in the Gist. | |
It's based on eric1234 gist https://gist.github.com/911003. ijust made it 3.1 compliant in terms of convention |
http://gmoeck.github.com/2011/03/10/sproutcore-mvc-vs-rails-mvc.html | |
https://github.com/suvajitgupta/Tasks | |
http://gtmetrix.com/ | |
http://benchmarkjs.com/ | |
http://www.charlesproxy.com/ | |
http://mislav.uniqpath.com/2011/03/click-hijack/ | |
http://bonsaiden.github.com/JavaScript-Garden/#intro | |
https://github.com/sstephenson/execjs | |
https://github.com/hagenburger/lemonade | |
http://paul.donnelly.org/2009/07/08/yql-and-jsonp-x/ |