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 | |
TOOLBOX_DOCKER_IMAGE=fedora | |
TOOLBOX_DOCKER_TAG=latest | |
TOOLBOX_USER=root | |
toolboxrc="${HOME}"/.toolboxrc | |
if [ -f "${toolboxrc}" ]; then | |
source "${toolboxrc}" |
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
--- | |
- hosts: all | |
tasks: | |
- name: ensure SSH key is generated | |
command: ssh-keygen -t rsa -f /root/.ssh/id_rsa -N '' | |
args: | |
creates: /root/.ssh/id_rsa |
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 | |
set -e | |
original_bin=$(mktemp) | |
original_src=${original_bin}.src | |
new_bin=$(mktemp) | |
new_src=${new_bin}.src | |
cleanup () { | |
rm -f "$original_bin" "$original_src" "$new_bin" "$new_src" |
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
IMyCockpit Cockpit; | |
IMyShipController ShipController; | |
IMyTextSurface Screen1; | |
List<IMyThrust> Thrusters = new List<IMyThrust>(); | |
Vector3D LastV = new Vector3D(); | |
void debug(String str) { | |
Screen1.WriteText(str, true); | |
} | |
public Program() | |
{ |