- 
Install X11.app (it's on the OS X install disk or something.) 
- 
Install dwm. You have to customizeconfig.ha bit:- Replace { MODKEY|ShiftMask, XK_q, quit, {0} },with{ MODKEY|ControlMask, XK_q, quit, {0} },to avoid colliding with the Log Out shortcut in the Apple menu.
 If you install dwmfrom Homebrew,brew install dwm, this is done automatically.
- Replace 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package speculation | |
| import java.util.concurrent.{ Callable, ExecutorService, Future } | |
| class Speculation(val executor: ExecutorService, val mayInterruptIfRunning: Boolean) { | |
| def spec[A,B](guess: => A)(f: A => B)(actual: => A): B = { | |
| val g = executor.submit(new Callable[A] { | |
| def call = guess | |
| }) | |
| val speculation = executor.submit(new Callable[B] { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | include $(GOROOT)/src/Make.inc | |
| GOFMT=gofmt -spaces=true -tabindent=false -tabwidth=4 | |
| all: | |
| $(GC) jsontest.go | |
| $(LD) -o jsontest.out jsontest.$O | |
| format: | |
| $(GOFMT) -w jsontest.go | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # | |
| # A C Parser using the Parslet library. | |
| # | |
| # ANSI C Grammar: | |
| # | |
| # * http://www.lysator.liu.se/c/ANSI-C-grammar-l.html | |
| # * http://www.lysator.liu.se/c/ANSI-C-grammar-y.html | |
| # | |
| require 'parslet' | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | define :generate_ssh_keys, :user_account => nil do | |
| username = params[:user_account] | |
| raise ":user_account should be provided." if username.nil? | |
| Chef::Log.debug("generate ssh skys for #{username}.") | |
| execute "generate ssh skys for #{username}." do | |
| user username | |
| creates "/home/#{username}/.ssh/id_rsa.pub" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | push = (element) -> (stack) -> | |
| newStack = [element].concat stack | |
| {value: element, stack: newStack} | |
| pop = (stack) -> | |
| element = stack[0] | |
| newStack = stack.slice 1 | |
| {value: element, stack: newStack} | |
| bind = (stackOperation, continuation) -> (stack) -> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # MySQL. Versions 4.1 and 5.0 are recommended. | |
| # | |
| # Install the MySQL driver: | |
| # gem install mysql2 | |
| # | |
| # And be sure to use new-style password hashing: | |
| # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| development: | |
| adapter: mysql2 | |
| encoding: utf8 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | =semantic_form_for [:admin, @dog], validate: true, html: {multipart: true} do |f| | |
| =f.inputs do | |
| =f.input :name | |
| =f.input :kennel_name | |
| =f.input :birthdate | |
| =f.input :gender, as: :radio, collection: {'Tik' => 'F', 'Hane' => 'M'} | |
| =f.input :father_id, as: :select, collection: @dogs | |
| =f.input :mother_id, as: :select, collection: @bitches | |
| =f.semantic_fields_for :pictures do |pic| | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Ant sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; Copyright (c) Rich Hickey. All rights reserved. | |
| ; The use and distribution terms for this software are covered by the | |
| ; Common Public License 1.0 (http://opensource.org/licenses/cpl.php) | |
| ; which can be found in the file CPL.TXT at the root of this distribution. | |
| ; By using this software in any fashion, you are agreeing to be bound by | |
| ; the terms of this license. | |
| ; You must not remove this notice, or any other, from this software. | |
| ;dimensions of square world | 
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.