This file contains hidden or 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
<?php | |
// okay.. get your own key... it's painless and free | |
// | |
$apikey = 'thiswillnotworkuntilyouputinyourownkeysillybaboon'; | |
// | |
// seriously, if you read this far... get your own key ;-) | |
// this is the trust rank example | |
$uri = 'http://api.infochimps.com/soc/net/tw/trstrank.json?'; |
This file contains hidden or 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
[MrCreosote]$ cd Downloads/pngcrush-1.7.12 | |
[MrCreosote]$ ls | |
ChangeLog.html inftrees.h pngset.c | |
Makefile new_push_process_row.c pngtest.c | |
adler32.c png.c pngtrans.c | |
cexcept.h png.h pngwio.c | |
compress.c pngconf.h pngwrite.c | |
crc32.c pngcrush.c pngwtran.c | |
crc32.h pngcrush.h pngwutil.c | |
deflate.c pngerror.c trees.c |
This file contains hidden or 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
[waldo]$ snmpwalk -v 2c -c unchained eddie.local | |
[waldo]$ snmpwalk -v 2c -c unchained eddie.local 1.3.6.1.4.1.63.501 |
This file contains hidden or 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
[waldo]$ snmpwalk -v 2c -c unchained -M /usr/share/snmp/mibs:$HOME/Desktop -m+AIRPORT-BASESTATION-3-MIB eddie.local 1.3.6.1.4.1.63.501 | |
[waldo]$ snmpwalk -v 2c -c unchained -M /usr/share/snmp/mibs:$HOME/Desktop -m+AIRPORT-BASESTATION-3-MIB eddie.local 1.3.6.1.4.1.63.501.3.4.2.1 |
This file contains hidden or 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
[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! |
This file contains hidden or 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
[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 |
This file contains hidden or 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
##################################################################### | |
# 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. # | |
# # | |
##################################################################### |
This file contains hidden or 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
<?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/> |
This file contains hidden or 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 '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' |
This file contains hidden or 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
image.setAttributeNS("http://www.w3.org/1999/xlink","href","http://bacolicious.s3.amazonaws.com/bacon.png") |