Skip to content

Instantly share code, notes, and snippets.

@Denisiums
Denisiums / Stylus openFonts connecting example
Created November 13, 2014 08:05
Stylus openFonts connecting example
/* fonts */
connectFont($FFName, $fontName, $type)
$pathToFonts = ('../fonts/' + $fontName + '/' + $type)
$fontFullName = ($fontName + '-' + $type)
$fontSVGFullName = ($fontName + $type)
@font-face
font-family: $FFName;
src: url($pathToFonts/$fontFullName.eot);
src: local('☺'),
#!/bin/bash
# Settings
DATE=`/bin/date "+%Y-%m-%d_%H-%M"` #Datestamp
DBHOST="127.0.0.1"
BACKUPDIR="/home/dunice/work/mongobackup"
DBNAME="webunch"
DOWEEKLY=7 #Day of week for backup (now - sunday)
DOMONTHLY="01" #Day of month for backup (now - 01)
# USERNAME="admin" #