Connecting to your VNC server over SSH is easily done and you most likely don’t need any special software to do so. Any system that has SSH installed can connect using an SSH Tunnel. I go into more detail about the concept on a separate post about mounting OSX AFS shares over SSH. First you [...]
PHP on OSX: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
When installing PHP and MySQL on OSX you may get the error Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’. Or you may also get “No such file or directory” when calling mysql_connect from a PHP page. This occurs because PHP is looking for the file mysql.sock in it’s typical installation location of /var/mysql/mysql.sock. [...]
Binding Flex TextInput UI Controls to a DataProvider
In Flex when you bind data to a UI control like a DataGrid, the grid cells refresh every time the dataSource changes. The reverse is also true if the DataGrid is enabled for editing. That is, the dataSource is also updated when you edit a cell. The TextInput can be bound as well so that [...]
Using WGET to automate web-based applications
wget in combination with cron is a useful utility for automating processes in a web application. It’s possible to run most scripting languages from the command line, but sometimes it’s tricky to get those to run correctly when they don’t have the server context. One simple way to achieve this is to write your automation [...]
Common UNIX Commands for Web Developers
Below are various examples of UNIX commands that I’ve found helpful when modifying web sites, configuration files and viewing log files on a server. Most UNIX commands have many options and parameters which I have not listed here. Instead I have given examples of practical uses. For more complete information on most command, you can [...]