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:
| #!/usr/bin/env bash | |
| apt-get -y update | |
| apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
| cd /tmp | |
| wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz | |
| tar -xvzf ruby-2.0.0-p0.tar.gz | |
| cd ruby-2.0.0-p0/ | |
| ./configure --prefix=/usr/local | |
| make | |
| make install |
| #!/usr/bin/env bash | |
| apt-get -y update | |
| apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
| cd /tmp | |
| wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz | |
| tar -xvzf ruby-1.9.3-p392.tar.gz | |
| cd ruby-1.9.3-p392/ | |
| ./configure --prefix=/usr/local | |
| make | |
| make install |
| # for more info: https://gist.github.com/1120938 |
sudo vi /etc/default/grub # enter password when needed
change line
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
into
Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.
| " Use the correct keys (fubar) | |
| nnoremap <Left> :echoe "Use h noob"<CR> | |
| nnoremap <Right> :echoe "Use l noob"<CR> | |
| nnoremap <Up> :echoe "Use k noob"<CR> | |
| nnoremap <Down> :echoe "Use j noob"<CR> |
| class DeviseUser < ActiveRecord::Base | |
| devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable | |
| attr_accessible :email, :name, :password, :password_confirmation, :remember_me | |
| has_many :posts, :as => :authorizable | |
| end |
| function updateShadowColorValues(value){ | |
| var eye_color = "none"; | |
| switch (true) // << compare true with case value | |
| { | |
| case (value == 0): | |
| eye_color = "cero [" + value + "]"; | |
| break; | |
| case (value > 0 && value < 21): | |
| eye_color = "white [" + value + "]"; | |
| break; |
| <%= link_to 'New brand', '#new-brand-link', {:id => "new-brand-link"} %> | |
| <div id="new-brand-form" title="Create new brand"> | |
| <%= form_for [:admin, @brand], :remote => true do |form| %> | |
| <%= form.label :name %> | |
| <%= form.text_field :name %><br /> | |
| <%= form.submit 'Save' %><br /> | |
| <% end %> | |
| </div> |