2016 Year End Review

做得好的地方: 肯做 research 愿意与人分享 来年的 Expectation (潜台词是做得不好的地方): People Soft Skills Presentation Skills 个人建议: 良禽择木而栖, 选择新的老板. 公司前景: 部门Over budget, 前景悲观 UK刚裁员 公司架构: 重组方案将于3月发布. 公司的要求: Mandatory Training 按时翻工 按时录入数据…

DNS Setting

Check DNS server Open a command window C:\Users\4xxxx>ipconfig/all Add DNS server to Kali $ echo "nameserver 130.39.177.1" > /etc/resolv.conf $ echo "nameserver 130.162.2.49" > /etc/resolv.conf Bonus If you restart networking, you would lose…

cntlm enterprise proxy

Linux $ apt-get update $ apt-get install cntlm Sample Configuration: # # Cntlm Corporate Authentication Proxy Configuration # Olivier HO-A-CHUCK (olivier hoachuck at gmail dot com) # # NOTE: all values are parsed literally, do NOT escape spaces, # do not quote. Use 0600 perms if you use plaintext password. # Username <my corporate proxy server login>…

Working with Grails behind a proxy

Update (2017-4-25): Npm, Bower, Git, and Bash Proxy Configurations ProxySettings.groovy workProxy=["http.proxyHost":"proxy.work.com", "http.proxyPort":"8080", "http.proxyUser":"myusername", "http.proxyPassword":"areallysecureone"] collegeProxy=["http.proxyHost":"200.150.…

Whenever AD Password changes,Change below

Intellij Gradle - $HOME/gradle.properties Git - $HOME/.gitconfig npmg - $ npm config set proxy http://xxxxxxxx:pw@proxy.us.somecompany:8080 -g Maven - C:\swdtools\apache-maven-3.0.4\conf\settings.xml…

git bash windows

location: $ echo $HOME/bash.rc My personal setting: alias ls=''ls -h --color'' alias ..=''cd ..'' alias subl=''/c/Program\ Files/Sublime\ Text\ 2/sublime_text.exe'' Change Starting directory Add below to your bash.rc foo() { cd "/d/Work Space/project/code_source" ; } foo…

MVN Setup

Master Password Used for encrypting cwd password $ mvn -emp <your_password> Save hash to file - %userprofile%/.m2/settings-security.xml Encrypting CWD Password mvn -ep <cwd_password> Save hash to file /path/to/maven/conf/settings.xml settings.xml sample: <?xml version="1.0&…

Use Gradle behind an enterprise proxy

创建gradle.properties, 放置于project root systemProp.proxySet=true systemProp.http.proxyHost=intxxxx systemProp.http.proxyPort=8080 systemProp.http.proxyUser=<domain>/4xxxxx systemProp.http.proxyPassword=<your_password> systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost systemProp.https.proxyHost=intxxxx systemProp.https.proxyPort=8080 systemProp.https.proxyUser=<domain>/4xxxxx…

Use Git behind an enterprise proxy

添加proxy: $ git config --global http.proxy http://<domain>\\4xxxxxx:<your_password>@intxxxx.hk.xxxxxx :8080 添加后.gitconfig将多了一行 $ cat $HOME/.gitconfig [http] proxy = http://<domain>\\4xxxxxx:<your_password>@intxxxx.hk.xxxxxx:8080 参考 How do I pull from a Git repository through an…