Integrating Notepad++ with Sliksvn

I have recently started to use Notepad++ as my primary code editor. For source code management, I use SVN. There are lots of extensions available for integrating TortoiseSVN with Notepad++, but none available for SlikSVN. However, using NPPExec (install it through Plugins->Plugin Manager->Show Plugin Manager) extension, it’s pretty easy to integrate SlikSVN command line svn tool with Notepad++.

* Open Notepad++
* Press F6 to open the execute window
* Type the following commands:
o NPP_SAVEALL
o CD $(CURRENT_DIRECTORY)
o c:program filessliksvnbinsvn.exe -m ” commit
* Click on Save
* Type a name, ‘SVN Commit’, to save the script
* Go to Menu Plugins -> Nppexec -> Advanced Options -> Menu Item
* In the combobox select the script recently created, select a menu name, ‘SVN Commit’, and click ok
* Go to Menu Settings -> Shortcut mapper -> Plugins -> search for the script name
* Select the shortcut to use , Ctrl + Alt + 1 , click ok

For update command, use the same process, just replace the commit command with update while creating the script file, different menu name and a seperate kyeboard shortcut.

Amitabh

Advertisement

64 bit guests in Virtualbox on Ubuntu 11.10 host

If you are interested in installing 64 bit guests within virtualbox host running on Ubuntu (11.10), you will have to add the extension pack for the same version before Virtualbox enables the 64 bit guest versions.

To install virtualbox, use the files from virtualbox site itself, as they contain the latest upgrades and bug fixes. The code below installs the latest in 4.1 series, change for whatever is the current version.

sudo sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list" && wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - && sudo apt-get update && sudo apt-get install virtualbox-4.1 dkms

Now dowload the extpak for virtualbox. The exact file to be downloaded can be known from the download link.

wget http://download.virtualbox.org/virtualbox/4.1.12/Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack

Install the extpak

sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack

This should do the trick.

Amitabh

Installing Asterisk with DAHDI in FreeBSD 9

If you are installing Asterisk(/usr/ports/net/asterisk) with DAHDI(/usr/ports/misc/dahdi) support in FreeBSD, make sure you have FreeBSD src installed in /usr/src, as that is required to compile DAHDI port . This is as of 06th April, 2012 .

[Update] Dahdi port now correctly refuses to build if source is not found in /usr/src