Test of WordPress & Shareaholic

July 2nd, 2009

Shareaholic for Firefox - The browser add-on extension to share, tweet, bookmark, save and e-mail web pages quickly.

Thank Heavens For Facelift Image Replacement (FLIR)

January 29th, 2009

I  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

FLIR for WordPress

Facelift Image Replacement

Another Post from wordpress

January 19th, 2009

another onedarth

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.

http://labs.brotherli.ch/vcfconvert/

Redmine on Dreamhost with Passenger

May 16th, 2008

Dreamhost LogoAs 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

  1. From the Dreamhost control panel, create a new subdomain for the application such as yoursubdomain.yourdomain.com
    1. Make sure the domain supports “Ruby on Rails Passenger (mod_rails)?”
    2. Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
      • you must add the public!!!
  2. From the Dreamhost control panel create a new MySQL database named yourdatabasename
  3. ssh into your Dreamhost account
  4. cd ~/yoursubdomain.yourdomain.com
  5. svn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./
    • check http://www.redmine.org/wiki/redmine/Download for the latest version
  6. also watch out for permissions
    • chmod -v -R 755 ./*
  7. cd ~/yoursubdomain.yourdomain.com/config
  8. cp database.yml.example database.yml
  9. nano database.yml
    1. 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
  10. cd ~/yoursubdomain.yourdomain.com/public
  11. cp dispatch.rb.example dispatch.rb
  12. nano .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”
  13. cd ~/yoursubdomain.yourdomain.com
  14. from application root type
    • rake db:migrate RAILS_ENV="production"
  15. also type the following to load config defaults
    • rake redmine:load_default_data RAILS_ENV="production"
    • choose “en” for english
  16. 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, 2008

Dreamhost Logo

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!!! 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

  1. From the Dreamhost control panel, create a new subdomain for the application such as yoursubdomain.yourdomain.com
    1. Make sure the domain supports “FastCGI”
    2. Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
      • you must add the public!!!
  2. From the Dreamhost control panel create a new MySQL database named yourdatabasename
  3. ssh into your Dreamhost account
  4. cd ~/yoursubdomain.yourdomain.com
  5. svn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./
    • check http://www.redmine.org/wiki/redmine/Download for the latest version
  6. also watch out for permissions
    • chmod -v -R 755 *
  7. cd ~/yoursubdomain.yourdomain.com/config
  8. cp database.yml.example database.yml
  9. nano database.yml
    1. 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
  10. cd ~/yoursubdomain.yourdomain.com/public
  11. cp dispatch.fcgi.example dispatch.fcgi
  12. cp dispatch.rb.example dispatch.rb
  13. nano .htaccess
    1. change line with
      • RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
    2. to
      • RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
  14. cd ~/yoursubdomain.yourdomain.com
  15. from application root type
    • rake db:migrate RAILS_ENV="production"
  16. also type the following to load config defaults
    • rake redmine:load_default_data RAILS_ENV="production"
    • choose “en” for english
  17. 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, 2008

The Ruby on Rails logoTo resolve this issues, change the “localhost” in yourrailsapp/config/database.yml to “127.0.0.1″

How 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