Browsing the archives for the General tag

Wordpress Syntax Highlighter

Can anybody recommend a good SyntaxHighlighter for Wordpress? I’ve been using SyntaxHighlighter Plus for over 1year already, and its been always giving me headaches on character escaping with html/php codes. Now its been refusing to cooperate with indenting Java codes.

0 Comments

Bash script to backup mysql database

This is the first bash script I wrote, I used crontab to periodically backup and compress a mysqldb in a shared hosting environment

#!/bin/sh
user=testdbuser
password=testdb
dbname=testdb
location=~/db_backups
ts=$(date ‘+%Y%m%d-%H%M’)

mysqldump -u$user -p$password –opt $dbname > $location/temp-$ts.sql
cd $location
tar -cvzf $dbname-db-$ts.tar.gz temp-$ts.sql
rm -f temp-$ts.sql

0 Comments

5 ways to pissed off your teammates

These are all speaking through experience

Stubbornly kept on using deprecated code knowing that it will be remove from the code base in the next version, thereby hindering a smooth transition.
Violating all of the company’s coding and naming standards making things difficult to trace for bugs when you go on leave all of a sudden!
You raise [...]

0 Comments

New Toy: Razer DeathAdder

Admittedly I suck at first person shooters, so regardless of what I’m using I still suck, the only question is which one would allow me to suck a little less. I was using Microsoft’s Wireless Laser Mouse 8000 which is a bluetooth mouse that has terrible response time when it comes to gaming and is [...]

1 Comment

Enterprise and their sucky frameworks

No i’m not talking about frameworks that addresses their own unique business needs. I’m talking about your ORMs, MVC web frameworks, javascript (including ajax) frameworks, but for now i’m talking about your everyday java enterprise application. There is at least one of this monstrocities that is being build in every big company under the pretense [...]

3 Comments

5 things that suck about weak typing

We all love our scripting languages with its simplicity, elegant and beautiful syntax, and the ability to quickly hack together a solution. One of the common features of most scripting languages is being weakly typed. Meaning that we don’t have to declare the variable’s data type before we use it; to some developers this is [...]

10 Comments

Oh no its PHP!!!

A few months ago I was doing some job hunting and i’ve come across some interesting job interviews in the process. Now I have a good mixture of full-time work and freelance work, and most of my freelance work consists of enterprise PHP web applications; while my full-time work primarily consists of J2EE and Oracle.
During [...]

7 Comments

Injecting technology to conservative management

During the course of my freelance work, i’ve encountered my fair share of conservative management. The fear, sometimes warranted, of migrating processes to use technology is staggering to the point of being absurd and sometimes humorous. Granted most of this businesses have experience using some form of technology, and they have been burned numerous times [...]

0 Comments

New home!

Hi! Welcome to my new home, a place to share technology related ideas and random rants. Also a place to post new development updates for a still to be announced venture.

0 Comments