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/
All posts by Altug Sahin
delete stale remote branches with git
Posted by Altug Sahin on November 25, 2011
http://altugsahin.wordpress.com/2011/11/25/delete-stale-remote-branches-with-git/
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 [...]
Posted by Altug Sahin on November 18, 2011
http://altugsahin.wordpress.com/2011/11/18/fxcop-error-ca0001-on-build-server/
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 [...]
Posted by Altug Sahin on October 28, 2011
http://altugsahin.wordpress.com/2011/10/28/simplest-git-repository-setup-on-windows-server/
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. [...]
Posted by Altug Sahin on June 15, 2011
http://altugsahin.wordpress.com/2011/06/15/repository-pattern-%e2%80%93-part-four/
python interactive console intellisense
Great tip! http://fernandotakai.wordpress.com/2008/06/17/adding-autocomplete-to-a-python-console/
Posted by Altug Sahin on January 20, 2011
http://altugsahin.wordpress.com/2011/01/20/python-interactive-console-intellisense/
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/
Posted by Altug Sahin on November 30, 2010
http://altugsahin.wordpress.com/2010/11/30/git-add-nuances/
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
Posted by Altug Sahin on November 23, 2010
http://altugsahin.wordpress.com/2010/11/23/node-js-installation-in-ubuntu/
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…
Posted by Altug Sahin on November 13, 2010
http://altugsahin.wordpress.com/2010/11/13/rails-3-console-error/
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
Posted by Altug Sahin on November 12, 2010
http://altugsahin.wordpress.com/2010/11/12/webmin-installation-on-ubuntu/
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. [...]
Posted by Altug Sahin on October 20, 2010
http://altugsahin.wordpress.com/2010/10/20/natural-language-processing-terminology/