Skip to content

Instantly share code, notes, and snippets.

@fperez
Last active August 27, 2022 22:01
Show Gist options
  • Save fperez/067585d02e1a123832c6e8911ca2b577 to your computer and use it in GitHub Desktop.
Save fperez/067585d02e1a123832c6e8911ca2b577 to your computer and use it in GitHub Desktop.
Using Git with minimal password hassles from the DataHub, thaks to gh-scoped-creds
Display the source blob
Display the rendered blob
Raw
{"metadata":{"kernelspec":{"display_name":"Python 3 (ipykernel)","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.9.0"}},"nbformat_minor":5,"nbformat":4,"cells":[{"cell_type":"markdown","source":"# Activate GitHub Authentication\n\n**Copy this notebook to your home directory (and star/favorite it to find it easily on your sidebar)**\n\nNote that if the repos you need to work aren't configured for access from this hub, you need to go to\n\nhttps://github.com/apps/data100-berkeley-datahub-access\n\nand add them to your desired configuration.\n\n**Run the cell below to activate GitHub access:**","metadata":{},"id":"22ae4dcd-0c7b-4721-b8b8-440ffc3ca5c2"},{"cell_type":"code","source":"import gh_scoped_creds\n%ghscopedcreds","metadata":{"trusted":true},"execution_count":null,"outputs":[],"id":"1cb645f9-49aa-432d-a82e-d75a6a025987"}]}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment