Skip to content

Instantly share code, notes, and snippets.

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/
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
@quellhorst
quellhorst / gist:27125
Created November 20, 2008 18:06 — forked from atmos/gist:17913
# 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'
/ _ \ / _____/\__ ___/ _ \ | | / _ \ \ / /| |/ _____/\__ ___/ _ \
/ /_\ \ \_____ \ | | / /_\ \| | / /_\ \ 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>:
@quellhorst
quellhorst / default.rb
Created September 4, 2009 02:33 — forked from fujin/default.rb
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"
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 |
+---------+------------------+---------------------------------------------------------------------------+---------+--------------+------------------------------------------------------------------------------------+--------------------------
@quellhorst
quellhorst / .bashrc
Created September 28, 2009 17:06
One Line Twitter Bash
# $ 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"
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")
# 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
# 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