Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
var svg = document.getElementById("cups");
var s = Snap(svg);
var simpleCup = Snap.select('#simple-cup');
var fancyCup = Snap.select('#fancy-cup');
var simpleCupPoints = simpleCup.node.getAttribute('d');
var fancyCupPoints = fancyCup.node.getAttribute('d');
var toFancy = function(){
simpleCup.animate({ d: fancyCupPoints }, 1000, mina.backout, toSimple);
}
var toSimple = function(){
{
"name": "diff",
"version": "1.0.0",
"description": "",
"main": "diff.js",
"scripts": {
"test": "node test"
},
"keywords": [],
"author": "",
var page = require('webpage').create();
var system = require('system');
var setExpected = system.args[2] == '-set-expected';
var imagesFolder = setExpected ? 'expected' : 'new';
var urlsAndBreakpoints = system.args[1];
var urls = urlsAndBreakpoints.split('-')[0].split(',');
var viewports = urlsAndBreakpoints.split('-')[1].split(',');
var viewportsObjects = [];
var fs = require('fs');
var readline = require('readline');
var imageDiff = require('image-diff');
var exec = require('child_process').exec;
var createRefrenceImages = false;
var urls = [
'https://jsbin.com/yutoho',
'https://jsbin.com/toruge'
@ahmedam55
ahmedam55 / index.html
Created June 26, 2016 22:56
parrallax
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
<script src="scripts.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style>
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Submlie]
@="Open with Sublime"
"Icon"="C:\\Program Files (x86)\\Sublime Text 3\\sublime_text.exe"
[HKEY_CLASSES_ROOT\*\shell\Submlie\command]
@="C:\\Program Files (x86)\\Sublime Text 3\\sublime_text.exe \"%1\""
red{}

##Employee

  • for an empty checkbox ###Employee
    • for a checked checkbox
  • for a checked checkbox
##Employee
- [ ] for an empty checkbox
- [x] for a checked checkbox