Posts

Adding Kogan To Android Devices List

After installing android sdk you should have adb_usb.ini located in ~/.android location. Edit the file and add the vendor id (0x2207) into the next available line. You can find the vendor in the mac system report if the tablet is connected via usb. Once you have done the above, run the command adb kill-server then adb start-server then adb devices and you should see your devices connected. Reason for this is because the cheap Kogan that we have isn't in the list of common devices added by Android. Don't blame them with 1000000000000 created each day I couldn't be bothered either.

Make your own remix

Image
http://www.arnelefant.de/iClip_fuer_html.swf

Removing *.ext files from your volumes

Works for all linux based machines. :) find . -iname "*.txt" -exec rm '{}' ';' find . -iname "*.sfv" -exec rm '{}' ';' find . -iname "*.nfo" -exec rm '{}' ';' Replace the . with your location. Most of the time I'm located in the folder to execute the command. :) Lovely ^_^

CodeIgniter MSSQL Statement Has Been Terminated

We were spending hours trying to figure out the issues why our result sets weren't completed when returned. Mins were spent trying to figure out the stored procedure but we were able to identify the issues coming from our php setups over on the web server end. Finally resorted to freetds being the issue. Logs were just pilling up indicating the issues with bad stored procedure writing. dbutil.c:86:msgno 515: "Cannot insert the value NULL into column 'LaunchDate', table 'tempdb.dbo.#ProductGridView____________________________________________________________________________________________________000000000305'; column does not allow nulls. INSERT fails. Oh lala! Its fixed! "You don't make friends with salad.. "

Setting Up CI From Scratch

ServerAdmin webdeveloper@developer.com DocumentRoot "/var/www/htdocs/your-directory" ServerName your-url.dev ErrorLog "logs/error_log" CustomLog "logs/access_log" common Enable virtual host in httpd config file Change the Directory setting in httpd config file Setup /etc/hosts to point it correctly Install .htaccess file on the directory Chmod +x /var/www Restart Apache Voila!

Aaaaah Melbourne Love

Image
Am missing you so much.

Bash Scripting

Locate this: /etc/bashrc Add this: PS1="\n\[\033[1;36m\]\u\[\033[1;37m\] \[\033[0;36m\]`date`\n\[\033[0m\][\[\033[1;33m\]\w\[\033[0m\]]" And you'll look just wonderful!