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
[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!
[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
[waldo]$ snmpwalk -v 2c -c unchained eddie.local
[waldo]$ snmpwalk -v 2c -c unchained eddie.local 1.3.6.1.4.1.63.501
[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
<?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?';
# yum install php53-pear php53 php53-cli php53-common \
> php53-devel php53-gd php53-mbstring php53-mcrypt \
> php53-mysql php53-pdo php53-soap php53-xml php53-xmlrpc \
> php53-bcmath php53-pecl-apc php53-pecl-memcache
[...]
Complete!
# capture all web traffic for 5 seconds without saving to a file
$ sudo yconalyzer -p 80 -t 5
46 Packets received
0 Packets dropped
Results of monitoring port 80 for 22.817000 seconds
Start time: Tue Sep 7 09:56:51 2010
End time: Tue Sep 7 09:57:12 2010
Total Connections (terminated by FIN): 11
Avg Client Data: 429 bytes
# Verify your environment
$ cat /etc/issue.net
CentOS release 5.5 (Final)
$ uname -a
Linux porksoda 2.6.18.8 #1 SMP Tue Nov 10 16:12:12 UTC 2009 i686 i686 i386 GNU/Linux
$ gcc -v
Using built-in specs.
cd /path/to/a/web/visible/directory/
git clone git://github.com/mgkimsal/zfkit.git
cd zfkit/library
tar -xzf Zend.tgz
// Searching on the term "vmworld"
https://www.googleapis.com/buzz/v1/activities/track?q=vmworld
// Searching on the terms "ReadWriteWeb" and "ReadWriteHack"
https://www.googleapis.com/buzz/v1/activities/track?q=ReadWriteWeb+OR+ReadWriteHack