Sunday, June 23, 2013

Catatan Command Prompt aka cmd

  1. Membuat menu Command Here pada Explorer
    Buat file "cmd.reg" dengan isi file sebagai berikut :
    
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Directory\shell\OpenNew]
    @="Command Prompt"
    [HKEY_CLASSES_ROOT\Directory\shell\OpenNew\Command]
    @="cmd.exe /k cd %1"
    [HKEY_CLASSES_ROOT\Drive\shell\OpenNew]
    @="Command Prompt"
    [HKEY_CLASSES_ROOT\Drive\shell\OpenNew\Command]
    @="cmd.exe /k cd %1"
    
    Simpan dan jalankan dengan klik kanan pada file di Windows Explorer - lalu pilih "merge"

  2. Koneksi SVN dengan/dibelakang proxy server
    Edit file 'servers' yang ada si folder Subversion, kemudian tambahkan value berikut :
    
    >edit %APPDATA%\Subversion\servers
    http-proxy-host=192.168.0.1
    http-proxy-port=80
    
    http-proxy-username=[username]
    http-proxy-password=[password]
    
    ftp_proxy=http://192.168.0.1:3128
    https_proxy=http://192.168.0.1:3128
    
    http_proxy=http://192.168.0.1:3128
    
    export http_proxy=http://192.168.0.1:3128/
    export https_proxy=$http_proxy
    export ftp_proxy=$http_proxy
    export dns_proxy=$http_proxy
    export rsync_proxy=$http_proxy
    export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
    
    
  3. ..

No comments: