I hereby claim:
- I am ravicious on github.
- I am ravicious (https://keybase.io/ravicious) on keybase.
- I have a public key whose fingerprint is 0521 7C74 347E 6D6B 7882 728B FF5B 4F7D 53F3 19D9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
threads = concurrency_level.times.map { |i| | |
-> { | |
Thread.new do | |
begin | |
customers[i].buy_products([{quantity: 1, product: product}]) | |
rescue Orders::CreateOrderService::Invalid | |
fail_occurred = true | |
end | |
end | |
} |
let Person = (() = > { | |
let firstNameProperty = Symbol('firstName'), | |
lastNameProperty = Symbol('lastName'), | |
renameProperty = Symbol('rename'); | |
let rename = function(first, last) { | |
this[firstNameProperty] = first; | |
this[lastNameProperty] = last; | |
return this; | |
} |
require 'benchmark/ips' | |
DEFAULT_CHARSET = ('a'..'z').to_a + (0..9).to_a | |
def random_symbol | |
charset = ('a'..'z') | |
random_string(charset).to_sym | |
end | |
def random_string(charset = DEFAULT_CHARSET) |
; different approaches to constructing handlers in re-frame | |
; which one's better? | |
(register-handler | |
:cell-clicked | |
(fn [db _] | |
(dispatch [:change-cell-owner]) | |
(dispatch [:change-current-player]))) | |
(register-handler |
<autogen>
rule, as it makes typing uppercased words by holding the shift key a pretty terrible experience.begin | |
class_a_instance.do_something | |
class_b_instance.do_something | |
rescue A::NotEnoughMoney | |
log_error | |
cleanup | |
rescue B::NotEnoughMoney | |
just_send_email | |
end |
import ddf.minim.*; | |
Minim minim; | |
AudioPlayer song; | |
PImage korwin; | |
float counter; | |
float rotateValue; | |
void setup() | |
{ |
#!/bin/sh | |
# | |
# xfce4 | |
# | |
# Copyright (C) 1999, 2003 Olivier Fourdan ([email protected]) | |
# Copyright (C) 2011 Guido Berhoerster ([email protected]) | |
# Copyright (C) 2011 Jarno Suni ([email protected]) | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |
---- 28 sie 2013 16:38:12 ---- | |
08-28 16:38:13.247 4102 4139 I InputDispatcher: Dropped event because input dispatch is disabled. | |
08-28 16:38:13.262 4102 4139 I InputDispatcher: Dropped event because input dispatch is disabled. | |
08-28 16:38:13.277 4102 4139 I InputDispatcher: Dropped event because input dispatch is disabled. | |
08-28 16:38:13.292 4102 4139 I InputDispatcher: Dropped event because input dispatch is disabled. |