View dind.yaml
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
# Once started, you can use this to build your docker images with: | |
# | |
# kubectl -n <namespace> port-forward deployment/dind 23760:2376 | |
# export DOCKER_HOST=tcp://localhost:23760 | |
# | |
# After that, all docker commands & similar will talk to this docker instance on kubernetes! | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: dind |
View workshop.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View apt.txt
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
tmux | |
vim | |
emacs | |
screen | |
byobu |
View gist:eae14e5e9ac41186624a100128978a72
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
yuvipanda@a7a946db6422:~$ cat /tmp/jupyterlab-debug-m5il2z3b.log | |
Yarn configuration loaded. | |
> /usr/bin/npm pack /home/yuvipanda | |
> jupyter-videochat@0.1.0 prepare /home/yuvipanda | |
> jlpm run clean && jlpm run build | |
yarn run v1.21.1 | |
$ jlpm run clean:lib | |
$ rimraf lib tsconfig.tsbuildinfo |
View tljh-dask-kubernetes.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View output
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
{'frontends': {'frontend__2F': {'backend': 'backend__2F', 'passHostHeader': True, 'routes': {'test': {'rule': 'PathPrefix:/', 'data': '{"hub": true}'}}}, 'frontend__2Fuser_2Fyuvipanda': {'backend': 'backend__2Fuser_2Fyuvipanda', 'passHostHeader': True, 'routes': {'test': {'rule': 'PathPrefix:/user/yuvipanda', 'data': '{"user": "yuvipanda", "server_name": ""}'}}}, 'frontend__2Fuser_2Fusername': {'backend': 'backend__2Fuser_2Fusername', 'passHostHeader': True, 'routes': {'test': {'rule': 'PathPrefix:/user/username', 'data': '{"user": "username", "server_name": ""}'}}}}, 'backends': {'backend__2F': {'servers': {'server1': {'url': 'http://127.0.0.1:8081', 'weight': 1}}}, 'backend__2Fuser_2Fyuvipanda': {'servers': {'server1': {'url': 'http://127.0.0.1:41224', 'weight': 1}}}, 'backend__2Fuser_2Fusername': {'servers': {'server1': {'url': 'http://127.0.0.1:38844', 'weight': 1}}}}} | |
Traceback (most recent call last): | |
File "tbjh/test.py", line 9, in <module> | |
toml.dumps(d) | |
File "/Users/yuvipanda/code/the-batchies |
View efs-access.yaml
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
hub.jupyter.org/network-access-hub: "true" | |
name: efs-access | |
namespace: wfirst-sit | |
spec: | |
affinity: | |
nodeAffinity: |
View Dockerfile
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
FROM python:3.7-buster | |
RUN pip install --no-cache certbot kubernetes | |
COPY autocert.py /usr/local/bin/autocert.py |
View build-image.yml
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
description: "Build an image via hubploy" | |
parameters: | |
deployment: | |
type: string | |
push: | |
type: boolean | |
default: false | |
docker: | |
- image: python:3.7-slim-buster |
NewerOlder