I hereby claim:
- I am kvirani on github.
- I am kvirani (https://keybase.io/kvirani) on keybase.
- I have a public key whose fingerprint is D4FE 1025 DFAA 2640 4D7A FAB9 F1CA A5A7 B0A0 BAF8
To claim this, I am signing this object:
require "socket" | |
require_relative 'hangman/hangman' | |
@channel = "#bitmaker" | |
@greeting_prefix = "privmsg #bitmaker :" | |
@guess_prefix = "guess" | |
def connect_to_server | |
server = "chat.freenode.net" | |
port = "6667" |
-- Modified version of http://www.commandprompt.com/ppbook/booktown.sql | |
-- For learning SQL on Heroku Postgres | |
-- Editted by Khurram Virani (@viranik) @lighthouse_labs | |
CREATE TABLE "books" ( | |
"id" integer NOT NULL, | |
"title" text NOT NULL, | |
"author_id" integer, | |
"subject_id" integer, | |
Constraint "books_id_pkey" Primary Key ("id") |
I hereby claim:
To claim this, I am signing this object:
Take control of your development environment by using more of the keyboard and less of the mouse/trackpad. As you write your code, use (Mac and Sublime) keyboard commands/shortcuts to, well... kill it!
Mastering your text editor and Operating System (OS) will make you a more efficient and impressive developer.
Don't just read about these. If any of these are foreign / unfamiliar to you, be sure to practice them and make a mental note to use them when possible.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
{ | |
"cmd" : ["bash", "--login", "-c", "bundle exec shotgun -p $port -o $ip $args"], | |
"info" : "Sinatra started. App running at $url", | |
"env" : {}, | |
"working_dir" : "$project_path", | |
"selector" : "source.rb" | |
} |
function average(list) { | |
var sum = 0; | |
for (var num in list) { | |
sum += list[num]; | |
} | |
return sum / list.length; | |
} | |
console.log(average([20, 21, 220, 54])); |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |