- Download
gh
tool:After this step,GH_VERSION=2.30.0 GH_URL=https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz GH_DIR=/opt/conda/bin wget "${GH_URL}" -O - | tar xvzf - -C ${GH_DIR} gh_${GH_VERSION}_linux_amd64/bin/gh --strip-components=2
gh
is located in/opt/conda/bin/gh
. - Login to GitHub:
This file contains hidden or 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
Show hidden characters
{ | |
"dockerComposeFile": "docker-compose.yml", | |
"service": "notebook", | |
"workspaceFolder": "/home/jovyan/work", | |
"forwardPorts": [8888,8787], | |
"customizations": { | |
"vscode": { | |
"settings": { | |
"python.defaultInterpreterPath": "/opt/conda/bin/python" | |
}, |
This file contains hidden or 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
{ | |
"dockerComposeFile": "docker-compose.yml", | |
"service": "devcontainer", | |
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}" | |
} |
This file contains hidden or 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 | |
# A small example program for using the new getopt(1) program. | |
# This program will only work with bash(1) | |
# An similar program using the tcsh(1) script language can be found | |
# as parse.tcsh | |
# Example input and output (from the bash prompt): | |
# ./parse.bash -a par1 'another arg' --c-long 'wow!*\?' -cmore -b " very long " | |
# Option a |
This file contains hidden or 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 | |
OSNAME=$(grep '^ID=' /etc/os-release | cut -d'=' -f2) | |
USERNAME=$(echo $HOME | cut -d"/" -f3) | |
[[ $(echo $USERNAME | grep -c jovyan) != 0 ]] && ISJOVYAN=true || ISJOVYAN=false | |
[[ $(groups | grep -c sudo) != 0 ]] && ISSUDOER=true || ISSUDOER=false | |
[[ $WSL_DISTRO_NAME ]] && ISWSL=true || ISWSL=false | |
## [[ "$OSNAME" == "debian" ]] && ISDEBIAN=true || ISDEBIAN=false |
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 hidden or 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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
Updates files to center-align jupyter book content.
Relevant files are,
_sass/components/_components.book__layout.scss
_layouts/default.html
Simple way to make the modification is append following lines to Makefile
:
center-align:
NewerOlder