Posted by Tim |
Thursday, 11 November 2012 |
General
Entrepreneurs like being around other entrepreneurs. At least, that’s the idea behind the creation of four startup hubs that opened at the end of last month. “We’ve learned that entrepreneurs want to be in places with the best networks – be they technical, financial or social – which enable them to explore and test great ideas and to find the […]
I get many errors while trying to send text messages through my HTC EVO with Virgin Mobile as the provider. I would get error messages stating radio interface resource shortage. I found this tutorial that provides a fix. So far I’ve been able to send out text messages after the updates. View at youtube or watch below.
Posted by Tim |
Tuesday, 10 October 2012 |
General
Image Lazy Load article for Android. This posts lists good examples for loading images more efficiently in Listviews.
This script will check to see if a daemon is still running. The daemon name is set in the PROCESS_NAME variable. The pgrep command searches for the process to see if it’s running. If no threads are found then the dameon is started back up and the script exits. In this example the script checks to see if the apache2 […]
By default the Kindle is in in debug mode. I’m running Mac OS X Lion and I wanted to get adb to recognize the Amazon Kindle. I’ve added the following to ~/.android/adb_usb.ini # run this command to add 0x1949 to the adb_usb.ini file $ echo 0x1949 >> ~/.android/adb_usb.ini You’ll need to kill adb if it’s running and restart it. adb […]
I’ve had issues grepping for text inside SVN repositories. The main issue is that grepping inside SVN codebases will return binary and .svn results. I’ve run into this probably most frequently when using Mac OS X. For some reason the –exclude argument doesn’t work for me and –exclude-dir is not supported in a default Mac OS X installation ( at […]
Posted by Tim |
Monday, 12 December 2011 |
General
If you are using WebDAV with WordPress then most likely the WordPress .htaccess file will break the WebDAV configuration. One basic work around for this is to turn off the Apache Rewrite Engine for the directories that you want to enable WebDAV for. # cd into a directory within your html root where you want to enable WebDAV $ cd […]
Posted by Tim |
Tuesday, 12 December 2011 |
General
I’m noticing in my version of Centos on AWS that there are new package names for the installation of mysql: yum install MySQL-client-community MySQL-devel-community MySQL-server-community In addition there is a conflict in getting php to work with mysql. Install the MySQL-shared-compat-5.1.47-1.rhel4.i386.rpm, it resolves the need for the old mysql lib dependencies for php-mysql, install first this rpm and after this, […]
Posted by Tim |
Wednesday, 11 November 2011 |
General
This is a basic iptables firewall script for downloading bittorrents: #!/bin/sh iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X #modprobe ip_conntrack #modprobe ip_conntrack_ftp # Setting default filter policy #iptables -P INPUT DROP iptables -P OUTPUT ACCEPT # Unlimited access to loop back iptables -A INPUT -i lo -j […]