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:
| ActiveRecord cheat sheet / EXAMPLES | |
| INSTALL | |
| ======= | |
| $ gem install activerecord | |
| in GEMFILE: gem ‘activerecord’ | |
| REQUIRE | |
| ======= | |
| require ‘active_record’ |
| # DOSBox is a great emulator to run old DOS games | |
| # and applications. | |
| # This configuration has been tested on Ubuntu 11.04 with DOSBox 0.74 | |
| # but# it should work on other distros too. | |
| # This code snippet runs on a fresh install of DOSBox | |
| # since it appends lines to DOSBox configuration file. | |
You could have postgre installed on localhost with password (or without user or password seted after instalation) but if we are developing we really don't need password, so configuring postgre server without password for all your rails project is usefull.
The MIT License (MIT)
Copyright (c) 2014 David Underwood
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
| /* | |
| https://github.com/stubbornella/oocss/blob/master/core/spacing/space.css | |
| p,m = padding,margin | |
| a,t,r,b,l,h,v = all,top,right,bottom,left,horizontal,vertical | |
| s,m,l,n = small(5px),medium(10px),large(20px),none(0px) | |
| */ | |
| .ptn, .pvn, .pan { padding-top: 0px !important; } | |
| .pts, .pvs, .pas { padding-top: 5px !important; } |
| # This is just a few sed commands to pull out turbolinks if you don't want them. | |
| # To use it, just pass this as the template to your rails new command, like this: | |
| # $ rails new myapp -m /path/to/no-turbo.rb | |
| run "sed '/turbo/d' < Gemfile > Gemfile.tmp && mv Gemfile.tmp Gemfile" | |
| run "sed '/turbo/d' < app/assets/javascripts/application.js > app/assets/javascripts/application.tmp && mv app/assets/javascripts/application.tmp app/assets/javascripts/application.js" | |
| run "sed 's/, \"data-turbolinks-track\" => true//' < app/views/layouts/application.html.erb > app/views/layouts/application.html.tmp && mv app/views/layouts/application.html.tmp app/views/layouts/application.html.erb" |
| #!/usr/bin/env bash | |
| # bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-10-04 | |
| # | |
| # _______________| noise : ambient Brown noise generator (cf. white noise). | |
| # | |
| # Usage: noise [minutes=59] [band-pass freq center=1786] [wave] | |
| # ^minutes can be any positive integer. | |
| # Command "noise 1" will display peak-level meter. | |
| # | |
| # Dependencies: play (from sox package) |
| Basic Requirements: | |
| Computer with wired and wireless connection | |
| FFmpeg installation: http://www.ffmpeg.org/ | |
| GoPro Hero 3+: http://gopro.com/ | |
| RTMP server e.g. FMS (http://www.adobe.com/products/adobe-media-server-family.html) or CDN ingest point | |
| Overview: | |
| GoPro Hero3 cameras produce HLS streams which are consumed by control apps and their removeable monitor. |