This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Created: 2010/12/05 | |
// Updated: 2018/09/12 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
// |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
license: gpl-3.0 |
/*! | |
* Play GIF | |
* | |
* by Jesse Young | |
* | |
* a jQuery plugin to play GIF animations on mouseover (or any other event). | |
* | |
* Examples: | |
* $('img[src$=".gif"]').playGIF(); // default is mouseover | |
* $('img[src$=".gif"]').playGIF({on:'click'}); // play animation on click |
$base-font-size: 16px; | |
$base-line-height: 1.5; | |
// this value may vary for each font | |
// unitless value relative to 1em | |
$cap-height: 0.68; | |
@mixin baseline($font-size, $scale: 2) { |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
// 1. Save gist as fixsvpplylinks.js | |
// 2. Install node.js (http://nodejs.org/) | |
// 3. 'npm install async request' | |
// 4. 'node fixsvpplylinks.js /path/to/wants.json' | |
// 5. Wait. | |
// 6. Don't worry about those EventEmitter warnings! | |
// 7. Done. | |
// 8. If there's any issues then give me a tweet (@artcommacode) |