Monthly Archives

Good Kids 20″ Mountain Bike

after a bit of research it looks like i’m leaning towards a scott jr for ian’s next bike. MTBR contender #2 is the Ibex 320k it seems like every bike at the store is crap. they weigh a ton and the components don’t look like they’ll last. sure it’ll roll… but i want something he…

Read More...

concrete5

looks like concrete5 has a lot of potential. would consider using it for the next “wordpress” type project.

Read More...

FormIgniter for CodeIgniter and easy form generator!

Had to create a large form in CodeIgniter today and was looking for some toolkit, helpers, etc… Found FormIgniter and saved a ton of time!

Read More...

sites go down – malware, virus, ddos, etc…

currently facebook, twitter and blogger are DOWN… makes me feel human as a systems admin that these other HUGE sites with some of the brightest staff and best hosting solutions also experience hosting problems…   http://downrightnow.com/

Read More...

Apache2 HTTPS / SSL directory AND Password Protect

just a note. if you need to password protect a directory and add SSL / HTTPS support you need to put the protection code FIRST in your .htaccess file. when i had it after the https force it wouldn’t work. AuthType BasicAuthName “RESTRICTED AREA”AuthUserFile /var/www/vhosts/YourDomain.com/httpdocs/YourDirectory/.htpasswdrequire valid-user RewriteEngine OnRewriteCond %{SERVER_PORT} 80RewriteCond %{REQUEST_URI} YourDirectoryRewriteRule ^(.*)$ https://YourDomain.com/YourDirectory/$1 [R,L]

Read More...

Apache Force SSL https on directory

edit your .htaccess file: RewriteEngine OnRewriteCond %{SERVER_PORT} 80RewriteCond %{REQUEST_URI} DirectoryNameRewriteRule ^(.*)$ https://YourDomain.com/DirectoryName/$1 [R,L] this will force https on the directory “DirectoryName” replace DirectoryName with your directory and YourDomain.com with your domain.

Read More...

PHP Sitemap Generator

After a bit of searching I’ve found a nice solution for creating and submitting sitemaps to Google, Bing and Yahoo… PHPSitemapNG http://enarion.net/tools/phpsitemapng/download/#kiting

Read More...

MySQL SSH Export and Import Database in Shell Terminal

In your favorite shell you can export a MySQL database and Import using the following. on Ubuntu, my MySQL databases are located at /var/lib/mysql/database_name To Export a MySQL Database run: mysqldump -v -u username -p database_name > dumpfile.sql To Import a MySQL Database run: mysql -v -u username -p database_name < dumpfile.sql  

Read More...