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
curl \ | |
-H "Accept: application/json" \ | |
--data '{"build_parameters": {"MASTER_BRANCH": "dev"}}' \ | |
--request POST \ | |
"https://circleci.com/api/v1/project/secondrotation/g3/tree/dev\?circle-token\=$CIRCLECI_TOKEN" |
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
--- | |
driver: | |
name: vagrant | |
box: redhat | |
box_url: http://10.10.13.178/package.box | |
driver_plugin: vagrant | |
driver_config: | |
require_chef_omnibus: true | |
provisioner: |
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
[2014-10-27T20:30:52+00:00] INFO: Chef-client pid: 2085 | |
Creating a new client identity for default-centos-65 using the validator key. | |
[2014-10-27T20:30:55+00:00] INFO: Client key /tmp/kitchen/client.pem is not present - registering | |
[2014-10-27T20:30:55+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/nodes/default-centos-65 | |
[2014-10-27T20:30:55+00:00] INFO: Setting the run_list to ["role[master_cobbler]"] from CLI options | |
[2014-10-27T20:30:55+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/roles/master_cobbler | |
================================================================================ | |
Error expanding the run_list: | |
================================================================================ |
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 feoh on github. | |
* I am feoh (https://keybase.io/feoh) on keybase. | |
* I have a public key whose fingerprint is 3582 AE9F 12CE 295B DAF5 45ED 17A5 F53F 1168 1446 | |
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
[09:40][admin@Chris-Patti:~]$ brew rm shell.fm | |
Error: No such keg: /usr/local/Cellar/shell.fm | |
[09:40][admin@Chris-Patti:~]$ brew rm libao | |
Uninstalling /usr/local/Cellar/libao/1.0.0... | |
[09:40][admin@Chris-Patti:~]$ brew rm mad | |
Uninstalling /usr/local/Cellar/mad/0.15.1b... | |
[09:40][admin@Chris-Patti:~]$ brew rm pkg-config | |
Uninstalling /usr/local/Cellar/pkg-config/0.25... | |
[09:40][admin@Chris-Patti:~]$ brew install shell.fm |
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
use std::io; | |
fn main() { | |
println!("Guess the number!"); | |
println!("Please input your guess."); | |
let mut guess = String::new(); | |
io::stdin.read_line(&mut guess) | |
.ok() |
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 | |
# | |
# This little ditty will print a list of who you follow, ranked | |
# by tweet count. I used the awesome t gem ( https://github.com/sferik/t ) | |
# to generate the raw data like so: t timeline --csv | tee tweets.csv | |
require 'csv' | |
tweet_count = Hash.new(0) | |
CSV.foreach("tweets.csv") do |tweet| | |
# format: 421057153240408064,2014-01-08 23:13:42 +0000,zoebread,WWJW what would jesus wear |
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
import toga | |
def build(app): | |
"""Blah""" | |
def button_handler(widget): | |
"""Blah """ | |
entries.insert(None, entry.value) |
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
# Fluff. This module is fluff. Random crap for testing. | |
def odd_generator(): | |
"""Generate a series of odd numbers starting with 1.""" | |
num = 1 | |
while True: | |
num = num + 2 | |
yield num | |
if __name__ == "__main__": |
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 python | |
import pprint | |
import argparse | |
from os.path import join | |
from os import rename | |
from glob import glob | |
def parse_args(): |
OlderNewer