Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
It sometimes happen you need change code on a machine from which you cannot push to the repo.
You’re ready to copy/paste what diff
outputs to your local working copy.
You think there must be a better way to proceed and you’re right. It’s a simple 2 steps process:
1. Generate the patch:
git diff > some-changes.patch
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
import execnet | |
def token_converter(text): | |
gw = execnet.makegateway("popen//python=python2.7") | |
channel = gw.remote_exec( | |
"""import morfeusz2 as morf | |
import gc | |
def converter(text): |