Category Archives: quickfire

Why use ZFS with FreeNAS?

I recently started using FreeNAS again after exploring other options that existed, such as openfiler, and now that I’ve returned, ZFS seems to be the cool thing to do.  After reading, watching videos and playing with ZFS I’m sold on all the features it offers.  However, I must ask, is there a compelling reason to [...]
Also posted in rants | Leave a comment

Rewrite incoming CallerID

We’re using asterisk, and as part of the dial plan, a 9 is required before the number to make calls out to the PSTN.  Since our phones have a incoming call log, it would be very convient to have asterisk rewrite the CallerID value on calls from the PSTN to include this leading digit.  I [...]
Also posted in tips | Tagged | Leave a comment

Share list of files in DropBox Public folder

For Windows DropBox users. Here is a simple way to share list of links for your Public folder. This script doesn’t show files in sub-directories. 1. Create a makefilelist.bat file with script to list all files in directory. 2. Use Scheduled Tasks to run the .bat file Daily or Weekly, etc as needed; depending on how often [...]
Posted in quickfire | Tagged | 1 Comment

Asterisk GotoIf Application

The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse]). I have not used labels in the dial plan [...]
Also posted in tips | Tagged | Leave a comment

Quick install of Tomcat5 on CentOS

At the office, we’re in the process of doing some work where we need a tomcat server.  Without having to get into things to much, I found this simple method for getting tomcat5 up and running pretty quickly.  I’m sure I’ve left out some important things, and I’m doubtful as to how production ready this [...]
Also posted in tips | Tagged , | Leave a comment

Burn ISO from command line in Linux

Quick and simple way of burning an ISO image from the command line in Linux.  First, find your devices with wodim, the use the cdrecord command to burn the ISO image. $ wodim --devices wodim: Overview of accessible drives (1 found) : ------------------------------------------------------------------------- 0 dev='/dev/scd0' rwrw-- : 'LITE-ON' 'DVDRW LH-20A1P' ------------------------------------------------------------------------- $ cdrecord -v dev='/dev/scd0' Download/archlinux-2009.08-netinstall-i686.iso Then, you’re done.
Posted in quickfire | Tagged | Leave a comment

Launch Google Chrome and external links with incognito mode.

The instructions floating around are to place the --incognito switch (single – works fine for me) in your desktop shortcut. But sometimes you may be in an application like Tweek Deck, etc that links to webpages. These pages don’t launch in incognito if you only fix your desktop shortcut. Here is how to do both. [...]
Also posted in tips | Tagged , | Leave a comment

Find Text and Find/Replace Easier Than You Think in Linux

How to search all files for a text string: grep -lr string ./ > results.txt -l will print only the path and file names of the matches. Search all files of a certain name for a certain string: grep -lr string ./ | grep filename Yes, do specify ./ if you are doing all directories within current. (source and more info) Find [...]
Also posted in tips | Tagged , , , , , | 1 Comment

Installing Dropbox on Ubuntu (and others)

I’ve been using dropbox to sync and share files between my various computers for quite some time, and overall have been very pleased.  However, one area things are not so great… documentation for installation on Linux.  After having to reinstall on my notebook, I decided to somewhat document the hidden part of the process. After downloading [...]
Also posted in tips | Tagged , | 1 Comment

Modify Windows XP routing table

During some network changes I’ve found the need to modify the routing table. To change the default route on Windows XP (and possibly Windows Vista, 2000, etc) you use the route command. The syntax is pretty simple, here is a quick example…. route change 0.0.0.0 mask 0.0.0.0 172.18.12.120 To delete or add routes, simply change the keyword [...]
Also posted in tips | Tagged , | Leave a comment