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
{ | |
version: 1, | |
machine: "pc", | |
memory_size: 256, | |
kernel: "https://bellard.org/jslinux/kernel-x86.bin", | |
cmdline: "loglevel=3 console=hvc0 root=root rootfstype=9p rootflags=trans=virtio ro TZ=${TZ}", | |
fs0: { file: "https://vm.maidcafe.me/images/linux3.iso" }, | |
eth0: { driver: "user" }, | |
} |
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
install: | |
... | |
# now this is where it gets interesting | |
# we're copying over the template files into the renpy SDK | |
# and CD into the renpy | |
# Replace quickstart-oss with your GitHub repository name! | |
- bash ./quickstart-oss/travis/setup.sh | |
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 | |
# This Script is Copyright (c) Peter Lorenzen | |
# You can find the original source at: http://peter.lorenzen.us/linux/headless-raspberry-pi-configuration | |
# Make sure you run this before executing the script: | |
# | |
# chmod -R 755 ./rpido | |
# | |
URL=$(curl -s https://downloads.raspberrypi.org/raspbian_lite_latest | awk -F\" '/http/ { print $2}') | |
LATEST=$(basename $URL .zip) | |
zipfile=DIST/$LATEST.zip |
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
#!/system/bin/sh | |
# | |
# This will attempt to mount /proc, /sys, and /dev. | |
# | |
# Make sure your directory has sufficient permissions. | |
set -o errexit -o nounset | |
if [ ! -d "$1" ] || [ ! -n "$1" ]; then |
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 | |
# Special exec script to handle user cases that needs auth or | |
# stuff I can think of. | |
# check for $CODER_ENABLE_AUTH. | |
if [ -z "$CODER_ENABLE_AUTH" ]; then | |
if [ -z "$CODER_ENABLE_TLS" ]; then | |
exec "$(command -v code-server) --port=9000 --allow-http /home/coder/projects"; |
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
[Unit] | |
Description=VSCode in a browser | |
After=network.target | |
[Service] | |
Type=simple |
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 jupyter/scipy-notebook:cf6258237ff9 | |
ARG NB_USER=jovyan | |
ARG NB_UID=1000 | |
ENV USER ${NB_USER} | |
ENV NB_UID ${NB_UID} | |
ENV HOME /home/${NB_USER} | |
USER root | |
RUN apt update && apt-get -y install sudo net-tools |
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 | |
sudo cp /etc/chrome_dev.conf /usr/local/ | |
sudo mount --bind /usr/local/chrome_dev.conf /etc/chrome_dev.conf | |
sudo echo "--arc-availability=officially-supported " >> /etc/chrome_dev.conf | |
sudo restart ui | |
exit 0 |
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 2019 (c) Kibo Hikari | |
* Licensed under MIT. | |
* | |
* Based on Google's Flywheel whitepaper | |
* If you want to read about it, see: https://ai.google/research/pubs/pub43447 | |
*/ | |
const http = require('http'); | |
const httpsProxy = require('http-proxy'); |
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: bot | |
spec: | |
selector: | |
matchLabels: | |
app: clara.discordapp | |
tier: frontend |