I hereby claim:
- I am jeremywrowe on github.
- I am jeremywrowe (https://keybase.io/jeremywrowe) on keybase.
- I have a public key ASBqyp6W1b4t7Yb2OUNONUPaIbFd3fTaqEQA3ZqgpyrPiwo
To claim this, I am signing this object:
plotOptions: { | |
line : { | |
dataLabels : { | |
enabled : true, | |
formatter: function() { | |
var first = this.series.data[0], | |
last = this.series.data[this.series.data.length - 1]; | |
if ((this.point.category === first.category && this.point.y === first.y) || | |
(this.point.category === last.category && this.point.y === last.y)) { | |
return this.point.y; |
{ | |
"app/adapters/*.js": { | |
"command": "adapter", | |
"template": [ | |
"import ApplicationAdapter from './application';", | |
"", | |
"export default ApplicationAdapter.extend({", | |
"", | |
"});" | |
], |
#!/usr/bin/env ruby | |
class PipeNode | |
attr_writer :result | |
def initialize(value, chain) | |
@value = value | |
@chain = chain | |
@result = :unknown | |
end |
def top_three_scores | |
[2,1,4,3].tap{|a| a.sort! }.tap{|a| a.reverse! }.tap{|a| a.select!{|s| s > 1}} # => [4,3,2] | |
end |
I hereby claim:
To claim this, I am signing this object:
{ | |
"app/adapters/*.js": { | |
"command": "adapter", | |
"template": [ | |
"import ApplicationAdapter from './application';", | |
"", | |
"export default ApplicationAdapter.extend({", | |
"", | |
"});" | |
], |
#include <stdlib.h> | |
#include <stdio.h> | |
#define too goto | |
int main( int argc, const char* argv[]) { | |
int times; | |
times = 0; | |
legit: | |
printf(" too legit,"); |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
box = 'ubuntu/trusty64' | |
hostname = 'emberclibox' | |
domain = 'example.com' | |
ip = '192.168.42.42' | |
ram = '1024' | |
$rootScript = <<SCRIPT |
If you return a promise beforeModel
, model
, and afterModel
in a route, it
will wait to resolve the promise
before transitioning into the route. This is
helpful when using loading and error substate templates.
All ember data records go into a global cache. There is not a cache per query,
#!/usr/bin/env ruby | |
require 'fileutils' | |
include FileUtils | |
template_dir = ARGV[0] or fail 'You must supply a template directory' | |
new_project_dir = ARGV[1] or fail 'You must supply a new project name' | |
template_dir = File.join(Dir.home, '.ember-cli-cache', template_dir) | |
fail "The template you are looking for does not exist '#{template_dir}'" unless File.exist? template_dir |