Sometimes customers want to see my name on the invoice, sometimes they only want to see betweenGo.
To change it, go to Company > Company Information… and change the Company Name field (either “Frank S. Kim” or “betweenGo”).
When I get someone’s Eclipse project I always ended up recreating the project. Now I won’t need to do that anymore since I learned about the Import feature.
To implement RSA authentication under ssh so that the user is not continually asked prompted for a remote-host password when using ssh
, scp
, or any programs using ssh underneath such as cvs
and svn
do the following.
$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/fkim/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/fkim/.ssh/id_rsa. Your public key has been saved in /home/fkim/.ssh/id_rsa.pub. The key fingerprint is: 2a:59:54:3f:82:8f:79:92:1d:39:7b:62:02:68:97:e6 fkim@paltp1235 $ cd .ssh $ chmod 400 id_rsa id_rsa.pub
$ scp -p ~/.ssh/id_rsa.pub fkim@betweengo.com:~/ Password: id_rsa.pub 100% 396 0.4KB/s 00:00
$ ssh fkim@betweengo.com Password: [box ~]$ mkdir .ssh [box ~]$ chmod 755 .ssh
[box ~]$ cat id_rsa.pub >> .ssh/authorized_keys2 [box ~]$ chmod 644 .ssh/authorized_keys2
$ ssh fkim@betweengo.com [box ~]$
Note if this does not work it is sometimes because the ssh client cannot find the id_rsa file. It looks for it normally where it keeps the known hosts file. On most systems this is the default location for where it writes the id_rsa file. On one system I found that it was looking for the id_rsa file in C:\.ssh
.
In some cases RSA authentication will not work and you will need to use DSA authentication. This article, SSH Logins Without Providing A Password, gives a good description of how to do this. The instructions are quite similar.
The following link is to an excellent post about Ruby symbols, especially important considering Ruby on Rails uses symbols all the time.
On Tuesday, November 15, 2005 I will be presenting an introduction to Ruby on Rails to the ACM Greater Boston Web Tech Chapter.
The presentation is online. Though it looks like a PowerPoint presentation it’s actually just a single HTML file that is transformed into a PowerPoint-like presentation using CSS and JavaScript provided by Eric Meyer.
Ruby on Rails
(see also Getting Started With Rails)
gem install rails --remote
gem install --remote --version '0.13.1' rails
Salted Hash Login & Authentication Generator
(see also Salted Login Generator Quick Start)
gem install --remote salted_login_generator
gem install --remote localization_generator
C:\tmp\iconv>setup Setup has detected Ruby at c:\devel\ruby and Windows/System32 at C:\WINDOWS/System32 Install Iconv there? [yN] y cp iconv.so c:\devel\ruby/lib/ruby/1.8/i386-mswin32 cp iconv.dll C:\WINDOWS/System32 cp charset.dll C:\WINDOWS/System32 Installation successful.
Update, the above iconv package link no longer works. Instead you have to follow the more laborious task of getting iconv.so
and installing it in ruby\lib\ruby\1.8\i386-mswin32
and getting iconv.dll
and installing it in C:\WINDOWS\System32
. More detailed instructions can be found on the iconv in Ruby on Rails page.
RMagick
(see also RMagick Install FAQ)
C:\tmp\RMagick-1.9.1-IM-6.2.3-win32>gem install RMagick-win32-1.9.2-mswin32.gem
C:\tmp\RMagick-1.9.1>postinstall RMagick 1.9.2 win32 Post Installation (see enclosed README for license information) detecting available fonts, writing to config/type-windows.xml...ok. setting MAGICK_CONFIGURE_PATH to 'c:/devel/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.2-mswin32/config'. setting is only for current user. Copying 5 dlls to c:/devel/ruby/bin...done. all done.
mysql -u fkim -p < zipcodes.sql
phpMyAdmin
Excellent web based MySQL administration tool.
On Monday, November 7 MeetingKoreans.com was officially launched. This is the first site betweenGo has designed and built from the ground up using Ruby on Rails.
Within 24 hours we have received excellent feedback, had almost 20 users register, and squashed a few bugs. We look forward to seeing MeetingKoreans.com grow in both number of registered users and number of features.
MeetingKoreans.com is hosted on Dreamhost which we highly recommend. The website runs on Apache 1.3 with FastCGI enabled. The source is also hosted on Dreamhost using Subversion.
MeetingKoreans.com uses, in addition to all the standard Rails gems, the Salted Hash Login Generator gem and the RMagick ruby library interface.
After installing MySQL 4.1 I was unable to connect to the MySQL database via PHP. It turns out this was because I set the root password. I tried instructing MySQL to use the old password encryption method by adding these two lines to my.ini but that did not work.
#Use old password encryption method (needed for 4.0 and older clients).
old_passwords
Finally I just uninstalled MySQL 4.1 and reinstalled it without the root password. After doing that everything was fine.
Also I noticed when I uninstalled MySQL 4.0 it did not remove the service. When I installed MySQL 4.1 it complained about the Windows service”MySQL” already being there so I had to install the Windows service “MySQL41”. Then I uninstalled MySQL 4.1 due to the above issue and it removed the “MySQL41” service.
When I installed the second time it thought I was trying to reconfigure the “MySQL” service. I instructed the installer to remove the “MySQL” service. Then I uninstalled and reinstalled a third time and this time I was able to install the Windows service “MySQL41” properly.