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
require_relative 'monster' | |
require_relative 'vampire' | |
blargh = Monster.new("big", "blue", "short") | |
puts "BLARGH" | |
blargh.describe | |
puts "Hey Blargh, what are your horns like again?" | |
puts "My horns are #{blargh.horns}" |
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
function Cat(colour, size) { | |
this.colour = colour; | |
this.size = size; | |
} | |
Cat.prototype.meow = function() { | |
console.log("Meow"); | |
}; |
- Watch the Derek Wyatt videos in order (at least the “Novice” ones for now): http://derekwyatt.org/vim/tutorials/
- Read “The Problem with Vim”, just to warn you: http://haldean.org/vim-problems/
- Read the first part of this Stack Overflow answer: http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118
- Read “How to Switch to Vim” by David Bryant Copeland (entirely): http://naildrivin5.com/blog/2013/04/24/how-to-switch-to-vim.html
- Read “Coming Home with Vim” by Steve Losh (entirely): http://stevelosh.com/blog/2010/09/coming-home-to-vim/
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
/*! | |
* jQuery Tiny Pub/Sub - v0.X - 11/18/2010 | |
* http://benalman.com/ | |
* | |
* Original Copyright (c) 2010 "Cowboy" Ben Alman | |
* Dual licensed under the MIT and GPL licenses. | |
* http://benalman.com/about/license/ | |
* | |
* Made awesome by Rick Waldron | |
* |
I hereby claim:
- I am donburks on github.
- I am donburks (https://keybase.io/donburks) on keybase.
- I have a public key whose fingerprint is E398 59BA 39D3 F084 1E32 8437 CF75 66FF 6D87 003B
To claim this, I am signing this object:
Lecture by vaz
Assets are additional resources like images, stylesheets, scripts, fonts, etc. that are loaded when an HTML page is loaded in the browser.
In order to load assets, the browser must make additional HTTP requests for
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
add(2)(3); | |
// 5 | |
function add(x) { | |
return function(y) { | |
return x + y; | |
}; | |
} |
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
function g() { | |
let a='Noel'; | |
let b='Yuletide'; | |
let c='Santa Claus'; | |
let d='Rudolph'; | |
let e='Snowflake'; | |
let f='Occasion'; | |
let g='North Pole'; | |
let h='Christmas Tree'; | |
let i='Joy'; |
OlderNewer