Thank Heavens For Facelift Image Replacement (FLIR)
January 29th, 2009I can’t tell you how many times I have had clients want some fancy font used on their website. The story is always the same.
~~~~~~~~~~~~~~~~~~~~
Client: Why is this site using Time new Roman? I would rather use this script font, I found on my computer.
Me: You can’t use that font. Websites should only use fonts that are readily available on everyone’s computer. And unfortunately that font isn’t on everyone’s computer.
~~~~~~~~~~~~~~~~~~~~
I have written my own php scripts to automatically convert header text, text buttons, & etc to images. This has worked fairly well, but wasn’t very flexible. Now I have finally found the ultimate image replacement plugin for Wordpress.
Facelift Image Replacement (FLIR) for WordPress is a plugin that generates image representations of text on your web page in fonts that visitors would not normally be able to see. The plugin was created By Dan Zappone, which is based on Facelift Image Replacement by Cory Mawhorter. With it you can replace the text of any html element with an image using any font. It is very robust & very easy to use. Check it out! It has made my life easier & my websites more beautify.
Reference
Another Post from wordpress
January 19th, 2009another one
Changing Your IP Address to Static on Ubuntu Server
July 11th, 2008
sudo nano /etc/network/interfaces
update the file to look like the following (of course change to your network info)
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
sudo /etc/init.d/networking restart
References
http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/
vCard to Gmail CSV
July 2nd, 2008
This is a really cool vCard to Gmail CSV conversion tool.
Redmine on Dreamhost with Passenger
May 16th, 2008
As of May 13, 2008 Dreamhost provides a feature called Passenger for Ruby on Rails. This make is significantly easier to install Ruby On Rails Apps on Dreamhost!!!
The following is how I install Redmine on Dreamhost with Passenger
- From the Dreamhost control panel, create a new subdomain for the application such as yoursubdomain.yourdomain.com
- Make sure the domain supports “Ruby on Rails Passenger (mod_rails)?”
- Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
- you must add the public!!!
- From the Dreamhost control panel create a new MySQL database named yourdatabasename
- ssh into your Dreamhost account
cd ~/yoursubdomain.yourdomain.comsvn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./- check http://www.redmine.org/wiki/redmine/Download for the latest version
- also watch out for permissions
chmod -v -R 755 ./*
cd ~/yoursubdomain.yourdomain.com/configcp database.yml.example database.ymlnano database.yml- edit the database.yml config file with the appropriate info. Should be similar to the following
production:
adapter: mysql
database: yourdatabasename
username: yourusername
password: yourpassword
host: mysql.yourdomain.com
- edit the database.yml config file with the appropriate info. Should be similar to the following
cd ~/yoursubdomain.yourdomain.com/publiccp dispatch.rb.example dispatch.rbnano .htaccess(replace with following text)
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
ErrorDocument 500 “<h2>Application error</h2>Rails application failed to start properly”cd ~/yoursubdomain.yourdomain.com- from application root type
rake db:migrate RAILS_ENV="production"
- also type the following to load config defaults
rake redmine:load_default_data RAILS_ENV="production"
- choose “en” for english
- browse to http://yoursubdomain.yourdomain.com
Reference
http://www.redmine.org/wiki/redmine/RedmineInstall
www.jorgeivanmeza.com
http://www.redmine.org/boards/2/topics/show/69
http://wiki.dreamhost.com/Passenger
Location of “Trash” in Ubuntu 8.04
May 15th, 2008
Not sure when the happened, but the location of “Trash” has moved from “~/.Trash” to “~/.local/share/Trash”. There is also a new structure for the trash folder. It has a directory named “files” for the deleted files. There is an additional directory named “info” which contains when the files were deleted & where they were deleted from.
To delete the trash from the command line type
rm -rI ~/.local/share/Trash/*
Or you could use this command, if you don’t want to confirm your delete
rm -rf ~/.local/share/Trash/*
Redmine on Dreamhost
May 12th, 2008As of May 13, 2008 Dreamhost provides a feature called Passenger for Ruby on Rails. This make is significantly easier to install Ruby On Rails Apps on Dreamhost!!! Use this method instead (Click Here)
http://alandaveline.com/blog/2008/05/16/redmine-on-dreamhost-with-passenger/
The following is how I install Redmine on Dreamhost
- From the Dreamhost control panel, create a new subdomain for the application such as yoursubdomain.yourdomain.com
- Make sure the domain supports “FastCGI”
- Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
- you must add the public!!!
- From the Dreamhost control panel create a new MySQL database named yourdatabasename
- ssh into your Dreamhost account
cd ~/yoursubdomain.yourdomain.comsvn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./- check http://www.redmine.org/wiki/redmine/Download for the latest version
- also watch out for permissions
chmod -v -R 755 *
cd ~/yoursubdomain.yourdomain.com/configcp database.yml.example database.ymlnano database.yml- edit the database.yml config file with the appropriate info. Should be similar to the following
production:
adapter: mysql
database: yourdatabasename
username: yourusername
password: yourpassword
host: mysql.yourdomain.com
- edit the database.yml config file with the appropriate info. Should be similar to the following
cd ~/yoursubdomain.yourdomain.com/publiccp dispatch.fcgi.example dispatch.fcgicp dispatch.rb.example dispatch.rbnano .htaccess- change line with
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
- to
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
- change line with
cd ~/yoursubdomain.yourdomain.com- from application root type
rake db:migrate RAILS_ENV="production"
- also type the following to load config defaults
rake redmine:load_default_data RAILS_ENV="production"
- choose “en” for english
- browse to http://yoursubdomain.yourdomain.com
Reference
http://www.redmine.org/wiki/redmine/RedmineInstall
www.jorgeivanmeza.com
http://www.redmine.org/boards/2/topics/show/69
rake aborted! No such file or directory - /tmp/mysql.sock
May 12th, 2008How to Install Fonts in Ubuntu 8.04
May 10th, 2008
The way to install fonts in Ubuntu 8.04 has changed a little, and in my option it is a bit easier.
- open the “.fonts” folder in your home directory
- You probably have to create it first
- make sure you can view hidden files
- copy your font files to this folder
- next time you open your application, the fonts should be available
Reference
Tombuntu
