Kliky.net

Whereis ImageMagick

I’m running ImageMagick with Fedora Core 5 and wanting to locate ImageMagick I used whereis. This does not in fact give you the location of ImageMagick as you would think.
whereis ImageMagick
Returns:
ImageMagick: /some/path/to/ImageMagick.1.gz
What you’re wanting to do in most situations is to actually locate the command you’re using. So, since you’re using ImageMagick’s command ‘convert’ you’d […]

Installing ImageMagick on Fedora Core 5 is as simple as using the yum utility:
yum install ImageMagick
There’s a little information on this here:
http://www.gria.org/docs/5.0.1/user-guide/installation/services/fc5-pre.html

You can then test on the command line:
http://www.imagemagick.org/script/convert.php

Like everything else, it seems that it takes some time to figure something out. A client of mine needed the ability to easily add images within their Joomla Content Items and more importantly, they needed to allow Joomla Authors to insert images into their submitted content items.
In order to accomplish image insertion into Joomla content […]

I’m going to start a post here discussing email outsourcing. In my particular case, I am a small agency with my own server currently hosting my own Web sites and development work. What I would like to do is begin hosting my client Web sites — I benefit here because I control the platform, have […]

A MySQL Sub Select Wish

After doing a lot of searching and reading I think I came up empty on a subselect I wanted to do in MySQL. Here’s what I was trying to do:
tabel1
id rec
1 record 1
2 record 2
table2
t1id rec
1 val1
1 […]

You can check for your version of MySQL on the command line with the following:
# mysql –version
or
# mysql -V
I tried to search checking mysql version on the command line a couple times without success, so it’s going down here. The smart person would of course just read the mysql man page.
–version, -V
Display version information and […]

Find all files in this directory (.) modified in the last day (-mtime -1) that aren’t directories (\! -type d) and execute the list function on them ls -l:
find . -mtime -1 \! -type d -exec ls -l {} \;
I just tooks this from the page:
http://www.liamdelahunty.com/tips/linux_find_files_edited_today.php
Now I just need to update the script […]

Chmod Recursively

To chmod recursively, meaning directories and all directories within, you’d use the -R option:
chmod -R 755
From the chmod man page:
-R, –recursive
change files and directories recursively
This is all simple enough, but for some reason I always forget it. So here it is.

I’m getting started on a new project which is built around a table using MySQL SET data types in a number of columns. There’s some parts of this, which will most likely present a number of challenges. The table was contains records for individual entities, of which a few fields contain data with multiple values. […]

At one time, I had a tarred site still containing all its .svn directories. Needing to just start over and remove all .svn directories, I found the answer at Linux by Examples under the aptly named page “Remove All .svn Directories at Once“.
However, if for any reason this page ceases to exist one day, I’m […]

« Previous Entries  

Recently Written

Calendar

March 2007
M T W T F S S
    Apr »
 1234
567891011
12131415161718
19202122232425
262728293031