Skip to content

Instantly share code, notes, and snippets.

@marceltn
marceltn / git_proxy_functions_v2.sh
Last active March 28, 2018 23:29 — forked from garystafford/git_proxy_functions_v2.sh
v2 of Gist for blog post 'Revised Configuration of Git for Windows on a Corporate Network with Vagrant'. Easily turn proxy-related settings on and off for Git for Windows. 1) Add these functions to your ~\.bashrc file, 2) Change PROXY_SERVER, and PORT default values, 3) Open new Git Bash interactive shell window and execute function before using…
# configure proxy for git while on corporate network
function proxy_on(){
# assumes $USERDOMAIN, $USERNAME, $USERDNSDOMAIN
# are existing Windows system-level environment variables
# assumes $PASSWORD, $PROXY_SERVER, $PROXY_PORT
# are existing Windows current user-level environment variables (your user)
# environment variables are UPPERCASE even in git bash
@marceltn
marceltn / PWAlinks.md
Last active May 25, 2018 15:46
Debug Service Worker
@marceltn
marceltn / p4merge install
Last active February 25, 2018 21:15 — forked from AaronGhent/p4merge install
Installs p4merge on a linux based machine
# p4merge for 64 bit
```
wget http://www.perforce.com/downloads/perforce/r17.3/bin.linux26x86_64/p4v.tgz
```
# p4merge for 32 bit
```
wget http://www.perforce.com/downloads/perforce/r17.3/bin.linux26x86/p4v.tgz
```
############################################################################
# #
# ------- Useful Docker Aliases -------- #
# #
# # Installation : #
# copy/paste below line into your .bash_profile or .bashrc file #
# test -f ~/.bash_aliases_docker && . ~/.bash_aliases_docker #
# type the following in your current shell to try it out: #
# wget -O - https://gist.github.com/marcelnakamine/0d4f6266929bc92ad5850a1d615b27de/raw/66460e6d41d82f51393dc846071cdb7174ed9843/.bash_aliases_docker | bash
# #