Archive for the 'Technology' Category

CentOS 5 Asterisk Install Commands

Tuesday, November 6th, 2007

This should get close to installing asterisk on CentOS 5. Current as of 11/06/2007, changes like the weather though…. yum -y install mysql-devel mysql-server curl-devel kernel-devel newt-devel gcc-c++ bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc cd /usr/src ln -s kernels/2.6.18-8.1.15.el5-i686/ linux wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.13.tar.gz wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.4.5.1.tar.gz wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.1.tar.gz wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.4.tar.gz tar -xzvf asterisk-1.4.13.tar.gz […]

Building pdftk on VPS cannot allocate memory

Tuesday, September 11th, 2007

I found this solution at http://www.schmalenegger.com/virtual-server-compiling-error-cannot-allocate-memory/ Sometimes when you compile certain things on a virtual server from source, you may receive the following error message: “virtual memory exhausted: Cannot allocate memory” error. The following is a quick tip that at least worked for me. List the amount of virtual memory allowed: [root@vps /]# ulimit -a […]

How do I import delimited data into MySQL?:

Monday, December 11th, 2006

How do I import delimited data into MySQL?: LOAD DATA INFILE “./ImportData.csv” INTO TABLE table1 FIELDS TERMINATED BY “,” OPTIONALLY ENCLOSED BY “””” LINES TERMINATED BY “\r\n”;

Nice SQL Query tool

Friday, September 22nd, 2006

This tool is handy.  You can run it from a command line to do SQL queries and dump the results to a text file.  Great for hacked together scheduled queries and the like. George Poulose’s Home Page Query Tool (using ADO) is a Universal Data Access (UDA) tool. It lets you query OLE DB data […]

Online Form Creators

Wednesday, September 20th, 2006

Here are two options for creating nice looking forms with a wizard.  You can then download the code and put it on your own host, or they’ll host it for you. The Form Assembly JotForm