Skip to content

Instantly share code, notes, and snippets.

View byxorna's full-sized avatar
🙈

Gabe Conradi byxorna

🙈
View GitHub Profile
@byxorna
byxorna / compute cluster lifecycle asciiflow.txt
Last active July 15, 2020 18:26
ASCIIflow diagram for compute cluster lifecycle
+----------------+ +-------------+ +------------+ +---------------+
| | | | | | | |
| Provisioning +-------> Validating +--------> Available +---------> Deprecated |
| | | | | | | |
+----------------+ +---^---------+ +-----+------+ +-------+-------+
| | |
| | |
| | |
| | |
| +-------------+ | +-------v---------+
@byxorna
byxorna / keybase.md
Last active September 18, 2017 21:10

Keybase proof

I hereby claim:

  • I am byxorna on github.
  • I am gabeconradi (https://keybase.io/gabeconradi) on keybase.
  • I have a public key whose fingerprint is 29AC A6B4 A183 26CC E20C B6A5 9621 65FD F70E 7F34

To claim this, I am signing this object:

const int MAX_TAG_LENGTH = 100;
const int MAX_NUMBER_TAGS = 100;
const int MAX_URL_LENGTH = 200;
const char* url_format = "https://www.tumblr.com/tv/%s";
const char* config_file = "~/.config/xscreensaver-tumblrtv/tags";
// if no tags are loaded, grab something from here
const char* default_tags[] = {
"@computersarerad",
"trippy"
};
F...................................
Failures:
1) Config files config/config_ewr01.yaml parses without shitting the bed
Failure/Error: expect{YAML.load_file(f)}.to_not raise_error
expected no Exception, got #<Psych::SyntaxError: (config/config_ewr01.yaml): found a tab character that violate intendation while scanning a plain scalar at line 15 column 11> with backtrace:
# ./spec/config_spec.rb:8:in `block (5 levels) in <top (required)>'
# ./spec/config_spec.rb:8:in `block (4 levels) in <top (required)>'
# ./spec/config_spec.rb:8:in `block (4 levels) in <top (required)>'
I, [2015-01-05T14:41:55.107516 #10038] INFO -- : Refreshing Gem list
D, [2015-01-05T14:41:56.335522 #10038] DEBUG -- : Found PHIL config in environment: /var/www/phil/current/config/config_ewr01.yaml
I, [2015-01-05T14:41:56.335633 #10038] INFO -- : Loading config from /var/www/phil/current/config/config_ewr01.yaml
/var/www/phil/releases/20150105194146/phil.rb:36:in `rescue in block in <class:App>': Unable to load configuration for PHIL from /var/www/phil/current/config/config_ewr01.yaml: Unable to parse yaml in /var/www/phil/current/config/config_ewr01.yaml: syntax error on line 15, col 3: ` - ro liveimg vga=791 rd_NO_LUKS rd_NO_MD rd_NO_DM' (StandardError)
from /var/www/phil/releases/20150105194146/phil.rb:24:in `block in <class:App>'
from /opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/sinatra-1.3.6/lib/sinatra/base.rb:1356:in `configure'
from /var/www/phil/releases/20150105194146/phil.rb:15:in `<class:App>'
from /var/www/phil/releases/20150105194146/phil.rb:5:in `<module:Phil>'
@byxorna
byxorna / gist:bae6e4e745ce936001b6
Created October 23, 2014 19:23
confd nil dereference
~/code/go/bin/confd -backend etcd -node $ETCD_SERVER:$ETCD_PORT -confdir $CONF_DIR -debug -watch
2014-10-23T15:13:49-04:00 tumblr-MacBookPro-b8cf72.local /Users/gabe/code/go/bin/confd[11854]: WARNING Skipping confd config file.
2014-10-23T15:13:49-04:00 tumblr-MacBookPro-b8cf72.local /Users/gabe/code/go/bin/confd[11854]: NOTICE Backend set to etcd
2014-10-23T15:13:49-04:00 tumblr-MacBookPro-b8cf72.local /Users/gabe/code/go/bin/confd[11854]: NOTICE Starting confd
2014-10-23T15:13:49-04:00 tumblr-MacBookPro-b8cf72.local /Users/gabe/code/go/bin/confd[11854]: NOTICE Backend nodes set to 192.168.59.103:4001
2014-10-23T15:13:49-04:00 tumblr-MacBookPro-b8cf72.local /Users/gabe/code/go/bin/confd[11854]: DEBUG Loading template resources from confdir /Users/gabe/code/merlin/client
2014-10-23T15:13:49-04:00 tumblr-MacBookPro-b8cf72.local /Users/gabe/code/go/bin/confd[11854]: DEBUG Loading template resource from /Users/gabe/code/merlin/client/conf.d/example.toml
2014-10-23T15:13:49-04:00 tumblr-MacBookPro-b8cf72.local /