Instantly share code, notes, and snippets.

View layer3-branch-corp-cloud.yml
interface_data:
spine01:
- { name: lo, ipv4: 10.0.0.1/32 }
- { name: eth1, ipv4: 10.10.5.1/30, ipv6: "fdb5:4b4e:4574:c6bb:0:0:0:1/64" }
- { name: eth5, ipv4: 172.16.2.1/30, ipv6: "fd42:e5a1:ef5d:6030:0:0:0:1/64" }
leaf01:
- { name: lo, ipv4: 10.0.0.11/32 }
- { name: eth1, ipv4: 10.10.10.1/30, ipv6: "fdbc:bda:8486:7118:0:0:0:1/64" }
- { name: eth5, ipv4: 10.10.5.2/30, ipv6: "fdb5:4b4e:4574:c6bb:0:0:0:2/64" }
spine02:
View CSR1000V-config
Router>en
Router#config t
Router(config)#service password-encryption
Router(config)#hostname cs01
cs01(config)#ip domain-name lab.example.com
cs01(config)#username admin privilege 15 secret student
cs01(config)#interface GigabitEthernet1
cs01(config-if)#ip address 172.25.250.195 255.255.255.0
cs01(config-if)#no shut
cs01(config-if)#exit
View publishers.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 14 columns, instead of 9.
title,endpoint,updated_at,created_at,active,city,icon,visible,state,description,tags,event_display_endpoint,events_are_polygons,sms_credentials_id
311 Service Requests,https://citygram-services-nyc.herokuapp.com/nyc-311,2014-10-02 00:42:57.746339,2014-10-02 00:42:57.746339,TRUE,NYC,nyc/311.png,TRUE,,Data from NYC's 311 Service,{new-york},,,2
Vehicle Collisions,https://citygram-services-nyc.herokuapp.com/nyc-collisions,2014-10-02 00:42:57.746339,2014-10-02 00:42:57.746339,TRUE,NYC,car-accident.png,TRUE,,NYPD's Vision Zero Collision Data,{new-york},,,2
Restaurant Inspections,https://citygram-services-nyc.herokuapp.com/nyc-restaurant-inspection-results,,,TRUE,NYC,nyc/restaurant-inspections.png,TRUE,,Restaurant inspection ratings,{new-york},,,2
Potholes,https://citygram-services-nyc.herokuapp.com/nyc-311-potholes,,,TRUE,NYC,nyc/potholes.png,TRUE,,NYC 311 Pothole Notifications,{new-york},,,2
Street Lights,https://citygram-services-nyc.herokuapp.com/nyc-311-street-lights,,,TRUE,NYC,nyc/broken_street_light.png,TRUE,
View keybase.md

Keybase proof

I hereby claim:

  • I am bigfleet on github.
  • I am bigfleet (https://keybase.io/bigfleet) on keybase.
  • I have a public key ASDxzoSKHC6A3VSVcOWqzPNEm6buMLiMADWASiE00oEpqgo

To claim this, I am signing this object:

View console.log
cfc/ansible-101/provisioning ☣> bin/discourse
SSH password:
PLAY [localhost] ***************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [include] *****************************************************************
included: /Users/bigfleet/cfc/ansible-101/roles/discourse/tasks/provision-azure.yml for localhost
View ssmtp.conf
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# See the ssmtp.conf(5) man page for a more verbose explanation of the
# available options.
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster
View tulsa.rb
Publisher.create! do |pub|
pub.title = "Fire Dispatches"
pub.endpoint = "https://citygram-services.herokuapp.com/tulsa-fire-dispatch"
pub.active = true
pub.visible = false
pub.city = "Tulsa"
pub.icon = "fire-calls.png"
pub.state = "OK"
pub.description = "Recent Tulsa Fire Department Dispatches."
pub.tags = ["tulsa"]
View example.rb
Publisher.create! do |pub|
pub.title = "Tree Plantings"
pub.endpoint = "https://location-changed-5314.herokuapp.com/tree-planting"
pub.active = false
pub.visible = false
pub.city = "Tulsa"
pub.icon = "leaf-collection.png"
pub.state = "OK"
pub.description = "List of trees planted along SF streets by Department of Public Works."
pub.tags = ["tulsa"]
View console.log
src/GBE/master > vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
vagrant@precise64:~$
View command.log
jvanfleet@ip-10-4-2-118:~/bamboo/data/xml-data/build-dir/TT-RSPEC-JOB1 $ jruby -S bundle exec rake spec
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/bin/jruby -I/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/rspec-core-3.2.1/lib:/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/rspec-support-3.2.2/lib /home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/rspec-core-3.2.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/simplecov-0.9.2/lib/simplecov.rb:31 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
I, [2015-05-22T13:52:38.821000 #4094] INFO -- : Not reporting to Code Climate because ENV['CODECLIMATE_REPO_TOKEN'] is not set.
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/simplecov-html-0.9.0/lib
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/simplecov-0.9.2/lib
/home/jvanfleet/bamboo/