Repository for testing https://github.com/manics/binderlite-builder
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
channels: | |
- conda-forge | |
dependencies: | |
- jupyter-offlinenotebook | |
- tldraw |
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/sh | |
set -eux | |
sh -c 'sleep 1h && /bin/echo a97bfa0b-025f-4750-aeaf-5d27c7337057 cryptnono.banned.string1' | |
exit 1 |
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 | |
loopdevice=/dev/loop0 | |
loopfile=crypt.loop | |
#megabytes | |
loopsize=256 | |
#/dev/mapper/xxxxx when open | |
cryptmapper=myCrypt |
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
# Access a Kubernetes node root filesystem under /mnt/root | |
# Replace nodename.k8s.example.org with the Kubernetes node you want to access | |
# | |
# kubectl apply -f root-host-volume-shell.yaml | |
# kubectl exec -it root-host-volume-shell -- bash | |
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: root-host-volume-shell |
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
repos: | |
- repo: https://github.com/pycqa/isort | |
rev: 5.12.0 | |
hooks: | |
- id: isort | |
- repo: https://github.com/psf/black | |
rev: 23.3.0 | |
hooks: | |
- id: black |
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/sh | |
# Based on Windows EC2Launch Module/Scripts/Send-AdminCredentials.ps1 script | |
# | |
# Include this at the end of your EC2 userdata | |
# Once the console output is available you should be able to run | |
# aws ec2 get-password-data --instance-id=INSTANCE_ID --priv-launch-key SSH_PRIVATE_PEM_FILE | |
# to get the randomly generated password | |
# | |
# Note that SSH password authentication is disabled on the SSH server by default |
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
# make sure crypt module in use | |
sudo modprobe dm-crypt | |
# Find out which drive it was with the following command: | |
sudo fdisk -l | |
# You must mount /dev/sda3 myvolume | |
# use cryptsetup, device is accessible under /dev/mapper/myvolume | |
sudo cryptsetup luksOpen /dev/sde3 myvolume |
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 mcr.microsoft.com/mssql/server:2019-latest | |
USER root | |
RUN apt-get update -y -q && \ | |
apt-get install -y -q \ | |
libgdiplus \ | |
unzip && \ | |
rm -rf /var/lib/apt/lists/* |
python traitlets2schema.py kubespawner KubeSpawner
Skipping get_pod_url
Skipping modify_pod_hook
Skipping options_from_form