This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/*:: | |
type Client = Object; | |
type Channel = string; | |
*/ | |
const channels/*: Map<Channel, Set<Client>> */ = new Map; | |
const clients/*: Map<Client, Set<Channel>> */ = new WeakMap; | |
const join = (name, client) => { | |
if (!channels.has(name)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.CollectionRoute = Ember.Route.extend({ | |
model: function (params) { | |
return this.get('store').find('collection', params.collection_id); | |
}, | |
serialize: function(record, options){ | |
console.log(record, options) | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -d64 -XstartOnFirstThread -jar SamyGO-ChanEdit-v54cd-MacOSX_Oracle_x64_cocoa_by_loggn.de.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Split the menu to top level items and the children of the | |
* current active parent. | |
* @see http://helperclass.blogspot.de/2011/11/creating-separate-sub-menu-in-wordpress.html | |
*/ | |
class SplitMenu_Walker_Nav_Menu extends Walker_Nav_Menu { | |
private $menu = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
ant () { command ant -logger org.apache.tools.ant.listener.AnsiColorLogger "$@" | sed 's/2;//g' ; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Grid settings | |
$grid-gutter-width: 8px !default; | |
$grid-columns: 12 !default; | |
$breakpoints: (xs: 320, sm: 768, md: 1024, lg: 1440); | |
%clearfix { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$columns: 12; | |
%grid { | |
float:left; | |
margin:0 4px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$columns: 12; | |
%grid { | |
float:left; | |
margin:0 4px; | |
} |
NewerOlder