Logo
login
User:
Pass:
Remember me

Automatix for Ubuntu 8.04

Development for Automatix2 for ubuntu has ended. Development is now exclusively for pioneer warrior linux. I haven’t checked out the community distribution yet, but I’m downloading the iso to give it a look when I’ve got a bit more time.

If your not familiar with the Automatix project, it’s an easy to use package manager that focuses on only the most installed linux software, especially the packages that aren’t available in debian, or ubuntu repositories due to qualms about open source, c

4.26.2008 04:34 am
 No Comments
zip cmdline utility
Zip isn't exactly my compression tool of choice but it is still the most widely used compression format out there, and comes in handy when you've got to send an archive to someone who has never even heard of 7z

Even before my switch over to linux on the desktop, I used a program called ZipGenius (ask google, I don't feel like searching for the link right now). It supports any compression format I could think of and was developed by the guy who created 7z...the best compression format I've come acro
4.24.2008 01:45 am
 No Comments
gnome screensaver - set image directory
If you would like to change the default image directory that gnome-screensaver uses to find slideshow images (of course you do if your actually using the screensaver), this is what your gonna have to do.

#open up a terminal and make sure your in your home dir:
cd ~

#now edit the .xscreensaver file:
gedit .xscreensaver

Now your .xscreensaver file should be open in your text editor (gEdit). Add the path to your Pictures dir like so:
imageDirectory: /home/[your username]/Picture
4.24.2008 12:54 am
 No Comments
Enable root in Ubuntu
Ubuntu by default locks the root user. Users are forced to run sudo everytime they need to perform some type of administrative task, which is not a bad thing at all. But if you find yourself needing root to test out some cmdline program and you don't feel like typing sudo in front of every single test cmd, this will help out.

Change the root password to whatever you like using passwd

sudo passwd root

you'll be prompted to enter your sudo passwor
2.29.2008 09:40 am
 No Comments
Kubuntu 7.10 Triple Monitor setup
I've got two nvidia geforce 6600 PCI-E cards installed on a windows machine running a triple head setup. The goal is to install Kubuntu 7.10 without affecting my windows installation and then from there to configure nvidia drivers and the xorg configuration file to use all the monitors.

First, download a copy of Kubuntu 7.10 from: http://kubuntu.com/download.php

Burn the iso image to a disc, and place it in a drive.

Restart your m
2.04.2008 05:56 pm
 No Comments
Handling large file uploads
There are a few variables you'll need to adjust in order to handle large file uploads with php. The default installation will limit your uploads to 2 mb.

Change the values of the following directives in your php.ini file:
  • max_execution_time
  • max_input_time
  • memory_limit
  • post_max_size
  • upload_max_filesize
once those values are set, restart apache and off you go.
12.03.2007 02:55 pm
 No Comments
Ajax Chat
I've got a simple ajax driven chatroom working =)

I've still got a lot of work to do to get it integrated with the project it was built for, but I'm saving the simple app as is for future reference. I'll post a quick tutorial of what it takes to create one when I get some time.

have a look at the script at:
http://linardy.com/chat/
11.29.2007 03:02 pm
 No Comments
Select Multiple random rows with MySQL
Very simple. in the order by clause of your query, use the RAND() function. select * from table order by rand() limit 20 found this at http://www.desilva.biz/mysql/random.html
1.10.2007 08:45 am
 No Comments
Installing APC on Red Hat 4
Well, couldn't go the real easy route installing on red hat. I tried running pecl install apc but the configure had problems finding apxs on it's own.

So from here I downloaded the source from:
http://pecl.php.net/package/APC >> APC-3.0.12p2
Extracted the contents:
gunzip [filename] tar xvf [filename]

Browsed into the dir and ran phpize luckily that went off without a hitch, now I can specify the path to apxs in m
12.14.2006 05:31 pm
 No Comments
Two way encryption using MySQL
Sometimes hashing just isn't enough.

It's all well and good for data matching (just hash the input and see if it matches), but what if you ever need to decrypt those hashes.

Say your storing users' sensitive data (credit cards, ssn's, etc) your going to need the ability to view that information, yet you need to protect your users.

The only solution is two way encryption. You encrypt the data before it is entered into the database, that way if there's ever unauthorized access or
12.10.2006 08:31 am
 No Comments
Geocoding: found a great article
php | architect has a lot of great stuff. I've been subscribing to their magazine for a little over a year now.

In vol 5 - issue 10, there's an article called "Geocoding: Finding you way" by Chris Cornutt. The article describes a few types of applications where geocoding would be necessary, and then goes on to describe how to use google and yahoo maps api's to get the latitude and longitude of a couple addresses and dr
12.09.2006 12:12 am
 No Comments
Plesk vs cPanel
I'd say that Plesk looks nicer, and is probably a bit more user friendly, but I can't update php anytime I feel like it =< I want to update to php 5.2 so I can add Rasmus' upload progress meter...but right now it seems there's no way. Doesn't really matter anyhow for any current sites, but a new one I'll be posting about soon, mymusicjungle.com will definitely need something like it.
12.01.2006 08:50 pm
 No Comments
gzip, why had I never used this before?
I can't believe I've never used compressed output before. The results:
html went from 13608 to 3173 (bytes) and html images went from 41038 to 29390.

Too bad css images, and javascript are not encoded. Anybody know how to accomplish this? Prototype and friends still cost almost 100k.

A quick and easy way to get up and running is to simply add: ob_start("ob_gzhandler"); to your header file, and: ob_flush(); to your footer.

Or you could create 2 new
11.30.2006 06:28 pm
 No Comments
Whitney Productions website Live (sorta)
Whitney productions creates a lot of surf, skate, snow videos and will be posting clips online as well as selling their videos and other merchandise. The site was designed by Dylan Hodgson, and I cut and coded it.

www.whitneyproductions.net

update: Dylan has maintained and updated the site ever since launch. Still needs some work, but it's coming along well.
11.28.2006 12:39 pm
 No Comments
What a Wedding
Had the Best time at my cousin David, and my new cousin-in-law Holly's wedding on the cape of Massachusetts. Happy Honeymooning you 2, and give me a shout when you get back and settled in =)

Pictures are posted in the gallery
6.06.2006 03:11 pm
 No Comments
© 2006 Matt Linardy
top