Skip to content

Instantly share code, notes, and snippets.

View prateekjadhwani's full-sized avatar

Prateek Jadhwani prateekjadhwani

View GitHub Profile

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@prateekjadhwani
prateekjadhwani / animations.css
Created February 24, 2016 20:47
SVG2CSS : output files
@keyframes dropball {
0% {
bottom: 200px;
}
2% {
bottom: 198.88807678222656px;
left: 2.000002145767212px;
}
4% {
bottom: 197.5545196533203px;
@prateekjadhwani
prateekjadhwani / animations.css
Created February 26, 2016 14:37
SVG2CSS : output files
@keyframes tubelightanimation {
0% {
background: white;
box-shadow: 0px 10px 50px 20px white;
}
5% {
background: black;
box-shadow: none;
}
8% {
@prateekjadhwani
prateekjadhwani / animations.css
Created February 26, 2016 17:19
SVG2CSS : output files
@keyframes dropball {
0% {
bottom: 200px;
}
2% {
bottom: 198.89046144485474px;
}
4% {
bottom: 197.5577425956726px;
}
@prateekjadhwani
prateekjadhwani / animations.css
Last active April 12, 2016 19:38
SVG2CSS : output files
@keyframes dropball {
0% {
bottom: 200px;
left: 0px;
}
2% {
bottom: 198.89046144485474px;
left: 8.000030517578125px;
}
4% {
@prateekjadhwani
prateekjadhwani / main.js
Created March 22, 2016 19:51
Difference between bind(), apply() and call()
var a = 10; // A Global Variable
function p(z) {
// a normal function that
// accepts a variable z as a parameter
console.log(this.a, z);
}
// normal call
// this.a is 10 because GLOBAL variable
// and z = 1
@prateekjadhwani
prateekjadhwani / README.md
Last active April 28, 2016 14:44
SVG2CSS : output files
@prateekjadhwani
prateekjadhwani / README.md
Last active April 20, 2016 17:50
WuxiaWorld Simplify

#WuxiaWorld Simplyfy

It removes all the distractions from wuxiaworld and shows only the main chapter that you are reading.

Installation

####Step 1 Create a new bookmark in your browser with any name and with any url.

####Step 2

LMNTL Simplifier

It removes all the distractions from LMNTL website and shows only the main chapter that you are reading.

Installation

####Step 1 Create a new bookmark in your browser with any name and with any url.

####Step 2