Skip to content

Instantly share code, notes, and snippets.

@juice49
juice49 / Stylus CSS watcher
Created March 27, 2012 15:10
Recompiles CSS files when source stylus files are saved
var
fs = require('fs'),
exec = require('child_process').exec,
stylus = require('stylus');
var generateCSS = function() {
exec('stylus ./ --out ../../css/ --use nib/lib/nib', function(err, stdout, stderr) {
if(err) {
console.log(err);
}
<?php
ini_set('display_errors',1);
error_reporting(E_ALL);
require 'kml-parser.php';
$kml = file_get_contents('http://maps.google.co.uk/maps/ms?ie=UTF8&hl=en&t=h&authuser=0&msa=0&output=kml&msid=210156054229171524633.0004a10ec7664b0c32ce8');
$kmlParser = new KmlParser($kml);
@juice49
juice49 / dabblet.css
Created June 13, 2012 13:52
Untitled
.level-meter {
height:20px;
margin:0;
padding:0;
font-size:0;
color:transparent;
list-style-type:none;
}
.level-meter li {
@juice49
juice49 / dabblet.css
Created June 14, 2012 13:50
Untitled
.level-meter {
height:20px;
margin:0;
padding:0;
font-size:0;
color:transparent;
list-style-type:none;
}
.level-meter li {
/* ==========================================================================
Grid
========================================================================== */
.grid {
}
.grid > .col:first-child {
margin-left:1%;
}
@juice49
juice49 / dabblet.css
Created July 27, 2012 11:49
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@juice49
juice49 / dabblet.css
Created July 27, 2012 11:50
Untitled
body {
/*font-smoothing: subpixel-antialiased;
text-rendering: optimizeLegibility;
text-shadow: 0 0 0 rgba(0,0,0,0);
translate3d(0,0,0);*/
}
@juice49
juice49 / dabblet.css
Created August 17, 2012 15:43
Untitled
@keyframes peel-open {
0% {
width:150px;
height:150px;
}
100% {
width:300px;
height:300px;
@juice49
juice49 / dabblet.css
Created August 17, 2012 16:11 — forked from anonymous/dabblet.css
Untitled
.page {
display:table;
width: 960px;
border: solid 1px #555;
padding: 30px 70px;
overflow: auto;
}
.left,
.right {
@juice49
juice49 / dabblet.css
Created August 20, 2012 08:23
Untitled
@keyframes peel-open {
0% {
width:150px;
height:150px;
}
100% {
width:300px;
height:300px;