Skip to content

Instantly share code, notes, and snippets.

!!! 5
/[if lt IE 7] <html lang="en" class="no-js ie6">
/[if IE 7 ] <html lang="en" class="no-js ie7">
/[if IE 8 ] <html lang="en" class="no-js ie8">
/[if IE 9 ] <html lang="en" class="no-js ie9">
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
%head
benhoskings:rails app {
(defining rails app)
$ whoami
root
Already pulled benhoskings (git://github.com/benhoskings/babushka-deps.git) this session.
benhoskings:webapp {
(defining webapp)
Already pulled benhoskings (git://github.com/benhoskings/babushka-deps.git) this session.
benhoskings:user exists {
(defining user exists)
OSX APPs
=============================
COMMUNICATION
----
Adium - MSN/Yahoo/iChat/Jabber/Anything else
iChat + Chax addon
Skype
DESIGN
√ Loaded 41 deps from /srv/http/cheekyclicks.com/.babushka/bootstrap/deps.
babushka {
'babushka' / internal_setup not defined.
set up.babushka {
'set up.babushka' / internal_setup not defined.
'set up.babushka' / setup not defined.
up to date.babushka {
'up to date.babushka' / internal_setup not defined.
'up to date.babushka' / setup not defined.
repo clean.babushka {
@nathanscott
nathanscott / backup.rake
Created April 22, 2010 12:12 — forked from benhoskings/backup.rake
fix for r2
# Original file by Tobias Luetke, found on
# http://blog.leetsoft.com/2006/5/29/easy-migration-between-databases
#
# set_sequences task by tnb@thenakedbrain.com
#
namespace :db do
namespace :backup do
def interesting_tables
ActiveRecord::Base.connection.tables.sort.reject do |tbl|
# Original file by Tobias Luetke, found on
# http://blog.leetsoft.com/2006/5/29/easy-migration-between-databases
#
# set_sequences task by tnb@thenakedbrain.com
#
namespace :db do
namespace :backup do
def interesting_tables
ActiveRecord::Base.connection.tables.sort.reject! do |tbl|
3:15pm Friday.
N: "So, should we have a beer now?"
D: "Do we have any??"
N: "No"
D: "Ohhh. Don't do that to me. I'm Irish!"
// layout.html
<script>
if (navigator.platform=="Win32") {
document.write(unescape("%3Clink href='/stylesheets/windows.css' media='screen' rel='stylesheet' type='text/css'%3E%3C/script%3E"));
}
</script>
// stylesheets/windows.css
// Helpers
def twitify(tweet)
auto_link tweet.gsub(/@(\w+)/, %Q{<a href="http://twitter.com/\\1" class="twitter_name" target="_blank">@\\1</a>}).gsub(/#(\w+)/, %Q{<a href="http://search.twitter.com/search?q=\\1" class="twitter_hash" target="_blank">#\\1</a>})
end
def tweet_link(tweet)
"http://www.twitter.com/#{tweet.from_user}/status/#{tweet.id}"
end
Interval Since Last Panic Report: 867014 sec
Panics Since Last Report: 1
Anonymous UUID: 47BC489F-D099-4014-A422-31F1801CD4A5
Fri Mar 19 22:57:43 2010
panic(cpu 0 caller 0x2a7ac2): Kernel trap at 0x00c431f7, type 14=page fault, registers:
CR0: 0x8001003b, CR2: 0x8299408c, CR3: 0x00100000, CR4: 0x000006e0
EAX: 0x82994080, EBX: 0x0bcf4c00, ECX: 0x0000000c, EDX: 0x00000000
CR2: 0x8299408c, EBP: 0x8a52bbb8, ESI: 0x00000001, EDI: 0x09f65880
EFL: 0x00010297, EIP: 0x00c431f7, CS: 0x00000008, DS: 0x47f40010