Skip to content

Instantly share code, notes, and snippets.

View xoxefdp's full-sized avatar
🏠
Working from home

Jose Diaz xoxefdp

🏠
Working from home
View GitHub Profile
@xoxefdp
xoxefdp / tmux-cheatsheet.markdown
Created June 24, 2018 10:02 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@xoxefdp
xoxefdp / dynamic-dns-providers
Created June 23, 2018 12:06 — forked from neu5ron/dynamic-dns-providers
List of services/providers that offer free dynamic dns domains.
dynu.com
dyn.com
no-ip.com / noip.com
changeip.com
afraid.org
duckdns.org
dnsdynamic.org
duiadns.net
myonlineportal.com
dns4e.com
@xoxefdp
xoxefdp / update-dnsdynamic.sh
Last active June 23, 2018 10:22 — forked from Mic92/update-dnsdynamic.sh
Update Public Ip on dnsdynamic.com
#!/bin/sh
# EDIT this
[email protected]
PASSWORD=yoursecret
DOMAIN=example.dnsd.me
IP=`curl --silent -k https://myip.dnsdynamic.com/`
curl --silent --user "$EMAIL:$PASSWORD" -k "https://www.dnsdynamic.org/api/?hostname=$DOMAIN&myip=$IP"
@xoxefdp
xoxefdp / git-pushing-multiple.rst
Created May 30, 2017 04:21 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just