screen –DR
-> list of detached screenscreen –r PID
-> attach detached screen sessionscreen –dmS MySession
-> start a detached screen sessionscreen –r MySession
-> attach screen session with name MySession
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
[I 2018-05-17 17:28:29.242 JupyterHub log:122] 302 GET /hub/oauth_login?next= → https://login.microsoftonline.com/36dcc9bb-8e53-421f-8c83-3a8f4f66ee0d/oauth2/authorize?redirect_uri=https%3A%2F%2Fexample.com%2Fhub%2Foauth_callback&client_id=d22e4e92-0c35-437d-8b33-7a2be1bab4a2&response_type=code&state= | |
[D 2018-05-17 17:28:39.449 JupyterHub proxy:552] Proxy: Fetching GET http://10.10.0.47:8001/api/routes | |
17:28:39.452 - info: [ConfigProxy] 200 GET /api/routes | |
[I 2018-05-17 17:28:47.015 JupyterHub azuread:57] ID3: REDACTED AAD_TENANT_ID | |
[D 2018-05-17 17:28:47.474 JupyterHub base:268] Setting cookie for josh.barnes: jupyter-hub-token, {'secure': True, 'httponly': True} | |
[I 2018-05-17 17:28:47.475 JupyterHub base:346] User logged in: josh.barnes | |
[I 2018-05-17 17:28:47.475 JupyterHub log:122] 302 GET /hub/oauth_callback?code=AQABAAIAAADX8GCi6Js6SK82TsD2Pb7riQM7X-KdhxRNyfOZBq-rzwxa2CRj3U7lUcXddnanmc1QvernCqb5j5Zas1Iqz0jDS4P3Wiyvygw0R9mqlZIlRQ8x3ANEH49IG2qcpNMBFoDs-_dJX4G_pkErM5k0RTH3AQtPxCn22rTyBYYqbX5gTYr2IV-9aCPI58U |
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
""" | |
This cell magic allows one to do things like | |
In [1]: %%script ssh -T my_wonderful_host.example.com | |
...: hostname | |
...: echo done; | |
my_wonderful_host.example.com | |
done | |
""" |
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
#!/usr/bin/env bash | |
# Uninstall old versions | |
sudo apt-get remove docker docker-engine docker.io | |
# Install packages to allow apt to use a repository over HTTPS | |
sudo apt-get update | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Copyright (c) 2017 Joshua Cooke Barnes | |
# Distributed under the terms of the BSD-3-Clause License | |
# https://opensource.org/licenses/BSD-3-Clause | |
""" | |
Provides IPython core's script magics (like %%bash) to metakernel kernels. | |
This is achieved by wrapping the IPython.core.magics.script versions in a | |
metakernel.magic.Magic subclass which can provides the correct magically-named | |
methods, help methods and other stuff required by metakernel but not provided | |
by the core implementations. |
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
#!/bin/bash | |
# Source: https://gist.github.com/ryin/3106801 | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=2.2 |
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
sudo apt-add-repository universe | |
sudo apt-add-repository multiverse | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install exfat-fuse chromium-browser dkms bcmwl-kernel-source |
NewerOlder