Skip to content

Instantly share code, notes, and snippets.

View fernandez's full-sized avatar
🐱

Alex Fernandez fernandez

🐱
  • GitHub
  • Portland, OR
View GitHub Profile

this is a test

@fernandez
fernandez / GitConfigHttpProxy.md
Created June 27, 2023 23:40 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@fernandez
fernandez / etc-hosts-on-win.md
Created September 14, 2018 00:12 — forked from zenorocha/etc-hosts-on-win.md
/etc/hosts on Windows

1. Get your IP Address

echo `ifconfig $(netstat -nr | grep -e default -e "^0\.0\.0\.0" | head -1 | awk '{print $NF}') | grep -e "inet " | sed -e 's/.*inet //' -e 's/ .*//' -e 's/.*\://'`

2. Modify your hosts file

notepad

@fernandez
fernandez / multiple_ssh_setting.md
Created October 8, 2017 19:27 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
:things::package::stuff: becomes `:things::package::stuff:`