Online logbook creator for Geocaching
A Pen by Ludovic Valente on CodePen.
''' | |
Complete solver for all magic square | |
with preset | |
Created on Sep 28, 2012 | |
@author: ludoo | |
''' | |
from constraint import * |
Online logbook creator for Geocaching
A Pen by Ludovic Valente on CodePen.
git stash --include-untracked | |
git pull |
<keymap> | |
<global> | |
<remote> | |
<red>ContextMenu</red> | |
<green>FullScreen</green> | |
<yellow>Pause</yellow> | |
<blue>Info</blue> | |
</remote> | |
</global> | |
<FullscreenVideo> |
Sometimes after a hard reboot (power cut), if your synology cannot be logged in with DSM and it shows "System is getting ready. Please log in later" , please do these steps : | |
#Admin login via ssh | |
> synobootseq --set-boot-done | |
> synobootseq --is-ready | |
#optional | |
> /usr/syno/etc/rc.d/S97apache-sys.sh start | |
> /usr/syno/etc/rc.d/S95sshd.sh start |
git reset --soft HEAD~1 | |
source: http://davidwalsh.name/git-undo-commit |
javascript:var r=[],x=document.getElementsByClassName('_16zz')[0],imgs=x.getElementsByTagName('a');for(i=0;i<imgs.length;i++){var url=imgs.item(i).getAttribute('href');r.push('<img src="'+url+'"/>');}document.write('<p>Press Ctrl+s to save complete page ; pictures will be in the folder aside the html page</p>'+r.join('<br/>')); |
# | |
# Start ssh-agent once only and register keys | |
# | |
# Usage : put this in .bashrc | |
# if [ -f ~/.bash_ssh ]; then | |
# . ~/.bash_ssh | |
# fi | |
# | |
# http://stackoverflow.com/questions/18880024/start-ssh-agent-on-login#18915067 | |
# |
https://stackoverflow.com/questions/6565357/git-push-requires-username-and-password
A common mistake is cloning using the default (HTTPS) instead of SSH. You can correct this by going to your repository, clicking the ssh button left to the URL field and updating the URL of your origin remote like this:
git remote set-url origin [email protected]:username/repo.git
See http://stackoverflow.com/questions/7773181/git-keeps-prompting-me-for-password, make sure you are cloning your repos using ssh
:
ssh://[email protected]/username/repo.git
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream