This file contains 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
# totally useful - echo the command and '| sudo sh' | |
http://www.linuxjournal.com/content/running-complex-commands-sudo | |
# from irc: | |
To inline a package, but include it at the end of the file: | |
Package->import; | |
<some stuff> |
This file contains 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
Things I need: | |
* URL grabber that pulls all URLs from all services I use, categorizes them | |
* Feed aggregator for all services: goog reader, twitter, last.fm, blogs | |
* Distributed password service (maybe GPG'd doc in github?) | |
* Automagic backup & conversion for all talks |
This file contains 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
from the interwebs: | |
http://forums.macrumors.com/showpost.php?s=645db4878059e6c26838e3b7bd062eb6&p=2669623&postcount=4 | |
Create a folder with the contents you want on your ISO. | |
Open Disk Utility and use the New Image from Folder menu item to create an image. Ensure it is uncompressed and use the CD/DVD master option. | |
In my experience this creates HFS+ masters which are no good in Windows. |
This file contains 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
thinking about using these as a replication stream: | |
* standard types: bool, int32, float, double, and string | |
* don't use 'required' when defining fields | |
* Each field has a unique tag, 1-15 requiring one less bit than higher nums | |
** suggested that repeated values are particularly good candidates for this optimization | |
* C++ generated code reference: http://code.google.com/apis/protocolbuffers/docs/reference/cpp-generated.html | |
* Add GOOGLE_PROTOBUF_VERIFY_VERSION macro as best practice in main() |
This file contains 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
PLAN: | |
Set up pg_replicator as a reader of the 'transaction' log | |
phase 1: output to text | |
phase 2: use libpq to apply statements to pg | |
phase 3: output as pg protocol (?) | |
http://www.learningdrizzle.com/?p=53 |
This file contains 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
selena@lulu:~ #508 17:34 :) whois 74.117.116.67 | |
OrgName: Parked.com, Ltd. | |
OrgID: PARKE-38 | |
Address: PO Box 10314 | |
City: Grand Cayman | |
StateProv: CAYMAN ISLANDS | |
PostalCode: KY1-1003 | |
Country: KY |
This file contains 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
my ($attr) = @$token[2]; | |
next unless exists $attr->{rel}; | |
chomp $attr->{rel}; | |
my @rels = split ' ', $attr->{rel}; | |
for my $rel (@rels) { | |
if( $rel && $rel eq "hub") { | |
This file contains 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
What I did to get virtualenv going | |
http://iamzed.com/2009/05/07/a-primer-on-virtualenv/ | |
http://www.logilab.org/blogentry/aleufroy | |
sudo easy_install virtualenv | |
# this is for my new project directory | |
virtualenv --no-site-packages --python=/usr/local/python2.7/bin/python myproject |
This file contains 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
#!/usr/bin/python | |
# easy_install boto | |
# created .boto config file | |
# read: http://thurloat.com/2010/06/07/google-storage-and-app-engine/ | |
# https://gist.github.com/425480 | |
# https://code.google.com/apis/storage/docs/gspythonlibrary.html | |
# Google storage video from cloudstock: http://www.cloudstockevent.com/10/sessions/Introduction-to-Google-s-Cloud-Platform-Technologies |
This file contains 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
http://forums.oracle.com/forums/thread.jspa?threadID=1107568&tstart=3 | |
http://www.communigate.com/cgatepro/Scalability.html#TimeWait | |
http://forum.configserver.com/viewtopic.php?t=1565 | |
http://forums.theplanet.com/index.php?showtopic=62399 | |
http://www.sunmanagers.org/pipermail/sunmanagers/2004-September/032709.html | |
--> details about what time_wait procs are/do, consume resources |
OlderNewer