I was having the same problem on Snow Leopard and, after some time I did the following: Removed all mysql gems I had: gem uninstall mysql In my case I had to specify both mysql-dir and mysql-config (and -arch x86_64 to 64 bits) export ARCHFLAGS="-arch i386 -arch x86_64" ; gem install --no-rdoc -- no-ri mysql -- --with-mysql-dir=/usr/local --with-mysql-config=/usr/ local/mysql/bin/mysql_config Hope it works
Wednesday, July 7, 2010
Tuesday, July 6, 2010
Using procmail with postfix to filter mail
Look in /etc/postfix/main.cf
Look for this line ( change to this ):
Look for this line ( change to this ):
mailbox_transport = procmail
mailbox_command = /usr/bin/procmail -t -a "$EXTENSION"
Create/Edit ~/.procmailrc
PATH=$PATH:/bin/:/procmail/bin:/usr/bin:$HOME/procmail/bin
SHELL=/bin/bash
DEFAULT=/var/mail/prm
MAILDIR=$HOME/
LOGFILE=$HOME/procmail/log/procmail.log
:0:
*
| $HOME/procmail/bin/poster.sh
Monday, July 5, 2010
Equivalent print_r in PHP -> Ruby
For PHP developer just enter the Ruby on Rails world.
To debug an array[PHP] we use print_r($array_name):
In Ruby on Rails, we can use :: <%= debug you_object_name %> in the view.
Tuesday, June 29, 2010
Ruby 1.9.+ Rails mysql error webrick mysqllib.dll
I've copied libmysql.dll from this address:
http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/
http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/
to ruby/bin and it works with mysql version: 5.1.30.
Monday, June 14, 2010
uninitialized constant MysqlCompat::MysqlRes .... installing::: gem install mysql error ::
Posted by Raphael Petegrosso (Guest)
on 16.10.2009 01:54
Tuesday, June 1, 2010
50% off on all .my domain names
.my DOMAIN REGISTRY will be having a 50% off promotion* on all .my domain name registrations and renewals. Promotion starts from 25th May 2010 to 30th June 2010. Contact your respective reseller for promotional eligibility.
*Terms and conditions apply.
Domain Names | Registration/Renewal Fees | |
Recommended Retail Price | Promotional Price | |
.my | RM120 | RM60 |
.com.my | RM80 | RM40 |
.net.my | ||
.org.my | ||
.gov.my | ||
.edu.my | ||
.mil.my | ||
.name.my | RM32 | RM16 |
Terms and Conditions
1. Promotional price are only valid for all .my domain names from 25th May 2010 to 30th June 2010.
2. Domain names that qualify for this price promotion are:-
i. New Registration during the promotion period
ii. Renewal during the promotion period
iii. Advance renewal during the promotion period. Only renewal up to one year's worth qualifies for the promotional price. The subsequent years will be subject to normal renewal fees.
3. Domain names that DO NOT qualify for this price promotion are those that are pending receipt of payment from .my DOMAIN REGISTRY.
4. .my DOMAIN REGISTRY shall not incur nor in any way reimburse any costs incurred during the active operation of the domain names (through websites and/or emails and/or related services).
5. .my DOMAIN REGISTRY, reserves the right to reject any registration and /or renewal of domain names without prior notices. The domain name registration and / or renewal shall be subject to the rules on choosing domain names, policies & procedures of .my DOMAIN REGISTRY, which includes the Agreement for Registration of Domain Names and the Reseller Agreement. These can be accessed from http://www.domainregistry.my.
Monday, May 3, 2010
Driving 8x8 Dot Matrix LED using Arduino
Making use of dot matrix LED to play around.
http://www.arduino.cc/playground/Main/DirectDriveLEDMatrix
http://www.arduino.cc/playground/Main/DirectDriveLEDMatrix
Wednesday, April 28, 2010
Tuesday, April 27, 2010
Experimenting with Arduino Guide
Tutorial / Step by step on various interfacing the Arduino with outside word using sensors, servo , etc..etc ...
http://oomlout.com/products/ARDX/ARDX-experimenters-guide-DD.pdf
http://oomlout.com/products/ARDX/ARDX-experimenters-guide-DD.pdf
Monday, April 26, 2010
Arduino Deuvilova ( :) USB not recognize by WinXP
I had one AtMega168 arduino board, but the usb cannot be recognized by the PC. But when i Plug in external power to it , the USB can be recognized.
After searching around, seem like this problem is due to the FT232RL chip.
The solution is to short Pin 25(TEST) and PIN 26(GND).
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1263958401/3
After searching around, seem like this problem is due to the FT232RL chip.
The solution is to short Pin 25(TEST) and PIN 26(GND).
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1263958401/3
Subscribe to:
Posts (Atom)
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
-
Original Source :: http://en.irfanview-forum.de/viewtopic.php?t=490 /one - force 'Only one instance' /fs - force Full Screen displa...
-
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...