- First copy the template to vpc.yaml to make changes (UserData ?)
- Check template with
aws cloudformation validate-template --template-body file://vpc.yaml
- Run script with parameters you want:
./launch.sh BaseName=SOMETHING KeyName=PROD_KEY
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
// ==UserScript== | |
// @name Fixed TE Web | |
// @namespace http://teweb.fr.sogeti.com/ | |
// @version 0.7 | |
// @description A better TE Web | |
// @author Robin Brisa | |
// @match https://teweb.fr.sogeti.com/* | |
// @updateURL https://checkit.connect.local/exports/teweb.user.js | |
// @grant GM.setValue | |
// @grant GM.getValue |
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
#!/usr/bin/env bash | |
zellij action new-tab --layout rustlings_layout.kdl |
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
#!/usr/bin/env bash | |
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --domains "$1" --no-parent "https://$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/sh | |
if ! command -v gum >/dev/null 2>&1; then | |
echo "gum is not installed" | |
exit 1 | |
fi | |
TYPE=$(gum choose "fix" "feat" "docs" "style" "refactor" "test" "chore" "revert" "ci") | |
SCOPE=$(gum input --placeholder "scope") |
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
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's | |
# probably wise not to edit this file manually. Use localectl(1) to | |
# instruct systemd-localed to update it. | |
Section "InputClass" | |
Identifier "system-keyboard" | |
MatchIsKeyboard "on" | |
Option "XkbLayout" "fr" | |
Option "XkbModel" "tm2030USB" | |
EndSection |
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 | |
# script to automate the creation of chroot jail | |
# w/ minimal executables to run apache+php+mysql | |
CHROOT=/var/jail | |
DEB_CACHE=/tmp/jail_cache | |
if [ "$(whoami)" != "root" ]; then | |
echo "Script must be run as user: root" | |
exit 1 |