Skip to content

Instantly share code, notes, and snippets.


James Kusachi jkusachi

View GitHub Profile
View bootstrap.js
* Casper is a navigation utility for PhantomJS.
* Documentation:
* Repository:
* Copyright (c) 2011-2012 Nicolas Perriault
* Part of source code is Copyright Joyent, Inc. and other Node contributors.
sudo apt-get remove phantomjs
sudo unlink /usr/local/bin/phantomjs
sudo unlink /usr/local/share/phantomjs
sudo unlink /usr/bin/phantomjs
cd /usr/local/share
View tag-c.js
javascript:(function()%7Bif(typeof __tealium_tagcompanion%3D%3D%27undefined%27)%7B__tealium_tagcompanion%3Ddocument.createElement(%27SCRIPT%27)%3B__tealium_tagcompanion.type%3D%27text/javascript%27%3B__tealium_tagcompanion.src%3D%27//
jkusachi / fade-in-fade-out.js
Last active Aug 29, 2015
Javascript Image Fade In / Fade Out
View fade-in-fade-out.js
'use strict';
function scrolled(){
var scrollTop = $(window).scrollTop(),
windowBottom = scrollTop + $(window).height(),
images_in_view = $('img:in-viewport');
//for each image in view, fade out on bottom
View gulpfile-starter.js
var gulp = require('gulp'),
sass = require('gulp-sass'),
livereload = require('gulp-livereload'),
gutil = require('gulp-util'),
plumber = require('gulp-plumber'),
uglify = require('gulp-uglify');
var sources = {
styles: ['./sass/**/**/*.scss'],
scripts: ['./js/**/**/*.js']
View DWGL-5162
/* Added to Auto News Flyout */
.producthits .section{ padding-bottom: 20px; }
You can’t perform that action at this time.