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://www.joethorn.net/2008/03/11/setting-up-a-moleskine/ | |
http://www.lennartgroetzbach.de/blog/2005/11/08/moleskine/ | |
http://www.moleskinerie.com/2004/12/more_moleskine_.html | |
http://gatheringinlight.com/2007/02/06/create-a-moleskine-pda-the-student-gtd-hack/ | |
http://www.3m.com/us/office/postit/products/prod_ft_port.html | |
http://www.pocketmod.com/ | |
http://www.flickr.com/groups/moleskinerie/ | |
http://www.flickr.com/groups/moleskinerie/discuss/72057594085884830/ <-- blog link | |
http://davidseah.com/blog/compact-calendar/ | |
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
GeocodeZipCode Load (0.000217) SELECT * FROM `geocode_zip_codes` WHERE (`geocode_zip_codes`.`zip_code` = '60050') LIMIT 1 | |
City Load (0.000262) SELECT * FROM `cities` WHERE (`cities`.`name` = 'Mchenry' AND `cities`.`state` = 'IL') LIMIT 1 | |
SQL (0.000081) BEGIN | |
Business::Address Update (0.000185) UPDATE `business_addresses` SET `updated_at` = '2008-10-15 16:23:37', `city_id` = 2890 WHERE `id` = 209904 | |
Business Load (0.000317) SELECT * FROM `businesses` WHERE (`businesses`.`id` = 209905) | |
Business Update (0.000171) UPDATE `businesses` SET `last_updated` = '2008-10-15 16:23:37', `updated_at` = '2008-10-15 16:23:37' WHERE `id` = 209905 | |
SQL (0.000439) COMMIT |
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
# multi environment merb deployment with vlad and god | |
set :application, "ninja" | |
set :deploy_to, "/data/ninja" | |
set :code_repo, 'git@github.com:atmos/ninja.git' | |
set :revision, "origin/master" | |
set :user, "ey" | |
set :use_sudo, false | |
task :production do | |
role :app, 'eyYY-s00020' |
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
/ _ \ / _____/\__ ___/ _ \ | | / _ \ \ / /| |/ _____/\__ ___/ _ \ | |
/ /_\ \ \_____ \ | | / /_\ \| | / /_\ \ Y / | |\_____ \ | | / /_\ \ | |
/ | \/ \ | |/ | \ |___/ | \ / | |/ \ | |/ | \ | |
\____|__ /_______ / |____|\____|__ /_______ \____|__ /\___/ |___/_______ / |____|\____|__ / | |
\/ \/ \/ \/ \/ \/ \/ | |
The Hacking & Security Community | |
[+] Founded in 1997 by a hacker computer enthusiast | |
[-] Exposed in 2009 by anti-sec group | |
From < http://astalavista.com/faq>: |
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
case platform | |
when "debian","ubuntu" | |
set.nginx.dir = "/etc/nginx" | |
set.nginx.log_dir = "/var/log/nginx" | |
set.nginx.user = "www-data" | |
set.nginx.binary = "/usr/sbin/nginx" | |
else | |
set.nginx.dir = "/etc/nginx" | |
set.nginx.log_dir = "/var/log/nginx" | |
set.nginx.user = "www-data" |
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
mysql: (citycliq_db@mysql50-6-master) [citycliq_production]> select * from page_views where ip_address = '75.85.10.222'; | |
+---------+------------------+---------------------------------------------------------------------------+---------+--------------+------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+---------------------+ | |
| id | host | request_url | session | ip_address | referer | user_agent | created_at | | |
+---------+------------------+---------------------------------------------------------------------------+---------+--------------+------------------------------------------------------------------------------------+-------------------------- |
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
# $ tweet Hi mom! | |
# | |
# Put this in ~/.bashrc or wherever. | |
# If it doesn't work, make sure your ~/.netrc is right | |
# | |
# (Thanks to @anildigital and @grundprinzip for curl-fu) | |
function tweet { | |
curl -n -d status="$*" https://twitter.com/statuses/update.xml --insecure &> /dev/null | |
echo "tweet'd" |
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
require 'rubygems' | |
require 'merb-core' | |
require 'chef' | |
Chef::Config.from_file(File.join("/etc", "chef", "server.rb")) | |
Merb::Config.setup(:merb_root => File.expand_path(File.dirname(__FILE__)), | |
:environment => ENV['RACK_ENV'], | |
:fork_for_class_load => false, | |
:init_file => File.dirname(__FILE__) / "config/init.rb") |
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
# Simple script to send you email when someone unfollows you on twitter. | |
# | |
# Replace email on line 24 with the email you want to receive notifications at, and | |
# twitter handle on line 23 with your own (or whomever you want to track unfollows for). | |
# | |
# Set up a crontab to check however often you like. If someone follows and then unfollows you | |
# very quickly (within the interval), you won't get an email. | |
# | |
# Requires that you can send mail from the command line of the environment where | |
# you're running the script using mailx, e.g. `echo "body" | mailx -s "subject" foo@bar.com |
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
# Adjust sessions so they work across subdomains | |
# This also will work if your app runs on different TLDs | |
# from: http://szeryf.wordpress.com/2008/01/21/cookie-handling-in-multi-domain-applications-in-ruby-on-rails/ | |
# modified to work with Rails 2.3.0 | |
module ActionControllerExtensions | |
def self.included(base) | |
base::Dispatcher.send :include, DispatcherExtensions | |
end |
OlderNewer