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
[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
<?xml version="1.0" encoding="UTF-8"?>
<feed gd:kind="buzz#searchFeed" xmlns="http://www.w3.org/2005/Atom" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:buzz="http://schemas.google.com/buzz/2010" xmlns:crosspost="http://purl.org/syndication/cross-posting" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:media="http://search.yahoo.com/mrss/" xmlns:poco="http://portablecontacts.net/ns/1.0" xmlns:thr="http://purl.org/syndication/thread/1.0">
<link href="https://www.googleapis.com/buzz/v1/activities/track?q=vmworld" rel="self" type="application/atom+xml"/>
<link href="http://pubsubhubbub.appspot.com/" rel="hub"/>
<title type="text">Google Buzz Track Feed for vmworld</title>
<updated>2010-08-29T19:28:55.493Z</updated>
<id>tag:google.com,2010:buzz-feed:public:posted:105250506097979753968</id>
<generator uri="http://www.google.com/buzz">Google Buzz</generator>
</feed>