Skip to content

Instantly share code, notes, and snippets.

View ruz's full-sized avatar

Ruslan Zakirov ruz

View GitHub Profile
my $tmp = $heads{$hc}{subheads};
foreach my $sc (
sort { $tmp->{$a}{sort} <=> $tmp->{$b}{sort} } keys %$tmp
) {
next unless scalar @{$tmp->{$sc}{data}};
@ruz
ruz / 0_reuse_code.js
Created December 3, 2013 12:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});