This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Figure out the path of git-upload-pack | |
| # On remote: | |
| $ which git-upload-pack | |
| $ git clone -u /home/you/bin/git-upload-pack you@machine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://ci[0-9].*?# | |
| Will match i.e. | |
| https://ci5.googleusercontent.com/proxy/longstringofcharacters=s0-d-e1-ft#https://site.com/images/logo.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var url = window.location.href; | |
| if (url.indexOf('?') > -1){ | |
| url += "&share=1"; | |
| }else{ | |
| url += "?share=1"; | |
| } | |
| window.location.href = url; |