Skip to content

Instantly share code, notes, and snippets.

View doobiwan's full-sized avatar

Craig Deubler doobiwan

  • Sydney, Australia
View GitHub Profile
@xtranophilist
xtranophilist / ko-chosen.js
Last active January 11, 2019 23:42
Collection of Knockout.js custom bindings.
View ko-chosen.js
//http://stackoverflow.com/questions/13210663/how-to-order-knockout-bindings
ko.bindingHandlers.chosen = {
init: function(element, valueAccessor, allBindingsAccessor, viewModel) {
var allBindings = allBindingsAccessor();
var options = {default: 'Select one...'};
$.extend(options, allBindings.chosen)
$(element).attr('data-placeholder', options.default);
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active February 22, 2024 23:17
tmux shortcuts & cheatsheet
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname