Cygwin + VMware: Unable to resolve host address
When working with Cygwin inside VMware, I had the weird problem of not being able to download stuff using wget or cloning repositories with git because I got the following or similar error messages: Resolving google.de (google.de)… failed: Non-recoverable failure in name resolution. wget: unable to resolve host address `google.de’ I really don’t know what [...]
Editing GitHub Wikis locally with the Gollum Gem
You can easily edit your GitHub hosted wikis by cloning them to your local machines ( yes, the GitHub Wikis are also backed by Git ) and using your favorite text editor. Alternatively, GitHub open-sourced their Wiki software named Gollum which you can install as a Ruby Gem: $ gem install gollum This however will [...]
Git Hooks: Automatically checking out a repository after pushing to it
I’ve been experimenting with file-based blogging software (namely Blosxom) lately, and I wanted to automatically transfer my university notes from my computer to my server. I also wanted to add some versioning for backup, so the obvious thing to do was to use Git. Git Hooks are pretty easy to use. When creating a repository [...]
“undefined method `version’ for nil:NilClass” error when updating RubyGems
Today I tried to update RubyGems on my system (Mac OS X), and I was presented with the following error message: $ gem update –system Updating RubyGems ERROR: While executing gem … (NoMethodError) undefined method `version’ for nil:NilClass This guy saved my life by having posted a simple workaround: $ gem install rubygems-update $ update_rubygems [...]
SVN: Valid UTF-8 data followed by invalid UTF-8 sequence
Today, while working with SVN, the following error message was displayed when I tried to svn update on my production system: svn: Valid UTF-8 data (hex: [hex string]) followed by invalid UTF-8 sequence (hex: [hex string]) Quite unhelpful, isn’t it? I found out that this Problem was caused by a broken file name, and I [...]
ps showing user id insted of username
Today I had a weird problem with “ps”, which wouldn’t display the username of a certain process no matter what I did. The reason was, that ps doesn’t seem to display usernames longer than 8 characters. So you have to live with it, or just rename your user accordingly. This is where I found the [...]