- Show the examiners, and make them understand, clearly what you have achieved after about 400 hours of work over two semesters.
- Demonstrate to the examiners that you know very well what you have done.
- Keep the examiners happy.
Slides
# unicorn_rails -c /data/github/current/config/unicorn.rb -E production -D | |
rails_env = ENV['RAILS_ENV'] || 'production' | |
# 16 workers and 1 master | |
worker_processes (rails_env == 'production' ? 16 : 4) | |
# Load rails+github.git into the master before forking workers | |
# for super-fast worker spawn times | |
preload_app true |
(import '[clojure.asm Opcodes Type ClassWriter] | |
'[clojure.asm.commons Method GeneratorAdapter]) | |
(defn make-class [name] | |
(let [cw (ClassWriter. ClassWriter/COMPUTE_FRAMES) | |
init (Method/getMethod "void <init>()") | |
meth (Method/getMethod "int fact(int)")] | |
(.visit cw Opcodes/V1_6 Opcodes/ACC_PUBLIC (.replace name \. \/) nil "java/lang/Object" nil) | |
(doto (GeneratorAdapter. Opcodes/ACC_PUBLIC init nil nil cw) | |
(.visitCode) |
LD SP,$fffe ; $0000 Setup Stack | |
XOR A ; $0003 Zero the memory from $8000-$9FFF (VRAM) | |
LD HL,$9fff ; $0004 | |
Addr_0007: | |
LD (HL-),A ; $0007 | |
BIT 7,H ; $0008 | |
JR NZ, Addr_0007 ; $000a | |
LD HL,$ff26 ; $000c Setup Audio |
"Most of the biggest problems in software are problems of misconception."
Rich Hickey in "Hammock Driven Development" at the first Clojure Conj, in Durham, North Carolina on October 23rd, 2010.
“Jon Skeet doesn't need a debugger, he just stares down the bug until the code confesses” Steven A. Lowe
“When Jon Skeet's code fails to compile the compiler apologises.” Anonymous
Dashing widget to display the next and some subsequent Google Calendar events using the Google Calendar API v3.
I use this widget to display my shift calendar - see the screenshot below
This widget works with API v3 and requires a service account to be set up via the Google Developer's Console. Once a project is set up, enable the Calendar API. On the Credentials page create a new OpenID and download the p12 key file - set up the path to this file in the job file and grant the email address access to the relevant calendar.
📆 Jun 23-24, 2016
🌏 Web site: http://reddotrubyconf.com/ Twitter: http://twitter.com/reddotrubyconf
💁 Ping me @cheeaun on Twitter or leave a comment below if you found some awesome stuff for #rdrc2016. This gist will be updated whenever there's new stuff.
🕙 Previously, on RedDotRubyConf...