This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp = require 'gulp' | |
gutil = require 'gulp-util' | |
sass = require 'gulp-sass' | |
prefix = require 'gulp-autoprefixer' | |
coffee = require 'gulp-coffee' | |
coffeelint = require 'gulp-coffeelint' | |
concat = require 'gulp-concat' | |
plumber = require 'gulp-plumber' | |
changed = require 'gulp-changed' | |
uglify = require 'gulp-uglify' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp = require 'gulp' | |
coffee = require 'gulp-coffee' | |
util = require 'gulp-util' | |
less = require 'gulp-less' | |
watch = require 'gulp-watch' | |
livereload = require 'gulp-livereload' | |
watchify = require 'watchify' | |
browserify = require 'browserify' | |
coffeeify = require 'coffeeify' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
<link type="text/css" rel="stylesheet" href="flare-style.css"/> | |
<style type="text/css"> | |
path.arc { | |
cursor: move; | |
fill: #fff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jQuery Detach+ - v0.1pre - 5/18/2011 | |
* http://benalman.com/ | |
* | |
* Copyright (c) 2011 "Cowboy" Ben Alman | |
* Dual licensed under the MIT and GPL licenses. | |
* http://benalman.com/about/license/ | |
*/ | |
(function($){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ListenWithMe = (function() { | |
// Add your own config here | |
var LASTFM_API_KEY = ""; | |
var LASTFM_USERNAME = ""; | |
// Element to inject the widget into | |
var $playerWrapper = document.getElementById('spotify-player-wrapper'); | |
return { | |
init: init | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
< | |
%3C | |
< | |
< | |
< | |
< | |
< | |
< | |
< | |
< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var runner = require('child_process'); | |
runner.exec( | |
'php -r \'include("settings.php"); print json_encode($databases);\'', | |
function (err, stdout, stderr) { | |
var connection = JSON.parse(stdout).default.default; | |
console.log(connection.database); | |
// result botdb | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
DIR=$(dirname "$(readlink -f "$0")") | |
FILES="$DIR"/files/ | |
mkdir -p "$FILES"/ | |
if [ ! -f "$FILES"/sandbox-ca.crt ]; then | |
echo '########################################' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Critical CSS Finder w/media query support and output to console | |
by Katie Harron - https://github.com/pibby - https://pibby.com | |
forked from james-Ballyhoo (https://gist.github.com/james-Ballyhoo/04761ed2a5778c505527) who forked from PaulKinlan (https://gist.github.com/PaulKinlan/6284142) | |
I don't know why this isn't keeping my 2 space indents :( | |
*/ | |
(function() { | |
function findCriticalCSS(w, d) { | |
// Pseudo classes formatting | |
var formatPseudo = /([^\s,\:\(])\:\:?(?!not)[a-zA-Z\-]{1,}(?:\(.*?\))?/g; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// Do not use this library. This is just a fun example to prove a | |
// point. | |
var Bloop = window.Bloop = {}; | |
var mountId = 0; | |
function newMountId() { | |
return mountId++; | |
} |
OlderNewer