.box-shadow () { -webkit-box-shadow: @arguments }
content: "hello @{var}"; // replaced with value of @var
| #! /bin/sh | |
| CUR_DIR=$PWD | |
| PID_FILE="$CUR_DIR/node.pid" | |
| if [ $1 = "start" ]; then | |
| if [ -e $PID_FILE ]; then | |
| echo "Node.js is already running." | |
| else | |
| echo "Starting Node Server" |
| // Based on http://bit.ly/215MBZ | |
| function FailureDetector(ws) { | |
| // ws stands for window size. | |
| // How many heartbeat intervals we keep track of. | |
| this.ws = ws || 100; | |
| this.window = []; | |
| this.last = null; | |
| } | |
| exports.FailureDetector = FailureDetector; |
| /* | |
| A simple new-line delimited JSON protocol with upgrades. | |
| Receiving Usage: | |
| protocol = require('./frame-protocol'); | |
| // parsing data | |
| parser = protocol.Parser(); |
| 13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF | |
| | FUCKIN PUSSIES | |
| 13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS | |
| 13:16 <luite> | hello | |
| 13:16 <ChongLi> | somebody has a mental illness! | |
| 13:16 <merijn> | Wow...I suddenly see the error of my ways and feel | |
| | compelled to write Node.js! | |
| 13:16 <genisage> | hi | |
| 13:16 <luite> | you might be pleased to learn that you can compile | |
| | haskell to javascript now |
| # OSX for Hackers (Mavericks/Yosemite) | |
| # | |
| # Source: https://gist.github.com/brandonb927/3195465 | |
| #!/bin/sh | |
| # Some things taken from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Ask for the administrator password upfront |
| look at love | |
| how it tangles | |
| with the one fallen in love | |
| look at spirit | |
| how it fuses with earth | |
| giving it new life | |
| why are you so busy | |
| with this or that or good or bad |
| {-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
| import Control.Monad.IO.Class | |
| import Control.Monad.Trans.Class | |
| import Prelude hiding (log) | |
| -------------------------------------------------------------------------------- | |
| -- The API for cloud files. | |
| class Monad m => MonadCloud m where | |
| saveFile :: Path -> Bytes -> m () |