Published to HN: https://news.ycombinator.com/item?id=5643342
Quite recently an article calling to stay away from rebase was published, in which the author states that you should absolutely never rebase. Well... that's bullshit.
| """ | |
| This code does the following. | |
| First, obtains an upwind DG1 approximation to div(u*D). | |
| Then, tries to find a BDFM2 flux F such that div F is | |
| equal to this upwind approximation. | |
| we have | |
| \int_e phi D_1 dx = -\int_e grad phi . u D dx |
Published to HN: https://news.ycombinator.com/item?id=5643342
Quite recently an article calling to stay away from rebase was published, in which the author states that you should absolutely never rebase. Well... that's bullshit.
| // Marker, a bookmarklet for Markdownifying webpage selections | |
| // javascript:(function(){var p=document.createElement("p");p.innerHTML="<strong>Loading…</strong>";p.id="loadingp";p.style.padding="20px";p.style.background="#fff";p.style.left="20px";p.style.top=0;p.style.position="fixed";p.style.zIndex="9999999";p.style.opacity=".85";document.body.appendChild(p);document.body.appendChild(document.createElement("script")).src="https://gist.github.com/ttscoff/8078727/raw/Marker.js?x="+(Math.random());})(); | |
| (function () { | |
| function callback() { | |
| (function ($) { | |
| var raw, userSelection; | |
| if (window.getSelection) { | |
| // W3C Ranges | |
| userSelection = window.getSelection (); | |
| // Get the range: |
| javascript: | |
| (function (t,r) { | |
| window.location = 'pythonista://clipto?action=run&argv=' + encodeURIComponent(document.title) + '&argv=' + encodeURIComponent(location.href) + '&argv=' + t + '&argv=' + r + '&argv=' + encodeURIComponent(document.getSelection()||''); | |
| })('Sublime','Dropbox') |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |