start new:
tmux
start new with session name:
tmux new -s myname
var BASE64_MARKER = ';base64,'; | |
function convertDataURIToBinary(dataURI) { | |
var base64Index = dataURI.indexOf(BASE64_MARKER) + BASE64_MARKER.length; | |
var base64 = dataURI.substring(base64Index); | |
var raw = window.atob(base64); | |
var rawLength = raw.length; | |
var array = new Uint8Array(new ArrayBuffer(rawLength)); | |
for(i = 0; i < rawLength; i++) { |
!function(Object, getPropertyDescriptor, getPropertyNames){ | |
// (C) WebReflection - Mit Style License | |
if (!(getPropertyDescriptor in Object)) { | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
Object[getPropertyDescriptor] = function getPropertyDescriptor(o, name) { | |
var proto = o, descriptor; | |
while (proto && !( | |
descriptor = getOwnPropertyDescriptor(proto, name)) | |
) proto = proto.__proto__; | |
return descriptor; |
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |
// O2 Minipops rhythm box (c) DSP Synthesizers 2016 | |
// Free for non commercial use | |
// http://janostman.wordpress.com | |
#include <avr/interrupt.h> | |
#include <avr/io.h> | |
#include <avr/pgmspace.h> |
void function(global){ | |
if ('DataView' in global && 'ArrayBuffer' in global) { | |
return; | |
} | |
var hide = (function(){ | |
// check if we're in ES5 | |
if (typeof Object.getOwnPropertyNames === 'function' && !('prototype' in Object.getOwnPropertyNames)) { | |
var hidden = { enumerable: false }; |
#!groovy | |
MAIL_FROM = '[email protected]' | |
MAIL_TO = '[email protected]' | |
GITHUB_PROTOCOL = 'https' | |
GITHUB_USER_NAME = 'my-github-user' | |
GITHUB_USER_EMAIL = '[email protected]' | |
GITHUB_REPO = 'github.com/my-user/my-repository' | |
GITHUB_PROJECT_URL = "${GITHUB_PROTOCOL}://${GITHUB_REPO}" |
#include <eternity.hpp> | |
ScriptSystem::ScriptSystem() { | |
m_platform = 0; | |
m_isolate = 0; | |
m_scriptableCount = 0; | |
m_scriptablePoolSize = 0; | |
m_scriptables = 0; | |
} |
Script::Script() { | |
} | |
Script::~Script() { | |
} | |
void Script::Initialize(char* src) { | |
v8::Isolate* isolate = v8::Isolate::GetCurrent(); | |