Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>YUI Base Page</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/2.5.1/build/reset-fonts-grids/reset-fonts-grids.css" type="text/css">
<style type="text/css" media="screen" >
* { padding:0; margin: 0; font-family: helvetica;}
body { background: margin:1em; padding:0; }
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>net.sourceforge.socks-relay.srelay</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/srelay</string>
</array>
module Authorization
module User
# include ::DataMapper::Resource
# This is a "vanity" relationship. A user may not have all permissions for an entire role,
# but still may be said to be a member of the role.
# has_and_belongs_to_many :roles
has 1.0/0, :roles, :through => ::DataMapper::Resource
# This relationship contains the actual list of permissions the user has been granted.
has 1.0/0, :permissions, :through => ::DataMapper::Resource
module Authorization
module User
# include ::DataMapper::Resource
# This is a "vanity" relationship. A user may not have all permissions for an entire role,
# but still may be said to be a member of the role.
# has_and_belongs_to_many :roles
has 1.0/0, :roles, :through => ::DataMapper::Resource
# This relationship contains the actual list of permissions the user has been granted.
has 1.0/0, :permissions, :through => ::DataMapper::Resource
@-moz-document url-prefix(http://github.com/)
{
pre, code {
font-family: MonoSpace !important;
font-size: 9pt !important;
}
}
@trey
trey / settings.py
Created July 26, 2008 19:32
The way to do things post-newformsadmin
INSTALLED_APPS = (
'your_app',
'django.contrib.admin',
'django.contrib.admindocs',
...
)
javascript:var parts=location.pathname.split('/');document.getElementsByTagName('body')[0].innerHTML = '<textarea id="url">http://twictur.es/'+parts[parts.length-1]+'.gif</textarea>';document.getElementById('url').select()
[Sat Jul 26 - 11:48:37] [elliottcable @ Bishop] [~/Code/rat/]
-- git-push repo.or.cz master
Counting objects: 208, done.
Compressing objects: 100% (125/125), done.
Writing objects: 100% (208/208), 34.44 KiB, done.
Total 208 (delta 96), reused 151 (delta 66)
fatal: Unable to create temporary file: Permission denied
error: unpack failed: index-pack abnormal exit
To ssh://repo.or.cz/srv/git/rat.git
! [remote rejected] master -> master (n/a (unpacker error))
Slants-Mac [ ~/Projects/current/idw/idw-portal ] git status
# On branch ryan-campaigns
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
#
# modified: .gitignore
# modified: app/controllers/application.rb
# modified: app/controllers/customers_controller.rb
# modified: app/controllers/registrations_controller.rb
# modified: app/helpers/customers_helper.rb
Slants-Mac [ ~/Projects/current/idw/idw-portal ] git reset --hard
HEAD is now at 04fca40... Accept CCF
Slants-Mac [ ~/Projects/current/idw/idw-portal ] git pull
Updating 04fca40..2a01c75
fatal: Untracked working tree file 'app/views/customers/_phone_number.rhtml' would be overwritten by merge.
Slants-Mac [ ~/Projects/current/idw/idw-portal ] git status
# On branch ryan-campaigns
# Untracked files: