Skip to content

Instantly share code, notes, and snippets.

View tenphi's full-sized avatar
💭
Try Numl.Design

Andrey Yamanov tenphi

💭
Try Numl.Design
View GitHub Profile
@ebrehault
ebrehault / scenario1.js
Created February 4, 2014 15:19
a sample CasperJS test generated using Resurrectio
//==============================================================================
// Casper generated Tue Feb 04 2014 16:17:45 GMT+0100 (CET)
//==============================================================================
var x = require('casper').selectXPath;
casper.options.viewportSize = {width: 1855, height: 993};
casper.test.begin('Resurrectio test', function(test) {
casper.start('http://en.wikipedia.org/wiki/Main_Page');
casper.waitForSelector(x("//*[contains(text(), \'Welcome\')]"),
function success() {
@mollerse
mollerse / gulpfile-express.js
Last active March 28, 2021 20:07
Gulpfile for livereload + static server
var gulp = require('gulp'),
sass = require('gulp-sass'),
browserify = require('gulp-browserify'),
concat = require('gulp-concat'),
embedlr = require('gulp-embedlr'),
refresh = require('gulp-livereload'),
lrserver = require('tiny-lr')(),
express = require('express'),
livereload = require('connect-livereload')
livereloadport = 35729,
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: