Click on an empty space on the left pane, enable: "Show all folders" and "Expand to current folder"
Source
Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts
Thursday, July 10, 2014
Wednesday, June 25, 2014
Windows - Track and kill the right process
If you try to delete a file/folder and Windows stop you, because there's alread an other process which lock it, then you can use Process Explorer to track and kill that process.
- Download & Install Process Exploerer
- Find -> Find Handle or DLL ...
- Insert the path of the file in "Handle or DLL substring:"
- Click the "Search" button
Tuesday, May 13, 2014
SVN - Credentials for corporate proxy
There a simple way to add the credentials to the svn client:
%appdata%\Subversion\servers
http-proxy-host=proxy-corpo
http-proxy-port=80
http-proxy-username=username
http-proxy-password=password
%appdata%\Subversion\servers
http-proxy-host=proxy-corpo
http-proxy-port=80
http-proxy-username=username
http-proxy-password=password
Linux - Dual boot Windows 7 / Ubuntu [external link]
Step by step tutorial to install a dual boot:
www.dedoimedo.com/
Friday, April 11, 2014
Cygwin - Install (Windows)
www.cygwin.com
Add modules:
- dos2unix (Utils \ dos2unix)
- xsltproc (Libs \ libxslt)
- wget (Web \ wget)
- curl (Net \ curl)
- nc (Net \ nc)
- git (Devel \ git)
- svn (Devel \ subversion)
- ssh (Net \ openssh)
- scp (Net \ openssh)
- openssl (Net \ openssl)
Monday, March 17, 2014
Find path
Linux/UNIX/Mac OS X:
$ which java
Windows XP
for %i in (java.exe) do @echo. %~$PATH:i
Windows since 2003
where java
$ which java
Windows XP
for %i in (java.exe) do @echo. %~$PATH:i
Windows since 2003
where java
Tuesday, February 4, 2014
Commit Monitor - Install (Windows)
Commit Monitor is doing monitoring on the SVN server, so you can be notified when others are committing new modifications.
http://stefanstools.sourceforge.net/CommitMonitor.html
Cntlm - Install (Windows)
Cntlm is an NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy
- Downdload from the official website : cntlm.sourceforge.net
- Unzip to the destination folder, we will call it CNTLM_HOME, ex.: C:\dev\Cntlm
- Create an environment variable (if you don't know how, click here)Name: CNTLM_HOME
Value: C:\dev\Cntlm (it's only an example, choose your destination's folder) - Add to the PATH this new variable CNTLM_HOME (if you don't know how, click here)
- Take a backup of the original configuration file %CNTLM_HOME%\cntlm.ini => cntlm.ini.default
- Remplace the content of the file in %CNTLM_HOME%\cntlm.ini by...# Cntlm Authentication Proxy ConfigurationUsername testuserDomain corp-uk# List of parent proxies to use. More proxies can be defined# one per line in format <proxy_ip>:<proxy_port>Proxy proxy-name:8080# List addresses you do not want to pass to parent proxies# * and ? wildcards can be usedNoProxy localhost, 127.0.0.*, 10.*, 192.168.*# Specify the port cntlm will listen on# You can bind cntlm to specific interface by specifying# the appropriate IP address also in format <local_ip>:<local_port># Cntlm listens on 127.0.0.1:3128 by defaultListen 3128Auth NTLMv2PassNTLMv2
- Replace by your own personal informations:Username testuserDomain corp-ukProxy proxy-name:8080
- In commande line type this command and enter your password :>cntlm -I -M http://test.com -c C:\dev\Cntlm\cntlm.ini[PASSWORD]Password:Config profile 1/4... OK (HTTP code: 200)----------------------------[ Profile 0 ]------Auth NTLMv2PassNTLMv2 AA1A11AAA11AAAA1AA11A1AAAA11A11A------------------------------------------------Notice: If you get an HTTP code 302, it's fine too.
- Copy the value of PassNTLMv2 from the output AA1A11AAA11AAAA1AA11A1AAAA11A11A to the file cntlm.ini, on the same line as PassNTLMv2
- In commande line:> cntlm -f -c C:\dev\Cntlm\cntlm.inicntlm: PID 15264: Cntlm ready, staying in the foreground
Adding a folder to the PATH (Windows)
The PATH variable in Windows is the list of the folders you can have directly access to their files in command line. They are separated by a semicolon (;) and actually you can have to PATH variables, one for the user and an other for the system, but in the end they are merged.
The path "C:\dev\Java\jdk1.7.0_51\bin" is now declared in the PATH.
- Press [Windows] + [Pause] keys
- Click on the "Advanced" tab
- Click on the "Environment Variables" button
- Choose the scope's level : "User variables for xyz" or "System variables" and select the PATH variable
- Click on "Edit" button
- In the value's field, go to the end of the current value and add a semicolon if there's not already one, then add the path to the folder you want to add, ex.: "%SystemRoot%\system32;C:\dev\Java\jdk1.7.0_51\bin". If you want to use an other environment variable's value, simply specify the name of the value surrounded by the percent character (%), ex.: "%SystemRoot%\system32;%JAVA_HOME%\bin" would have the same result if the JAVA_HOME variable contain the value "C:\dev\Java\jdk1.7.0_51".
- Click on the "OK" button
- Click on the "OK" button
- Click on the "OK" button
The path "C:\dev\Java\jdk1.7.0_51\bin" is now declared in the PATH.
Creating an environment variable (Windows)
An environment variable is a variable you can have access from anywhere in the Operating System, for example in command line:
> echo %USERNAME%
elenigen
Some are already available in Windows, like USERNAME, USERPROFILE, PATH, etc. Some can be created by the user. You can even choose the scope of the variable, by creating it in the user or system's level.
> echo %USERNAME%
elenigen
Some are already available in Windows, like USERNAME, USERPROFILE, PATH, etc. Some can be created by the user. You can even choose the scope of the variable, by creating it in the user or system's level.
- Press [Windows] + [Pause] keys
- Click on the "Advanced" tab
- Click on the "Environment Variables" button
- Choose the scope's level : "User variables for xyz" or "System variables"
- Click on the "New" button
- Enter variable's name and value.
- Click on the "OK" button
- Click on the "OK" button
- Click on the "OK" button
The new variable has been created! The tricky part now is, all current command line windows which were already opened before the creation of this new variable, they don't have access to it, so you need to close and reopen the command line.
See also:
ss64.com/nt/syntax-variables.html
See also:
ss64.com/nt/syntax-variables.html
Monday, February 3, 2014
Port already in use (Windows)
If you have difficulty to start a server on Windows, verify first that the port of the server is still free (ex.: 80).
In command line:
> netstat -aon | find /i "listening"
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 13036
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 740
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 13036
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 488
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING 784
TCP 0.0.0.0:5000 0.0.0.0:0 LISTENING 1116
TCP 0.0.0.0:5631 0.0.0.0:0 LISTENING 1188
TCP 0.0.0.0:8008 0.0.0.0:0 LISTENING 1380
TCP 127.0.0.1:1075 0.0.0.0:0 LISTENING 4980
TCP 127.0.0.1:5152 0.0.0.0:0 LISTENING 1468
TCP 172.26.156.30:139 0.0.0.0:0 LISTENING 4
TCP 172.26.156.30:52028 0.0.0.0:0 LISTENING 1116
And then, you just need to find what is this process for:
> tasklist | find /i "13036"
httpd.exe 13036 Console 0 1,024 K
In command line:
> netstat -aon | find /i "listening"
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 13036
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 740
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 13036
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 488
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING 784
TCP 0.0.0.0:5000 0.0.0.0:0 LISTENING 1116
TCP 0.0.0.0:5631 0.0.0.0:0 LISTENING 1188
TCP 0.0.0.0:8008 0.0.0.0:0 LISTENING 1380
TCP 127.0.0.1:1075 0.0.0.0:0 LISTENING 4980
TCP 127.0.0.1:5152 0.0.0.0:0 LISTENING 1468
TCP 172.26.156.30:139 0.0.0.0:0 LISTENING 4
TCP 172.26.156.30:52028 0.0.0.0:0 LISTENING 1116
And then, you just need to find what is this process for:
> tasklist | find /i "13036"
httpd.exe 13036 Console 0 1,024 K
Subscribe to:
Posts (Atom)