Install XCode if you havn't done so yet. App Store > Search > XCode.
Open up a terminal (Terminal.app, search with Spotlight). Install homebrew by entering this;
sudo apt-get install build-essential autoconf libtool gcc g++ make cmake git-core wget p7zip-full libncurses5-dev zlib1g-dev libbz2-dev | |
sudo apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient-dev libmysql++-dev libreadline6-dev | |
sudo apt-get install libboost-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-iostreams-dev | |
# for 4.3.4 and 6.x branches ONLY | |
sudo apt-get install libzmq-dev |
do (window, jQuery) -> | |
unless jQuery.fn.exists | |
unless callback? or typeof callback isnt 'function' | |
callback = => @length > 0 | |
callback.apply this | |
return |
header { | |
padding: 5% 0 15% 0; | |
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0d…0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=),url(/assets/prism/backdrops/start--neighborhood-89d121b1afac9494fb7ff287fd0b315767d02d345aa61fe754eb13f1e2237823.jpg); | |
background-image: -webkit-linear-gradient(top,rgba(45,144,211,0.85),rgba(45,144,211,0.85) 25%,rgba(155,89,182,0.8)),url(/assets/prism/backdrops/start--neighborhood-89d121b1afac9494fb7ff287fd0b315767d02d345aa61fe754eb13f1e2237823.jpg); | |
background-image: -moz-linear-gradient(top,rgba(45,144,211,0.85),rgba(45,144,211,0.85) 25%,rgba(155,89,182,0.8)),url(/assets/prism/backdrops/start--neighborhood-89d121b1afac9494fb7ff287fd0b315767d02d345aa61fe754eb13f1e2237823.jpg); | |
background-image: -o-linear-gradient(top,rgba(45,144,211,0.85),rgba(45,144,211,0.85) 25%,rgba(155,89,182,0.8)),url(/assets/prism/backdrops/start--neighborhood-89d121b1afac9494fb7ff287fd0b315767d02d345aa61fe754eb13f |
class Lost | |
@numbers: -> | |
console.log '4 8 15 16 23 42' | |
do Lost.numbers | |
# Lost.numbers() |
a is not b | |
# a === !b << baad mkay? | |
a isnt b | |
# a !== b << mmh'guud! | |
unless a is not b | |
# a === !b << bara dumt, ok? |
I hereby claim:
To claim this, I am signing this object:
class Person | |
constructor: (@name) -> | |
goodGreet: => | |
"Hello, my name is #{@name}" | |
badGreet: -> | |
"I'm #{@name} and this won't work!" |
class Vessel | |
constructor: (@type, @name) -> | |
class Schooner extends Vessel | |
constructor: (@name) -> | |
super(@name, @constructor.name) |
class Vessel | |
constructor: (@type, @name) -> | |
# Create a new ship! | |
ship = new Vessel('Schooner', 'Wasa') | |
console.debug ship.type #>> Schooner |