Skip to content

Instantly share code, notes, and snippets.

View naveedkakal's full-sized avatar

Naveed Kakal naveedkakal

View GitHub Profile
@naveedkakal
naveedkakal / ruby-fun-2017-01-03.rb
Last active January 5, 2017 20:17 — forked from pricees/ruby-fun-2017-01-03.rb
2017-01-03 Lightning Talk
# Credit: Ted Price, Lightning talk - 1-05-2017
# `warn`
# Use to write to stderr
puts "Hello stdout!"
warn "Hello stderr!"
# ruby __FILE__ 1> stdout.txt 2> stderr.txt
####################################################################
@naveedkakal
naveedkakal / 0_reuse_code.js
Created December 13, 2016 03:38
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console