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
#!/bin/bash | |
# | |
# Simple script to update OSX Chromium to the latest nightly build. | |
# Will not download if you already have the latest (call with --force | |
# to override this check) | |
# | |
# Copyleft 2010 Ian Gallagher <crash@neg9.org> | |
# | |
LATEST=$(curl -s "http://build.chromium.org/f/chromium/snapshots/Mac/LATEST") |
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
set nocompatible | |
runtime! autoload/pathogen.vim | |
if exists('g:loaded_pathogen') | |
call pathogen#runtime_append_all_bundles() | |
call pathogen#helptags() | |
endif | |
filetype off | |
syntax on |
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
-- MiniFriends by Hedyn Brand... Modified by XenaSkull | |
-- MiniFriends by Hedyn Brand... Modified by Dida for 3.3.5 API Changes (8-25-2010) MiniFriends.lua | |
BINDING_HEADER_MINIFRIENDS = "MiniFriends" | |
MINIFRIENDS_VERSION = "1.01" | |
MiniFriendsCount = 0 | |
MFFlags = {} | |
MFF_Locked = 1 --Make window unmovable |
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
/* note: space it; dont tab it pls */ | |
body { | |
text-align:center; | |
margin-top: 10px; | |
background: #333333; | |
font: 76% Verdana, Arial, Helvetica, sans-serif; | |
min-width: 1000px; | |
} |
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
Loading development environment (Rails 2.3.2) | |
>> @now = Time.zone.now | |
=> Thu, 07 May 2009 09:24:13 PDT -07:00 | |
>> @now.strftime("%m/%d/%Y") | |
=> "05/07/2009" | |
>> @now.strftime("%Y/%m/%d") | |
=> "2009/05/07" | |
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
<!-- place in <head> --> | |
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAZFJWpftMwgnCCqt4vPRS7BR1HFqmY0hOxpFWSoKSv_ILnU21AhRd8Ow1u23lsYZWN5Fo-iaQ72-icQ" type="text/javascript"></script> | |
<!-- place in <head> or inside <body> --> | |
<script language="Javascript" type="text/javascript"> | |
//<![CDATA[ | |
function OnLoad() { | |
// create a search control |
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
================== | |
Fatal Error | |
If your blog does not display, please contact the owner of this site. | |
If you are the owner of this site please check that MySQL is running properly | |
and all tables are error free. | |
Database Tables Missing. | |
Database tables are missing. This means that MySQL is either not running, |
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
# If cached file exists, serve it and stop processing | |
RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}%{REQUEST_FILENAME} -f | |
RewriteRule ^(.*)$ /cache/%{HTTP_HOST}$1 [L] | |
# other redirection (imgs, js, css, ...) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_URI} !.*/mephisto/.* | |
RewriteCond %{REQUEST_URI} !.*html | |
RewriteCond %{REQUEST_URI} !^/cache | |
RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}/$1 -f |
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
# more for routes | |
map.forgot_password '/forgot_password', :controller => 'users', :action => 'forgot_password' | |
map.reset_password '/reset_password', :controller => 'users', :action => 'reset_password' | |
# app/models/user_observer.rb | |
class UserObserver < ActiveRecord::Observer | |
def after_create(user) | |
UserNotifier.deliver_signup_notification(user) | |
end | |
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
Thank you! | |
<%= @user.login %>, your account has been activated. | |
You may now start using the member only features. | |
<%= @url %> |