start new:
tmux
start new with session name:
tmux new -s myname
| var empty_list = function(selector) { | |
| return selector(undefined, undefined, true); | |
| }; | |
| var prepend = function(el, list) { | |
| return function(selector) { | |
| return selector(el, list, false); | |
| }; | |
| }; | |
| var head = function(list) { |
| App.PickADate = Ember.View.extend({ | |
| attributes: ['monthsFull', 'monthsShort', 'weekdaysFull', 'weekdaysShort', | |
| 'monthPrev', 'monthNext', 'showMonthsFull', 'showWeekdaysShort', 'today', | |
| 'clear', 'format', 'formatSubmit', 'hiddenSuffix', 'firstDay', 'monthSelector', | |
| 'yearSelector', 'dateMin', 'dateMax', 'datesDisabled', 'disablePicker'], | |
| events: ['onOpen', 'onClose', 'onSelect', 'onStart'], | |
| tagName: 'input', | |
| classNames: 'pickadate', |
The Ember router is getting number of enhancements that will greatly enhance its power, reliability, predictability, and ability to handle asynchronous loading logic (so many abilities), particularly when used in conjunction with promises, though the API is friendly enough that a deep understanding of promises is not required for the simpler use cases.
| // Because people can't seem to find the gist description, here is the source | |
| // of this code, a post found in last weeks JS Weekly, it is not my code | |
| // http://www.angularails.com/articles/creating_simple_directive_in_angular | |
| angular.module('ui-multi-gravatar', []) | |
| .directive('multiAvatar', ['md5', function (md5) { | |
| return { | |
| restrict: 'E', | |
| link:function(scope, element, attrs) { |
18 commands:
homesick cd CASTLE # Open a new shell in the root of the given castle
homesick clone URI # Clone +uri+ as a castle for homesick
homesick commit CASTLE MESSAGE # Commit the specified castle's changes
homesick destroy CASTLE # Delete all symlinks and remove the cloned repository
homesick diff CASTLE # Shows the git diff of uncommitted changes in a castle
| form i.icon.error { | |
| color: $assertive; | |
| } | |
| form input + i.icon.error { | |
| display: none; | |
| margin-left: 8px; | |
| } | |
| form.ng-submitted input.ng-invalid + i.icon.error { |
| form i.icon.error { | |
| color: $assertive; | |
| } | |
| form input + i.icon.error { | |
| display: none; | |
| margin-left: 8px; | |
| } | |
| form.ng-submitted input.ng-invalid + i.icon.error { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>items</key> | |
| <array> | |
| <dict> | |
| <key>assets</key> | |
| <array> | |
| <dict> |