Skip to content

Instantly share code, notes, and snippets.

View JayCuthrell's full-sized avatar
☁️
GOTO 10

Jay Cuthrell JayCuthrell

☁️
GOTO 10
View GitHub Profile
# grab a copy
[bradybunch]$ git clone git://github.com/petewarden/geodict.git
Initialized empty Git repository in /Users/marsha/Marsha/marsha/geodict/.git/
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 21 (delta 4), reused 0 (delta 0)
Receiving objects: 100% (21/21), 31.21 MiB | 1.28 MiB/s, done.
Resolving deltas: 100% (4/4), done.
<?xml version="1.0" encoding="utf-8"?><contentlocation xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns="http://wherein.yahooapis.com/v1/schema" xml:lang="en">
<processingTime>0.000921</processingTime>
<version> build 091119</version>
<documentLength>11</documentLength>
<document>
<administrativeScope>
<woeId>2360875</woeId>
<type>Town</type>
<name><![CDATA[Beaufort, NC, US]]></name>
<centroid>
[dudewheresmycar]$ curl http://wherein.yahooapis.com/v1/document \
> -d documentContent=Beaufort,NC \
> -d documentType=text/plain \
> -d appid=yOuNeedToGetYourOwn4pp1Dcuz
# CommitBot
# An interface for audibly broadcasting commit messages
# Tested on OSX
# Created by the friendly team at Hunch.com (sharing is caring!)
#
# Installation
# 1. replace USERNAME, PASSWORD, and HOSTNAME below
# 2. ...
# 3. profit!
image.setAttributeNS("http://www.w3.org/1999/xlink","href","http://bacolicious.s3.amazonaws.com/bacon.png")
require 'open-uri'
require 'digest/md5'
# Get your external IP address from IP Chicken to send to the Quova service request URL below
ip_address = (open("http://ipchicken.com") {|f|f.read.scan(/([0-9]{1,3}\.){3}[0-9]{1,3}/);$~})
# Your API credentials from http://developer.quova.com/apps/mykeys
API_KEY = 'yougottagetyourownforthispartrighthere'
SHARED_SECRET = 'yespleasegetyourown'
<?xml version="1.0" encoding="UTF-8"?>
<ipinfo>
<ip_address>209.118.159.2</ip_address>
<ip_type>Mapped</ip_type>
<Network>
<organization>xo communications</organization>
<carrier>xo communications</carrier>
<asn>2828</asn>
<connection_type/>
<line_speed/>
#####################################################################
# UCS_VMware_IMPI.ps1 v0.01 By: Justin Guidroz #
# #
# This script will connect to UCS Manager, collect IPMI information #
# for the provisioned blades, and update the appropriate IPMI #
# information on the ESX hosts. The script can also be run to #
# update the IPMI information if a service profile is moved to a #
# different blade. #
# #
#####################################################################
[macbookpro]$ cd Projects/
[macbookpro]$ git clone git://github.com/ivey/rss-to-notifo.git
[macbookpro]$ cd rss-to-notifo/
[macbookpro]$ sudo gem update --system
Password:
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.7
Updating RubyGems to 1.3.7
Installing RubyGems 1.3.7
[relic]# cloudkick-config
Welcome to the Cloudkick configuration utility. This will securely
use your Cloudkick username and password to generate an API key
for the Cloudkick Agent.
Username: cloudlover
Password: *******************
Writing configuration to /etc/cloudkick.conf
All done!