Feb
28
Zend Server Community Edition for Mac OS X – MySQL problem
February 28, 2010 | 1 Comment
I switched my dev. environnement at work from MAMP to Zend Server Community Edition a while ago but was disappointed that my Mac Book could not migrate because of a MySql error. Every time I would try to run the server, I would get the following error:
1ERROR! MySQL PID file could not be found!
Googling [...]
Feb
14
CodeColorer List of supported languages
February 14, 2010 | 1 Comment
A very quick post to list the languages supported by Code Colorer which I use on this blog. Everytime I write I find myself wondering which language is supported and how I should write it out for the plugin to work so here it is, for the record:
ABAP
ActionScript
ActionScript 3.0
Ada
Apache
AppleScript
Apt sources.list
asm
asp
autoit
avisynth
bash
basic4gl
bf
bibtex
blitzbasic
bnf
boo
c
c_mac
caddcl
cadlisp
cfdg
cfm
cil
cmake
cobol
cpp-qt
cpp
csharp
css
d
dcs
delphi
diff
div
dos
dot
eiffel
email
erlang
fo
fortran
freebasic
genero
gettext
glsl
gml
gnuplot
groovy
haskell
hq9plus
html4strict
idl
ini
inno
intercal
io
java
java5
javascript
kixtart
klonec
klonecpp
latex
lisp
locobasic
lolcode
lotusformulas
lotusscript
lscript
lsl2
lua
m68k
make
matlab
mirc
modula3
mpasm
mxml
mysql
nsis
oberon2
objc
ocaml-brief
ocaml
oobas
oracle11
oracle8
pascal
per
perl
php-brief
php
pic16
pixelbender
plsql
povray
powershell
progress
prolog
properties
providex
python
qbasic
rails
rebol
reg
robot
ruby
sas
scala
scheme
scilab
sdlbasic,
smalltalk
smarty
sql
tcl
teraterm
text
thinbasic
tsql
typoscript
vb
vbnet
verilog
vhdl
vim
visualfoxpro
visualprolog
whitespace
whois
winbatch
xml
xorg_conf, xpp
yaml
z80
An impressive list which should [...]
Feb
14
Enable Full Text Search with MySQL
February 14, 2010 | Leave a Comment
Before you jump and get a real Search Engine for your website, you might try the MySQL full text search feature.
It is incredibly easy to set up. All you need to do is setup the table and fields to be searchable as full text with the following command:
1ALTER TABLE Table_Name ADD FULLTEXT(field1, field2);
Then, simply write [...]
Feb
13
Setting up Code Igniter
February 13, 2010 | 1 Comment
A few months ago, we jumped into Teeorama, a PHP based online tee-shirt store front end for Spreadshirt. We finally completed the project and we’re planning on opening it to the public tomorrow. By the way, if you feel you could use a new Geek shirt, please head over to teeorama.com before reading on…
When I [...]
Feb
11
Code Syntax Highlighter for Open Office
February 11, 2010 | 1 Comment
Today I tried a new task at work. Instead of coding, I wrote about coding. This is a scary thing to attempt, especially if your writing is aimed for people from the other side of the wall. Those who look with suspicion at your screen when all you have showing is a dark console window, [...]
Jan
21
Where are your users from?
January 21, 2010 | 1 Comment
If you ever wonder where your readers are from, if you ever need to adjust your application to the origins of its users; you can determine the geographic location of a connection by using an IP to Country table.
I should start by saying that I do not always like the way websites use this feature. [...]
Jan
16
PHP Help as a Man Page (with Pear)
January 16, 2010 | 1 Comment
Alexandre blogged last week about how to install pman and add a contextual help within VI for PHP functions. Tthis post is merely a quick note of the procedure. I like the speed of pman as opposed to browsing php.net. I didn’t install the VI part, I use Textmate these days.
The procedure is actually straight [...]
Aug
21
We were in need of a Wordpress plugin allowing us to add any HTML code in our posts for our Filmmaking blog World Wide Angle. Looking around on Google a little I stumbled upon EmbedIt by Matteo Ionescu. The plugin allows you to add a tag in your code like [HTMLx] and have it replace [...]
Jun
7
Debian: Naming USB devices with uDev
June 7, 2009 | 1 Comment
I use three different small backup drives as three backup volumes. I turn them on on sunday, the backup scripts runs overnight, and I turn them off on monday morning. I’ve shared the backup script in a previous post.
The problem is that the backup script starts by mounting the backup drives. It expects them to [...]
Apr
15
Debian: remove unused packages
April 15, 2009 | 1 Comment
Two days ago, I ran into a strange problem with my email server which refused to send any more emails. It turned out my hard drive was full… I started by emptying the tmp directory and running aptitude clean and aptitude autoclean but that wasn’t enough to free enough space to allow me to breathe [...]