Get EPOCH using DATE function on linux

On November 23, 2009, in How-to, Scripting, by Cubert aka (Cube Dweller)

If you need epoch from a shell cmd line on a linux system the date cmd is a great way to do it.
date +%s -d “$a”
This code by will print epoch out at the cmd line in a ssh window or terminal window Continue reading

Tagged with:
 

ELGG Plugin : My Online Friends Messenger

On November 15, 2009, in Projects, Scripting, by Cubert aka (Cube Dweller)

Here is a plugin for ELGG community web framework created to popout from side of browser and show your active friends by name and picture. Each online friend listed is hyperlinked back the the email composer with that friends ID pre posted. The plugin show users as active (5 minutes) and inactive (10 minutes) variations .

myfriends-1.0.tar

Tagged with:
 

Howto Install ImageMagick and PHP imagick extension on CentOS 5

On November 12, 2009, in How-to, by Cubert aka (Cube Dweller)

Howto install imagemagick and PHP imagick extension on Linux CentOS 5 LAMP server. It is pretty simple really

yum install ImageMagick.i386
yum install ImageMagick-devel.i386
pecl install imagick

After the installation, create an inclusion file in your /etc/php.d directory for imagick.so module and then restart apache daemon:

echo “extension=imagick.so” > /etc/php.d/imagick.ini
/etc/init.d/httpd restart

Test the loading of the module by running:

php -m | grep imagick

Tagged with:
 

Howto: MySQL Full Text Search in PHP

On November 6, 2009, in How-to, Scripting, by Cubert aka (Cube Dweller)

This tutorial is intended for Text Searching using MySQL (http://www.MySQL.com/) and PHP (http://www.php.net) and will focus on the Full-text capabilities presented by MySQL.

Synopsis

We run a website that hosts web blogs, we have a database that contains blog posts. We might create a table in our database using a statement like this:

CREATE TABLE blogs (body TEXT, title VARCHAR(250), id INT NOT NULL auto_increment, PRIMARY KEY(id);
 
Tagged with:
 

ThumbMyWeb.com – Free website thumbnail generator service launching

On November 4, 2009, in Projects, by Cubert aka (Cube Dweller)

[caption id="attachment_157" align="alignleft" width="500" caption="Free website thumbnail generator"]Free website thumbnail generator[/caption]

Squidworks is launching a new web service that provides free website thumbnails and image hosting. The free service allows the user to submit a website url to the thumbnail generator, the generator will go and create a thumbnail image of the website as seen in a Firefox browser. The Continue reading

Building lawsofaquisition.com website

On October 30, 2009, in Projects, by Cubert aka (Cube Dweller)

Rules of Acquisition Tailored after the Rules of Acquisition, lawsofaquision.com is supplying free str trek downloads, fonts wallpaper and great trivia about the world of StarTrek.
Go checkout www.lawsofaquisition.com for free startrek swag Continue reading

Tagged with:
 

Building brothersnoir.com website

On October 30, 2009, in Projects, by Cubert aka (Cube Dweller)

Brothersnoir.com free books onlineDaivid wants to update his site with a new wordpress website and fresh new look. Here is what we came up with..
www.brothersnoir.com

Tagged with:
 

Remove CRLF from windows PHP files.

On October 20, 2009, in How-to, Scripting, by Cubert aka (Cube Dweller)

I have had a few guys ask me, Shannon I have a Windows guy developing web aps in PHP but I run them on a Linux (LAMP) system. Some times the code seems to fail and I find the files populated with Carrage Return Line Feed or better seen while looking at a windows file on a linux system in a text editor ( ^M ). This has been know Continue reading

Tagged with:
 

Free network tools now available at Quantumleaps.com

On October 19, 2009, in Projects, by Cubert aka (Cube Dweller)

Quantumleaps.com is now offering a wide verity of network tools free. Tools includes a free Website monitor, free domain monitor and free ping alive monitor. Each of these monitors comes with free alerting and graphing services. www.quantumleaps.com has also a suite of free simple network tools like IP calculators, DNS Sleuth, Domain error checking, Ping, Trace route, Geo location of IP addresses and whois lookups. Truely a one stop shop Continue reading

Quantumleaps.com gets new look

On October 7, 2009, in Projects, by Cubert aka (Cube Dweller)

Quantumleaps wants a new look to their image. Going from spacey to more modern.

After a dozen looks prepaired for them this is what they decided on.

Block Logo
logo-3

 

Banner Logo
logo-test3.4

 

 

Linking URL logo

Tagged with: