- cntlm - developed in C, still active (Last Update:
Last Update:
Friday, November 16, 2012
Simple proxy server for NTLM
I was never successful in getting maven run at office due to the proxy setup, which supports NTLM authentication. While looking a proxy server that supports NTLM auth, I was also looking if they support modifying request/response headers etc. or act as a caching proxy. Here is the list so far:
Misc CMD commands
net start : lists all running services
net config workstation : to get the logged on user info
net stop "service name" : to stop a particular service
net use drive_letter: \\computername\sharename : to map a share with a drive name
net use drive_letter: /delete : to unmap the mapped share
sc query type= service state= active : to get all active services
sc query type= service state= inactive : to get all stopped/inactive services
sc query type= service state= all : to get all services
Sources
Services Query
CMD optons
net config workstation : to get the logged on user info
net stop "service name" : to stop a particular service
net use drive_letter: \\computername\sharename : to map a share with a drive name
net use drive_letter: /delete : to unmap the mapped share
sc query type= service state= active : to get all active services
sc query type= service state= inactive : to get all stopped/inactive services
sc query type= service state= all : to get all services
Sources
Services Query
CMD optons
Tuesday, May 29, 2012
git setup - windows
Chronologically this post should come before the git command quick ref, but was too lazy to write this down at that time and struggled again when time came to move to a new laptop. So here are the steps I followed:
- Download the msysgit (exe/zip) whichever you prefer, I usually go for the zip version always. I have not yet tried, but you may choose to use the GUI as well. The default gui that comes with msysgit is good enough also.
- Do not add the bin folder to your path if using any unix utils port or cygwin as there will be lot of conflicts. Just add the upto the git folder to the path, which contains a batch file git-bash.bat. Once you run this, you will get a shell prompt and all the git commends will be available from here.
- git will store all settings to %HOME% folder, which will not be defined usually on windows and will default to your profile directory C:\Documents and Settings\user on XP. Thanks to VonC, he mentions a nice setting. Change the %HOME% to whatever folder you want in the file profile within etc folder. Search for the line "# Set up USER's home directory". Once in the git-bash shell, / (forward slash) aka root is pointed to the git setup folder. If you prefer to have your settings stored within this, just set HOME to /yourname.
- Minimally we just need to setup user name and email to start using git and there are 3 scopes available - system, global and local. You can refer to the freely available Pro Git book to learn about them and more about Git.
Tuesday, May 22, 2012
I wanted to try open office 3.3 after a long gap. I used it when it was 2.0, but later to install it you need admin privileges, which I do not have. I found below entries, which explain clearly how to install with out admin rights. They do work:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=74&t=12426&sid=6ca36398e6f4881f3bcc689f27fcc9cc
http://www.oooninja.com/2009/03/openofficeorg-3-install-portable-how.html
http://user.services.openoffice.org/en/forum/viewtopic.php?f=74&t=12426&sid=6ca36398e6f4881f3bcc689f27fcc9cc
http://www.oooninja.com/2009/03/openofficeorg-3-install-portable-how.html
Subscribe to:
Posts (Atom)