tip@trylinux
:
~/blog
$
ls -la /var/log/thoughts
← cd ..
total 42 entries drwxr-xr-x 2 tip staff 2688 Oct 02 02:43 . drwxr-xr-x 5 tip staff 160 Jan 1 2000 ..
tip@trylinux
:
~/blog
$
find . -type d
./general
./projects
./linux
./tools
./apple
./reminder
./java
./tips
./oracle
./mysql
./bash
./warcraft
./wow
./postgres
./firefox
./tivo
./php
./zaurus
tip@trylinux
:
~/blog
$
find . -type f -name "*.md" | sort -r
-rw-r--r--
Oct 25 2017
dumping-a-single-record-or-query-in-mysql.md
# Dumping a single record or query in MySQL
I usually use phpMyAdmin to dump my table to SQL, but sometimes it is easier to do it from the command line. Use the following syntax to dump a table to SQL.
-rw-r--r--
Aug 01 2017
mac-text-to-speech.md
# Mac text-to-speech
I've been using a MacBook Pro since starting my job at E.W. Scripps. I've been torn about weather to use Mac OSX or Linux. I've decided to take my wife's laptop I bought her for Christmas to work. She didn't use it for 6 months because the power adapter won't stay plugged in. On my desk it has no problem staying plugged in and provides a pretty quick Linux workstation. The biggest issue is the fact that Nvidia won't release updated video drivers for the legacy card in it. I'm running Fedora 9 on it, so compiz doesn't work. I've installed the Fedora 8 xorg packages to get compiz working, but I'm not sure how long that will work since Fedora 10 is due out pretty soon.
-rw-r--r--
Aug 01 2017
building-kernel-modules.md
# building kernel modules
http://wiki.centos.org/HowTos/BuildingKernelModules
-rw-r--r--
Jan 27 2014
remove-existing-jar-signature-and-replacing-it-with-a-new-signature.md
# Remove existing jar signature and replacing it with a new signature.
After signing a jar file with an existing signature, you may get an error like this:
-rw-r--r--
Sep 20 2013
working-on-a-server-without-internet-access.md
# Working on a server without internet access
Ever need to install packages or get internet access on a server without internet access? Check out this ingenious post for dealing with the situation. If you can ssh to the server then you can use your internet access over ssh using tsocks.
-rw-r--r--
Aug 23 2013
oracle-forms-and-reports-11g-init-startup-script.md
# Oracle Forms and Reports 11g init startup script
After pulling my hair out searching the web and trying to cobble together shell commands to start and stop Oracle Forms 11g, I finally started playing with nodemanager to script the startup and shutdown. Nodemanager can start and stop all components, except the opmn stuff, and it blocks execution until the service is started. This way I don't have to try to time stuff correctly using sleep commands and it just works a lot better.
-rw-r--r--
Aug 08 2013
drop-empty-columns-in-mysql.md
# Drop empty columns in MySQL
Ever have a table with a ton of columns some of which aren't used?
-rw-r--r--
Jun 06 2013
free-simple-screen-sharing.md
# Free simple screen sharing
Need an easy way to share your screen with someone, but don't want to pay an arm and a leg and are too lazy to setup a VNC session over an ssh tunnel? Check out screenleap, it's simple and you get 2 hours a day of screen sharing for free. You don't even have to sign up for an account to try it.
-rw-r--r--
May 27 2010
sending-email-from-the-command-line-and-specifying-the-from.md
# Sending email from the command line and specifying the from
The easiest way to send an email from a Linux command line is this:mail -s subject me@here.com < /dev/null
-rw-r--r--
Mar 31 2010
gltail.md
# glTail
Very cool way to visualize you web traffic. It takes a little work to get installed, but it is definitely cool. Check out the video to see it in action.
-rw-r--r--
Oct 09 2009
compiling-arcemu-on-fedora.md
# Compiling ArcEMU on Fedora
I was trying to compile ArcEMU on Fedora and I kept geting the following error:
-rw-r--r--
Jul 29 2009
agedu-find-used-disk-space-easily.md
# agedu - Find used disk space easily
I usually use something like du -s * to find used disk space, but this utility is pretty handy.http://www.chiark.greenend.org.uk/~sgtatham/agedu/
-rw-r--r--
Dec 29 2008
world-of-warcraft-text-to-speech.md
# World of Warcraft Text to Speech
During my Christmas break I've been working on another project. I was playing World of Warcraft and was checking out some of the add-ons. I noticed there wasn't any text to speech add-ons, so I thought I bet I could make it work. Check out the site here: WoWSpeech.net
-rw-r--r--
Sep 04 2008
wordbook.md
# wordbook
I just installed the wordbook plugin for my wordpress blog. Hopefully this will help me add some content to my facebook page which I have seriously neglected. It seems like a nice plugin, let's hope it works.
-rw-r--r--
Aug 27 2008
opendnsorg-and-issues-with-mac-osx.md
# OpenDNS.org and issues with Mac OSX
I ran across a great site today for people with kids or just want to filter traffic on their network. I have 3 kids and I just bought my 5 and 3 year old a macbook to share. When I ran across http://OpenDNS.org I thought wow this would be a great time to do some filtering to keep them from coming across something they shouldn't.It's very simple to create an account and set it up since it is based on DNS. Since it is based on DNS it is easy to work around, but I figure it will be a few years before my kids get to that point.
-rw-r--r--
Jul 29 2008
task_killable-in-2626-kernel.md
# Task_Killable in 2.6.26 kernel
Ever been frustrated by a processes that you could not kill on a Linux box? I know I have, especially working with Samba and NFS. Good news, there is a new sleep state that will help eliminate the problem and more code makes use of it. In fact most of the NFS code has already been converted. Check out the link here and read more about it: http://lwn.net/Articles/288056/
-rw-r--r--
Jul 29 2008
lack-of-posts-recently.md
# Lack of posts recently
I've been slacking on the posts recently. There has been a lot going on. I've switched jobs and I'm now working for E.W. Scripps' Online Division. E.W. Scripps is newspaper company based in Knoxville and also formally part of HGTV, FOOD Networ, etc. I was brought on to help split out the web servers during the company split.
-rw-r--r--
Apr 18 2008
huge-fonts-and-toolbar-in-firefox-3.md
# Huge fonts and toolbar in firefox 3
I've tried the firefox 3 beta a couple times on my linux box. Every time I try it the fonts and toolbars are obnoxiously big. I couldn't find any help on this. It seemed like a dpi issue, so I went to about:config and searched for dpi. There it was layout.css.dpi. Mine was set to -1, I changed it to 150 which seemed about right.
-rw-r--r--
Apr 17 2008
interesting-tools.md
# Interesting tools.
Two things I ran across today that I need to look further into.
-rw-r--r--
Apr 04 2008
sorting-a-loop-in-bash-and-other-possibilites.md
# Sorting a loop in bash and other possibilites
As I said in my previous post, I learned a couple things about bash today. I had a nice for loop that outputted the info I wanted, but not in the right order. I thought to myself, man if this were php I would just put it in an array and sort it before looping across it. I bet this will be a pain in bash.
-rw-r--r--
Apr 04 2008
lineing-up-fields-with-bash-or-other-programming-languages.md
# Lineing up fields with BASH (or other programming languages)
Learned a couple things about bash today. I was wanting to print something out nicely, so I was using tabs to separate fields. As you know, nothing ever lines up if you do not have values very similar in size. So I was about to search Google for the problem when I had a moment of sheer brilliance. :) I thought I'll just concatenate a bunch of spaces on the end of the variable and then use cut to grab how many characters I want. I was very proud of myself, but then bash quickly humbled me by condensing all my spaces I had added to the variable.
-rw-r--r--
Mar 29 2008
move-oracle-data-files.md
# Move Oracle data files
The procedure below will allow you to move Oracle data and redo files.
-rw-r--r--
Feb 19 2008
oracle-bug-exp-00003-for-lob-tables.md
# Oracle Bug : exp-00003 for LOB tables
Disclaimer: This is plagiarized! See: http://www.anysql.net/en/oracle/oracle_bug_exp00003.html
-rw-r--r--
Feb 09 2008
corruption-error-when-trying-to-install-older-jre.md
# Corruption error when trying to install older JRE
When trying to install an older version of the JRE on a newer Linux distro I was getting the following error:
-rw-r--r--
Feb 06 2008
dumping-a-mysql-table-to-sql.md
# Dumping a mysql table to SQL
I usually use phpMyAdmin to dump my table to SQL, but sometimes it is easier to do it from the command line. Use the following syntax to dump a table to SQL.
-rw-r--r--
Jan 22 2008
btrfs.md
# Btrfs
Looks like this filesystem has some promise, hope it matures quickly.
-rw-r--r--
Dec 14 2007
yum-repository-from-dell.md
# yum repository from Dell
I was thinking to myself it would be really great if Dell made available a yum repository for open manage. So I did a search and sure enough the do! This makes my job a lot easier :)
-rw-r--r--
Dec 14 2007
vsftpd-426-failure-writing-network-stream.md
# vsftpd 426 'Failure writing network stream'
I was getting errors when trying to download a file from a mounted windows share with vsftpd. The fix for this problem is to add use_sendfile=NO to your vsftpd.conf file.
-rw-r--r--
Dec 13 2007
yum-upgrades-tip.md
# yum upgrades tip
When upgrading with yum I have started taking an rpm inventory before and after the upgrade.Before Upgrade:rpm -qa > BeforeUpgrade.txtAfter Upgrade:rpm -qa > AfterUpgrade.txtThen I can compare them so that I know which packages were not upgraded and I can figure out why the did not upgrade.cat BeforeUpgrade.txt AfterUpgrade.txt | sort | uniq -c | sort -n | grep "^ *2"
-rw-r--r--
Dec 13 2007
yum-could-not-find-any-working-storages.md
# yum Could not find any working storages
I upgraded a server from CentOS 4 to CentOS 5 via yum and kept getting "Could not find any working storages." I searched the web and found some other people having the same problem, but I didn't see any solutions. After some fun with strace, I found that it was looking for /usr/lib/python2.4/site-packages/sqlite which wasn't there. It turns out that the package name for python-sqlite did not change between CentOS4 and CentOS5 so the package was not upgraded. I suggest that if you have this problem you look at all the files in /usr/lib/python2.3/ and find out what packages they belong to with "rpm -qf" and upgrade them manually. You can upgrade python-sqlite with the following command (The version number may change).rpm -Uvh --force http://mirror.centos.org/centos/5.1/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
-rw-r--r--
Oct 28 2007
problems-with-pytivo-ffmpeg-and-ac3.md
# Problems with pyTivo ffmpeg and ac3
I kept getting errors when trying to use pyTivo to stream shows to my Tivo HD.Unsupported codec (id=86020) for input stream #0.0
-rw-r--r--
Oct 24 2007
check-out-hyperic.md
# Check out Hyperic
This is just a reminder to myself to look into Hyperic
-rw-r--r--
Oct 22 2007
reboot-a-windows-box-from-linux.md
# Reboot a windows box from Linux
Occasionally I have the need to reboot a windows box from Linux. Here is the command I use to do this.net -I {IP Address} -U Administrator rpc shutdown -r -f
-rw-r--r--
Oct 19 2007
convert-is-awesome.md
# convert is awesome
Someone was asking how to convert PDFs to JPGs and I thought to myself, surely there is a Linux utility to do this. Well ImageMagick comes with a utility called convert and the syntax is really easy.
-rw-r--r--
Oct 05 2007
accessing-mssql-from-php-on-linux.md
# Accessing MSSQL from PHP on Linux
Need to access a MSSQL database from php on Linux? The remi repository has php-mssql and all the dependencies. Look for the yum configuration link on the home page. Very easy.
-rw-r--r--
Oct 04 2007
screen.md
# Screen
If you haven't used screen yet, then you should really check it out. It's great for running those long jobs (or bittorrent, for legit purposes of course) and coming back to it at a later time. Anyway I always wished that I could share a screen session with another user. Well I should have read the man file because it is already there.
-rw-r--r--
Oct 04 2007
installing-with-media-is-so-90s.md
# Installing with media is so 90s
Because sitting in front of a computer and installing with media is so 90s, I provide these two links. There are many other places that describe the same thing.
-rw-r--r--
Oct 04 2007
automating-system-management.md
# Automating system management
I ran across a great utility called puppet to help manage Linux servers today written in Ruby. I hope to give it a try sometime soon.
-rw-r--r--
Mar 01 2007
linux-hangs-on-the-hp-dc7700.md
# Linux hangs on the HP dc7700
I was working with Altiris the other day and trying to get the HP dc7700 to boot Linux. The machine did not get too far before freezing. After some research I found out that you can add pci=nommconf as a option during boot and the machine boots properly.
-rw-r--r--
Mar 01 2007
dusting-off-the-site.md
# Dusting off the site.
I think it's about time I started making regular posts to this site. The last post was May 15th, 2004! Anyway, just installed WordPress and mostly ported my site design over to it. I got a few ideas of some quick posts I can make in the future. Enough rambling about nothing, come back soon.
-rw-r--r--
May 15 2004
warcraft-on-zaurus-sl-c860.md
# WarCraft on Zaurus SL-C860
I recently got warcraft working on my Zaurus SL-860 here are the details:CACkO Zaurus Qtopia ROM 1.21 Not 1.21alibsdl_1.2.5-slzaurus20031201 older version, but seems to workstratagus_2.0.0-1_arm.ipk Thanks lucho!
-rw-r--r--
May 15 2004
php-mail-form-v-08.md
# PHP Mail Form v. 0.8
Php Mail form aims to simplify sending creating email forms on your website.Download