- get a really good chair
- get a standing desk
- get a standing desk mat
- do a stand up in the morning by yourself (what am i going to focus on today)
- do a debrief at the end of the day (what did i do)
- stop working at the end of the day and relax
- stop working and have breaks for meals
- write everything down
- turn off or uninstall email/slack from your phone
- take leave
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
DONE_PATTERN="${1:-"webpack: Compiled successfully."}" | |
PROGRESS_PATTERN="${3:-"webpack: Compiling..."}" | |
ERROR_PATTERN="${3:-"ERROR"}" | |
HAS_ERROR=0 | |
main() { | |
tee >(update_status) |
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
DONE_PATTERN="${1:-"bundle is now VALID"}" | |
# | |
PROGRESS_PATTERN="${3:-"bundle is now INVALID"}" | |
# | |
ERROR_PATTERN="${3:-"ERROR"}" | |
main() { | |
tee >(update_status) | |
} |
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
defmodule Madlib do | |
@default_io :erlang.group_leader | |
def main(_, device \\ @default_io) do | |
noun = prompt device, "noun" | |
verb = prompt device, "verb" | |
adjective = prompt device, "adjective" | |
adverb = prompt device, "adverb" |
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
#!/usr/bin/env ruby | |
all = `git rev-list master --reverse`.split | |
if File.exist?('.git-step') | |
index = all.index File.read('.git-step').chomp | |
index += 1 if index | |
end | |
index ||= 0 |
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
### Keybase proof | |
I hereby claim: | |
* I am markryall on github. | |
* I am markryall (https://keybase.io/markryall) on keybase. | |
* I have a public key whose fingerprint is 6319 D784 5B16 05AB F99A E716 F2AC FEFE F621 8F13 | |
To claim this, I am signing this object: |
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
#!/usr/bin/env ruby | |
require 'erb' | |
FromTo = Struct.new :from, :to | |
template = ERB.new <<EOF, nil, '%>' | |
<html> | |
<head></head> | |
<body> |
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
diff --git a/Gemfile b/Gemfile | |
index f322577..9bb0f33 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -4,4 +4,4 @@ gemspec | |
platforms(:ruby) do | |
gem 'therubyracer', '>= 0.8.0.pre2' | |
-end | |
+end |
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
mephistopheles:Jukebox markryall$ songbirdsh | |
songbirdsh > search ned atomic god | |
22681: ned's atomic dustbin god fodder 1 kill your television | |
22682: ned's atomic dustbin god fodder 2 less than useful | |
22683: ned's atomic dustbin god fodder 3 selfish | |
22684: ned's atomic dustbin god fodder 4 grey cell green | |
22685: ned's atomic dustbin god fodder 5 cut up | |
22686: ned's atomic dustbin god fodder 6 throwing things | |
22687: ned's atomic dustbin god fodder 7 capital letters |
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
require 'rubygems' | |
require 'sequel' | |
require 'cgi' | |
require 'splat' | |
home = File.expand_path '~' | |
profiles = "#{home}/Library/Application Support/Songbird2/Profiles" | |
profile = "e6rg7czm.default" | |
db_path = "#{profiles}/#{profile}/db/[email protected]" |
NewerOlder