I hereby claim:
- I am riethmayer on github.
- I am riethmayer (https://keybase.io/riethmayer) on keybase.
- I have a public key whose fingerprint is 5E69 7D83 26D7 359D 4EC3 FBFB 5FDA E3C5 D0EB 5795
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
http://tech.pristine.io/android-unit-test-idioms/ http://touk.pl/blog/pl/2014/02/26/mock-retrofit-using-dagger-and-mockito/ https://software.intel.com/en-us/videos/test-driven-development-and-android-testing-by-christopher-perry-and-marcelo-bay-area-android (http://uds.ak.o.brightcove.com/740838651001/740838651001_3482875046001_Android-Fest-Chris-and-Marcello-4-12-14.mp4) https://www.reddit.com/r/androiddev/comments/2mebor/testing_retrofit_observable_with_robolectric/ http://www.slideshare.net/godfreynolan/android-tdd-41783654 http://code.tutsplus.com/tutorials/dependency-injection-with-dagger-2-on-android-- cms-23345 http://code.tutsplus.com/tutorials/quick-tip-using-butter-knife-to-inject-views-on-android--cms-23542 http://square.github.io/ (author of retrofit, dagger)
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.Rmd\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.rmd\\'" . markdown-mode)) | |
(add-hook 'markdown-mode-hook 'turn-on-outline-minor-mode) | |
(defun rmarkdown-new-chunk (name) | |
"Insert a new R chunk." | |
(interactive "sChunk name: ") | |
(insert "\n```{r " name "}\n") | |
(save-excursion |
SELECT | |
pid, | |
datname, | |
query, | |
EXTRACT(EPOCH FROM (NOW() - query_start)) AS duration | |
FROM pg_stat_activity | |
WHERE state='active' | |
ORDER BY query_start ASC; |
#!/usr/bin/env bash | |
# Usage: bb devenv setup | |
# Summary: installs homebrew and all dependencies to run bonsubox projects | |
set -e | |
function abort { | |
echo "$1" | |
exit 1 | |
} |
Hi there, | |
trecker.com is looking for office space in Berlin. | |
when: 01.01.2014 | |
what: | |
- 2 rooms for 3-4 people (approx. 15-20m2), or one big room for 6-8 | |
- access to a conference room | |
- access to kitchen | |
where: Mitte/Prenzelberg/Kreuzberg would be ideal |
ruby-1.9.2-p290 :043 > SecureRandom.hex(8) | |
=> "4935b273ef3ff39b" | |
ruby-1.9.2-p290 :044 > token = _ | |
=> "4935b273ef3ff39b" | |
ruby-1.9.2-p290 :045 > Cart.create(:token => token) | |
SQL (0.7ms) INSERT INTO "carts" ("created_at", "token", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 17 Oct 2011 15:06:10 UTC +00:00], ["token", "4935b273ef3ff39b"], ["updated_at", Mon, 17 Oct 2011 15:06:10 UTC +00:00]] | |
=> #<Cart id: 4, token: "4935b273ef3ff39b", created_at: "2011-10-17 15:06:10", updated_at: "2011-10-17 15:06:10"> | |
ruby-1.9.2-p290 :046 > Cart.where(:token => token) | |
Cart Load (0.3ms) SELECT "carts".* FROM "carts" WHERE "carts"."token" = '4935b273ef3ff39b' | |
=> [] |