This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| import Control.Monad.Reader | |
| hello :: Reader String String | |
| hello = do | |
| name <- ask | |
| return ("hello, " ++ name ++ "!") | |
| bye :: Reader String String | |
| bye = do | |
| name <- ask |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
This Gist has been moved to https://github.com/lbgists/rain.sh.
| {-# LANGUAGE TemplateHaskell #-} | |
| import Control.Lens | |
| data Point = Point { | |
| _x :: Double, | |
| _y :: Double | |
| } deriving (Show) | |
| data Mario = Mario { _location :: Point } deriving (Show) |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
$ cat app/index.html | pbcopyGo to http://html2jade.com/ and paste clipboard contents
Or try http://html2jade.aaron-powell.com/ instead if offline
Convert to jade and copy result
The trick to setting up a Sails.js app with a remote Postgres database hosted on Heroku is all about SSL. Here's how you do it:
Note: This is for Sails v0.9.x, the stable release at the time of this writing.
In Sails v0.10.x, the
config/adapters.jsfile has been replaced withconfig/connections.js
| #!/usr/bin/env python | |
| # -*- coding: UTF-8 -*- | |
| import math | |
| import pylab | |
| import random | |
| from matplotlib import mlab |
CoffeeScript 1.7 is shaping up to be a pretty kick-ass release with significant improvements. Here are the ones I'm most excited about, in order of my own excitement.
Years of being wished for, finally granted!