This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var clicks = 0; | |
$(document).ready(function (e) { | |
// arrange cards | |
for (var i = 0; i < 6; i++) { | |
var t = 374 - 14 * i; | |
var w = 280 - 10 * i; | |
var z = -1 * i; | |
$('#card-set li').eq(i).find('.card').css({ 'top': t + 'px', 'background-color': '', 'width': w + 'px', 'z-index': 5 + z }); |






This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command: | |
terminalizer config Generate a config file in the current directory | |
terminalizer generate <recordingFile> Generate a web player for a recording file | |
terminalizer play <recordingFile> Play a recording file on your terminal | |
terminalizer record <recordingFile> Record your terminal and create a recording file | |
terminalizer render <recordingFile> Render a recording file as an animated gif image | |
terminalizer share <recordingFile> Upload a recording file and get a link for an online player |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: | |
$ licensed # Brings up an option to start a questionnaire or choose from a list of available licenses | |
$ licensed <license-name> # Brings prompt to enter your name | |
$ licensed <license-name> <your-full-name> [--year | -y] <year> | |
$ licensed [--list | -l] | |
Options: | |
--year, -y <year> Manually enter year the license is in effect | |
--list, -l List all available licenses | |
--help Show this screen | |
--version Show version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Async/Await requirements: Latest Chrome/FF browser or Babel: https://babeljs.io/docs/plugins/transform-async-to-generator/ | |
// Fetch requirements: Latest Chrome/FF browser or Github fetch polyfill: https://github.com/github/fetch | |
// async function | |
async function fetchAsync () { | |
// await response of fetch call | |
let response = await fetch('https://api.github.com'); | |
// only proceed once promise is resolved | |
let data = await response.json(); | |
// only proceed once second promise is resolved |