Skip to content

Instantly share code, notes, and snippets.

View kazupon's full-sized avatar
🦋
Focusing vue-i18n and Intlify

kazuya kawaguchi kazupon

🦋
Focusing vue-i18n and Intlify
View GitHub Profile
@kazupon
kazupon / base.jade
Created March 9, 2012 17:20
jade template inheritance
!!! 5
html
head
h1 My Site
block scripts
script(src="/jquery.js")
body
block header
header
p some header content
@kazupon
kazupon / cocproxy.nginx.conf
Created February 23, 2012 05:43 — forked from hotchpotch/cocproxy.nginx.conf
cocproxy for nginx
#!nginx -p . -c cocproxy.nginx.conf
error_log /dev/stderr debug;
daemon off;
events {
worker_connections 48;
}
http {
LESS_FILE = ./style.less
CSS_FILE = ./style.css
CSS_COMPRESS_FILE = ./style.min.css
LESS = lessc
build:
${LESS} ${LESS_FILE} | sed -e s/\'__\{/\{/g -e s/\}__\'/\}/g > ${CSS_FILE}
${LESS} --compress ${LESS_FILE} | sed -e s/\'__\{/\{/g -e s/\}__\'/\}/g > ${CSS_COMPRESS_FILE}
clean:
var vows = require('vows');
var assert = require('assert');
assert.greater(5, 4);
assert.lesser(4, 5);
assert.isDefined(null);
assert.isDefined(1);
assert.isDefined({});