delete stale remote branches with git

You delete remote branches with git simply with: git push origin :branchname I noticed I see this deleted branch when I do git branch -a on my laptop. The way you delete the remote branch from your local list of remote branches is with this: git branch -rd origin/branchname References: http://help.github.com/remotes/  

FxCop error CA0001 on build server

My Windows 2003 TeamCity build server started acting up all of a sudden. The exception didn’t say a whole lot but it turned out I need to register msdia100.dll to shut it up. It resided on my dev machine here: “C:\Program Files\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\msdia100.dll” Register this dll on your build machine as: regsvr32 msdia100.dll [...]

Simplest git repository setup on windows server

Git is awesome, you should know that. I had to setup a central git repository for a small team in a Windows shop. The simplest setup to get started is as follows. On the Windows Server: Install git (http://code.google.com/p/msysgit) Create and share a folder where you will use it as central repository (C:\repositories\myproject). Setup whatever [...]

Repository Pattern – Part Four

If you like to take a look at previous posts, here they are: Part 1 Part 2 Part 3 There are few things I’d like to do to evolve the repositories. Use Linq for specifications Introduce Unit of Work (UoW) Linq for specifications I used specification objects to build specifications to create query criterion previously. [...]

python interactive console intellisense

Great tip! http://fernandotakai.wordpress.com/2008/06/17/adding-autocomplete-to-a-python-console/

git add nuances

As a git newbie, I keep forgetting the difference between “git add .” and “git add -A”. git add -A stages All git add . stages new and modified, without deleted git add -u stages modified and updated, without new http://help.github.com/git-cheat-sheets/

node.js installation in ubuntu

You can clone the git repository and build it or simply do this: sudo add-apt-repository ppa:jerome-etienne/neoip sudo apt-get update && sudo apt-get install nodejs

Rails 3 Console Error

I could not start the rails console while I was in the project directory with: rails c Issue was with readline and ncurses libraries. Go to ~/.rvm/src/ruby-1.9.2-p0/ext/readline ruby extconf.rb make make install That should do it…

webmin installation on ubuntu

Edit repository list, update apt-get, get the key and install webmin. sudo vim etc/apt/sources.list deb http://download.webmin.com/download/repository sarge contrib wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc apt-get update apt-get install webmin https://localhost:10000

Natural Language Processing Terminology

Generic terminology about NLP (Natural Language Processing): Collocation - A collocation is a sequence of words that occur together unusually often. Thus red wine is a collocation, whereas the wine is not. A characteristic of collocations is that they are resistant to substitution with words that have similar senses; for example, maroon wine sounds very odd. [...]

Follow

Get every new post delivered to your Inbox.