http://example.com
http://example.com
| This is gist. | |
| There are many like it, but this one is mine. | |
| It is my life. | |
| I must master it as I must master my life. | |
| Without me gist is useless. | |
| Without gist, I am useless. |
| So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
| Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
| * Off the top of my head * | |
| 1. Fork their repo on Github | |
| 2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
| git remote add my-fork git@github...my-fork.git |
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
http://example.com
http://example.com
| 0-mail.com | |
| 0815.ru | |
| 0845.ru | |
| 0clickemail.com | |
| 0wnd.net | |
| 0wnd.org | |
| 10minutemail.com | |
| 10minutemail.net | |
| 12houremail.com | |
| 12minutemail.com |
| // Detecting data URLs | |
| // data URI - MDN https://developer.mozilla.org/en-US/docs/data_URIs | |
| // The "data" URL scheme: http://tools.ietf.org/html/rfc2397 | |
| // Valid URL Characters: http://tools.ietf.org/html/rfc2396#section2 | |
| function isDataURL(s) { | |
| return !!s.match(isDataURL.regex); | |
| } | |
| isDataURL.regex = /^\s*data:([a-z]+\/[a-z]+(;[a-z\-]+\=[a-z\-]+)?)?(;base64)?,[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%\s]*\s*$/i; |
Press minus + shift + s and return to chop/fold long lines!
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| while { | |
| let x = foo(); | |
| bar(x); | |
| x != 0 | |
| } {} |
| \newcommand{\ghost}[1]{\tikz[baseline=.1em,scale=.5]{ | |
| \draw [fill=#1] (0,0) -- (0,.5) arc (+180:0:.3) -- (.6,0) -- | |
| (.5,.15) -- (.4,0) -- (.3,.15) -- (.2,0) -- (.1,.15) -- cycle; | |
| \coordinate (eye) at (360*rand:.03); | |
| \foreach \x in {.17,.43}{ | |
| \fill[white] (\x,.5) circle[radius=.1]; | |
| \fill[black] (\x,.5) ++(eye) circle[radius=.05]; | |
| } | |
| }} | |