As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
(function(exports) { | |
var mod = function (databaseName, saveInterval) { | |
var self; | |
saveInterval = saveInterval || 2000; | |
databaseName = databaseName || 'unnamed'; | |
this.hasChanged = false; | |
this.store = {}; |
/* | |
Tired of the same old bootstrapped site? | |
Miss the trendy, hip Geocities look? | |
This bookmarklet will fix that in a click! | |
Derived from Bootstrap Geocities theme at http://code.divshot.com/geo-bootstrap/ | |
Simply add new bookmark, edit url, and add bottom code in place of url. Whenevver you miss Geocities, click it. | |
*/ |
/* | |
Tired of the same old bootstrapped site? | |
Miss the trendy, hip Geocities look? | |
This bookmarklet will fix that in a click! | |
Derived from Bootstrap Geocities theme at http://code.divshot.com/geo-bootstrap/ | |
Simply add new bookmark, edit url, and add bottom code in place of url. Whenevver you miss Geocities, click it. | |
*/ |
var gulp = require('gulp'); | |
var plugins = require('gulp-load-plugins')(); | |
plugins.connect = require('gulp-connect'); | |
plugins.jshint = require('gulp-jshint'); | |
var port = 4000; | |
gulp.task('styles', function() { | |
return plugins.rubySass('sass/main.scss', { style: 'compressed' }) | |
.pipe(plugins.autoprefixer('last 15 version')) |
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!
\
/* | |
* Example Usage: | |
* | |
* $.get('http://cors.io/sprunge.us/ILRc', function(data) { | |
* window.xmlData = data; | |
* window.domParser = new DOMParser(); | |
* window.parsedXML = domParser.parseFromString(window.xmlData, 'text/xml'); | |
* window.jsonFeed = rss2json(parsedXML); | |
* }); | |
* |
/* | |
* By Krish Dholakiya (itskrish.co, git.io/krish) | |
* MIT Licensed. | |
* | |
* GET('http://example.com/index.html', 'html') => returns DOM object | |
* GET('http://example.com/api.json', 'json') => returns parsed JSON object | |
* | |
* TODO: add more types (XML, etc) | |
* CDN url: https://cdn.rawgit.com/krrishd/f17247fcd6ff2335ca5f/raw//b5c2f93d8d3246dabe07cf9b6e73d71631f907b2 | |
*/ |
/* | |
* By Krish Dholakiya (itskrish.co, git.io/krish) | |
* MIT Licensed. | |
* | |
* GET('http://example.com/index.html', function(response) { | |
* var responseFromServer = response; | |
* }); | |
* POST('http://example.com', {'keyOne': 'valueOne', 'keyTwo': 'valueTwo'}, function(response) { | |
* var responseFromServer = response; | |
* }); |
Undo/Redo is one of those features of an application that you almost always need to have if you are building serious GUI tools for people to do work.
The best way to look at undo/redo is two stacks of operations the user has performed: