-
Recent Posts
- VMware Fusion 4 Black Screen
- How can I configure different emails for different Git servers or repositories?
- How to install telnet client in Windows 7
- Subversion security issues – .svn directory has your source code in it
- Subversion Update: Can’t move .svn/tmp/entries to .svn/entries: Operation not permitted
Blogroll
My Photography Sites
Recent Comments
Archives
- November 2011 (2)
- October 2011 (1)
- August 2011 (4)
- July 2011 (9)
- June 2011 (2)
- July 2009 (1)
- July 2008 (1)
Categories
- Apple (1)
- OSX (1)
- Database (4)
- MySQL (4)
- Linux (5)
- OSes (2)
- Programming (12)
- Code Snippets (3)
- Command Line (6)
- Debugging (1)
- languages (2)
- Source Control (3)
- Git (1)
- Subversion (1)
- Visual Studio (1)
- Server Administration (12)
- Database Administration (1)
- Web Servers (7)
- terminal (2)
- Virtualization (1)
- VMware Fusion (1)
- Apple (1)
Meta
Category Archives: Programming
How can I configure different emails for different Git servers or repositories?
“.gitconfig” in your home directory If you’re like me, and you wanted to configure a different email for different repo’s the first place you look is ~/.gitconfig. This is the default configuration for git for your account. You can set … Continue reading
Posted in Command Line, Git
Tagged Command Line, Git, source control
How to install telnet client in Windows 7
The Traditional Windows Install By default Windows 7 does not have the telnet client available, but you can fix that by the normal “add and remove windows components route”… Start > Control Panel > Programs > Turn Windows features on … Continue reading
Subversion security issues – .svn directory has your source code in it
Stop Publishing Your Source! Well, unless you’re working on an Open Source project that is. Many of the developers I have worked with on web based apps use a working copy for development purposes or even for staging servers (as … Continue reading
Subversion Update: Can’t move .svn/tmp/entries to .svn/entries: Operation not permitted
Just one little change to check in before the day is over, but my working copy needs to be updated first. Then I get this little gem of an error “Can’t move .svn/tmp/entries to .svn/entries: Operation not permitted”. It is … Continue reading
Posted in Source Control
Tagged chflags, Command Line, error, shell, Subversion, svn
Find out what process is listening on a particular port on a Linux server
I was recently trying to debug an app that had gone rouge on a server because of a PHP upgrade. It was a web based application listening on a particular port and after the upgrade it just returned 500 server … Continue reading
Posted in Command Line, grep, Server Administration, Web Servers
Tagged debug, debugging, Linux, netstat, networking, port, server administration, upgrade
Find all .htaccess files with a particular php configuration setting
After some testing on a server with a strange setup I needed to find all of the .htaccess files that might contain a particular php configuration directive. The pattern was unique enough that I would have probably just done a … Continue reading
Posted in Command Line, find, grep, Linux, Server Administration, Web Servers
Tagged .htaccess, Command Line, find, grep, PHP, server administration, shell
Case Sensitive Comparisons in MySQL Where Clause
How can I make MySQL treat my query as case sensitive? As with all good tools there’s more than one way to get the job done. Assuming you have access to change the structure of the table you have to … Continue reading
Posted in Code Snippets, Database, MySQL, SQL
Tagged case sensitivity, MySQL, SQL
Cannot load Zend Extension Manager – it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
After upgrading to PHP 5.3.x I’m receiving an error 12345$ php -v Cannot load Zend Extension Manager – it was built with configuration 1.2.0, whereas running engine is API220090626,NTS … This is because you have … Continue reading
Posted in languages, PHP, Server Administration, Web Servers
Tagged error, PHP, PHP 5.3, upgrade, Zend, Zend Guard, Zend Optimizer
How to Clean Up a Mac File in VI with ^M Line Endings
Replacing ^M with new line in VI Have you ever edited a file in VI that was created with a Mac text editor only to find you have one very long line with ^M characters where you are expecting line … Continue reading
Posted in Command Line, Linux
Tagged Command Line, control characters, file conversion, line endings, Mac, vi, vim
How do I find out what my IP address is?
Or what does my browser look like to the outside world? One of the problems with various kinds of network configurations and security is it might be a little hard to judge how your surfing looks to computers on the … Continue reading
Posted in Debugging
Tagged browsers, debugging, HTTP, HTTP Headers, IP Address