Tag Archives: windows

cygwin with scp

We work on a windows pc on a java application. Windows because our company just provied us with these computers and installing a linux system is highly forbidden… but still our java applications will be deployed on linux machines… a few of us developer have 2nd pc for development, but i m not one of these lucky guys… ok vm ware is a solution, but i m kinda lazy… and currently see no downside on developing on windows… ok there is one… deployment…

we have a deploy script 🙂 .sh 🙁 and cygwin out of the box has no scp intalled… following manual explains, how this can be fixed 🙂  http://www.question-defense.com/2010/01/07/how-to-install-scp-and-ssh-on-windows-7-using-cygwin

odbc oracle connection windows

so i needed a odbc to oracle… sounds easy… was confusing and actually i dont know, what i did nor if it was a good solution…

simplest way should be downloading the Oracle 11g Client for Windows… but wait… this fucking this is 2GB big… wtf? so tried it with the Instant Client (50MB) and the odbc supplement (700KB)… installing these things is kinda easy… but what the hell it is i dont know… ok its a driver… hurray… but how does the connection work? dont know… after googling around a lot i finally found this… opened notepad, created the files… set variables… and actually could configure the connection… hurray… and it actually works 🙂

is this a good solution?

Process ID IIS

currently i need to debug my sourcecode remotly. but its an IIS and normaly runds three w3p3.exe with different AppPools… so how in hell can i figure out which process is mine?

actually there is an app for that 🙂

  1. open cmd
  2. goto systemroot\system32\inetsrv
  3. run: appcmd list wp
  4. tada… 🙂

source

or create a .bat file:

systemroot\inetsrv\appcmd list wp
SET /P anykey=[promptString]