Skip to content

Instantly share code, notes, and snippets.

@roberocity
roberocity / gist:3750808
Created September 19, 2012 17:03 — forked from madrobby/gist:3733875
Fade out elements on WebKit and Firefox and IE 9+
<style>
#mask_demo {
background: #d0d0d0;
width: 80%;
padding: 10px;
position: relative;
}
/* this may not be a better way to do it, but it is a different way.
it still used the svg for the background on browsers that don't
@roberocity
roberocity / node_debian_init.sh
Created July 14, 2012 23:28 — forked from peterhost/node_debian_init.sh
Daemon init script for node.js based app/server (DEBIAN/UBUNTU)
#!/bin/sh
# ------------------------------------------------------------------------------
# SOME INFOS : fairly standard (debian) init script.
# Note that node doesn't create a PID file (hence --make-pidfile)
# has to be run in the background (hence --background)
# and NOT as root (hence --chuid)
#
# MORE INFOS : INIT SCRIPT http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
# INIT-INFO RULES http://wiki.debian.org/LSBInitScripts
# INSTALL/REMOVE http://www.debian-administration.org/articles/28