photo
user: cy
Cyril Pauya
http://blog.mrpau.com/
A programmer, husband and father.

rss RSS feed


Lists
Tags
2010-election 3g accounting agile ajax alumni archive audio-player automation backup band bash battery benchmark best-practices bind bittorrent blog book bpo browser-test business cafe captive-portal catalog cd charger chat chrome ci client cluemapper cms coffee coffee-shop command competitor compiz computer-laboratory couchdb courier css davao debian dell deployment desktop development devilspie diff django djangocon dns documentary domain domain-tools download-manager dvd dvorak ebox emacs entrepreneur entrepreneurship eovdsl ergonomics ethernet-extender extension fabric facebook farm farming file-manager firewall fix flash flup form form-builder forms framework free freenas gadgets gallery games gammu gedit genealogy geo-location ggnest git globe-visibility google-chrome gotcha gpg gpl gui habits harddisk hardware hci health hg hostmonster hotel how-to html html5 huawei icons ilianen inspiration internet internet-cafe issue itc it-policies javascript job jokes jpeg jquery jquery-plugin jre kanban kannel karmic-koala kewl kleng komodo komodo-edit laptop layout lcd-projector legal library life lighttpd linux listboard live-blog lodging house mailchimp management manobo markdown meld mercurial metal migration mobile modem mod_wsgi movies mrpau music mylistboard mysql nas ndmc network-attached-storage networking network-management network-monitoring news nurse odesk online online-pc-store opac parser partition paypal pc-magazine performance perl pfsense philippines phone-manager pidgin pil pinax pip pixar plugin postgresql printing process profile programmer programming project-management proxmox proxy psycopg2 pygtk pysvn python quota redmine reference rest restore ria rice rsync samba sandbox scgi scheduler school science scraper scrum seo server shell sites smalltalk sms social-network software solar-blast south standard startup subversion survey svn sysad testing theme tipidpc tips to-blog to-buy todo to-explore to-fix tool tools to-read torrent trac tuks_team tv twisted typhoon ubuntu ui uml umts unit-test untangle usb user-interface utils ux vcs vcs-client venture video videography vim virtualenv virtualization vps web-based web-development webfaction web-framework webhook websocket web-testing window-manager wireframe wish wmctrl wokkel wordpress words work workflow wsgi xmpp zc.buildout

All Lists of cy

Private lists of cy are not displayed.
  1. setup a pc with 2 network cards
  2. install proxmox
  3. setup networking - bridge networking (guest has same network with host), network address translation or NAT (guest uses host's network)
  4. open VNC console - so far works in Opera 9.xx only, Firefox just pops-up a blank window (needed java update)
  1. if django form text field is disabled submit fails
  1. formset empty_form
  2. a simple tag with context
  3. case-insensitive unique_together solution using signals.pre_save and Exception()
Step 1
1.1 sudo less /etc/postgresql/8.4/main/pg_hba.conf
1.2 local all sameuser trust
1.3 local all all trust
1.4 host all all 127.0.0.1/32 trust
1.5 host all all ::1/128 trust
Step 2
2.1 sudo /etc/init.d/postgresql-8.4 restart
Step 3
3.1 Set password for user postgres
References
Ubuntu Help - PostgreSQL
Postgres authentication failure
  1. download ubuntu 8.04.4
  2. install lamp, postgresql, file server packages
  3. sudo apt-get update
  4. sudo apt-get install openssh-server
  5. install virtualenv
  6. Ubuntu 8.04 Server LTS – Django + Nginx + Apache/mod_wsgi
  1. Chikka Chat - Php15 per hour, in front of Gaisano Southmall, if you have a laptop, you could still connect thru wire, no Wifi though, dual-ISP
  1. Shalom Center Davao at UCCP Davao City - near Gaisano Southmall
  2. Larous Pension House - near Gaisano Southmall
syntax: glob
.hg/*
*.pyc
*.orig
*.bak
*.old
*~
build/*
pip-log.txt
  1. edit .hg/hgrc
  2. edit .hgignore
  1. Apple CDN
  2. Android C2DM
  3. OAuth 2.0 or a similar security mechanism
  4. JSON API Creation
  5. Preferred languages/frameworks include Python, Ruby (Rails), PHP and Node.js
  • django
  • beethoven
  • collective soul
  • bob marley
  • metallica
  • wolfgang
  • megadeth
  • godsmack
  • motorhead
  • linkin park
  • limp bizkit
  • green day
  • offspring
  • smash mouth
  • dire straits
  • korn
  • six feet under
  • siakol
  • parokya ni edgar
  • eraserheads
  • mozart
  • family
  • kleng
  • coding
  • django
  • ubuntu
  • dota
  • internet
  1. Detailed Pinax installation on Webfaction
  2. MUST! pinax-boot.py --no-site-packages --unzip-setuptools --> fix for error in "python manage.py syncdb" --> IOError: [Errno 2] No such file or directory: 'pytz/zoneinfo/Africa/Asmera'
  3. $ pip install yolk --> helps trace python packages that are old (see pytz error below)
  4. Use PIL-1.1.6.tar.gz instead of PIL-1.1.7 at "$ pip install http://dist.repoze.org/PIL-1.1.7.tar"
  5. install pytz 2010g (or higher) and set it active --> fix for error in "python manage.py syncdb" --> IOError: [Errno 2] No such file or directory: 'pytz/zoneinfo/Africa/Asmera'
  6. $ yolk -l | grep pytz --> to verify your active pytz library
  1. pg_dump -Fc -b -U username databasename > data.bak
  2. pg_restore -O -d databasename -U username 'database.bak' -c