I have just came across a very stupid idea that is implanted in OS X (Snow Leopard at least). Believe me it doesn’t make sense as the computer administrator to have it setup this way. When I go to sharing -> File Sharing and then open the options window. I get options on setting up …
Author: Jeremy
$smcFunc as a static method via overloading
This was more of something I wanted to play with. I wanted to convert $smcFunc into a method. So for instance lets say $smcFunc[‘db_quote’]() would be smcFunc::db_quote(). This wasn’t looking good at first. I thought I could use __construct and just intercept what is going on. But static calls do not use __construct. So this …
SimpleDesk Download Manager
For the SimpleDesk website, I made a very easy to use and very sleek download manager. Complete with branch, version, file and mirror management. Simply put, this thing is very powerful and flexible. While I didn’t add it in, I could easily expand this script to manage multiple pieces of software as well.
Moving mysql
Time to move my mysql data directory to another drive. So its up to some simple commands to get me started. First my my.conf file. $ sudo mv /etc/mysql/my.cnf /home/configs $ sudo ln -s /home/configs/my.cnf /etc/mysql/ I should note that the way I installed mysql (apt-get), a debian.cnf file is created. I haven’t even bothered …