See umd
.
# A minimalistic CoffeeScript event emitter. | |
# Jannis R <[email protected]> | |
# https://gist.github.com/derhuerst/5433f5ee3342a1de6d81 | |
class EventEmitter | |
constructor: -> | |
@_events = {} |
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
// The shortest JavaScript hex color generator. | |
// Jannis R <[email protected]> | |
// https://gist.github.com/derhuerst/9142b15c78f3bfdbddfe | |
function randomHexColor(){ | |
var n = 6, s = '#'; | |
while(n--){ | |
s += (Math.random() * 16 | 0).toString(16); // random char from 0 to f |
#!/bin/bash | |
# This script takes any (high resolution) video file as input and converts it to WebM (VP8 & Vorbis) and MP4 (H264 & AAC) for HTML5 <video>. For each format, it creates a high quality (`-hq`) and a low quality (`-lq`) version. | |
# ffmpeg has to be installed, see http://docs.sublimevideo.net/encode-videos-for-the-web for more instructions. | |
# Usage: videoToWeb.sh <inputfile> | |
# This is heavily inspired by | |
# - https://github.com/kornl/video-conversion/blob/master/convert_video_for_html_5.sh | |
# - https://github.com/mickro/video2html5/blob/master/video2html5.sh | |
# - http://diveintohtml5.info/video.html#webm-cli |
The Z shell (zsh) is a Unix shell [...]. Zsh can be thought of as an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh.
Read more about ZSH at An Introduction to the Z Shell.
Choose one of the following options.
Do is a fictive machine language that reads, writes and jumps on a tape, working like a Turing machine.
A Do programm is a particular serial alignment of 0
and 1
bits, stored on a so-called tape. These values are grouped into sections called buts, each consisting of 2 command bits and 8 address bits. The address part of a but is the binary representaion of a position on the tape. Additionally, a Do machine has single bit storage, comparable to a register of a CPU; The Do programm can read into the storage and write from it onto the tape.
Do provides the following 4 commands:
command | address | effect |
---|
APIs x creativity x Twitter => awesomeness!
Please create an Issue in the transport-apis
repo instead. 🙏
This way of doing inheritance is taken from JS Objects: Deconstruct
ion.
Also check the slides of The four layers of JavaScript OOP.