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
locals { | |
ssc = jsondecode(data.local_file.ssc-output.content) | |
} | |
resource "aws_iam_user" "repo" { | |
name = "${var.origin}-${var.env}-codecommit-user" | |
path = "/${var.app}/${var.env}/" | |
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
# updates etc | |
sudo apt update | |
sudo apt upgrade -y | |
# install pre-reqs | |
sudo apt install tasksel -y | |
# get the file | |
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb | |
sudo dpkg --install chrome-remote-desktop_current_amd64.deb | |
sudo apt install --assume-yes --fix-broken | |
sudo tasksel install ubuntu-desktop |
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
fio --time_based --name=4k_benchmark --size=10G --runtime=30 --filename=/opt/splunk/test --ioengine=libaio --randrepeat=0 --iodepth=128 --direct=1 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=4 --rw=randread --blocksize=4k --group_reporting | |
4k_benchmark: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128 |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkOccjEJTX/p50UjAubU9sLTj9UVP1mb2M+xn8AwCfHOJ0whJMNIiQClQ86nEZtXrsdl+tY+poTOm8hnZf7PCmHWUsKyNaS/3HQtTGf6enriRVUMbyd2n1lznQ9/hPjpIBw8AGsPWo3DJGGGa0SbaQjHtJDASc9kiZteKp2tPMPr4XbANpzltHwW4CXl9ryeb5GNqBGINaZB0rlyVn250g+7zAfKjqZfrAmFUGGex5J/RBcV1vgJi7sGDyJcVpueDO1SMWW0ekLxpcoxvKXRgV/wdrdQALeag+tphmhDxJmSXaDhzppLUkG3mVmLIPfe3nMv/FH375vWB47L1+djcB zate75@penguin |
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
get_go() { | |
sudo rm -rf /usr/local/go | |
wget -qO- --show-progress --continue $(wget -qO- https://golang.org/dl/ | grep -oP 'https:\/\/dl\.google\.com\/go\/go([0-9\.]+)\.linux-amd64\.tar\.gz' | head -n 1) | sudo tar zxf - -C /usr/local | |
echo "Create the skeleton for your local users go directory" | |
mkdir -p ~/go/{bin,pkg,src} | |
echo "Setting up GOPATH" | |
echo "export GOPATH=~/go" >> ~/.profile && source ~/.profile | |
echo "Setting PATH to include golang binaries" | |
echo "export PATH='$PATH':/usr/local/go/bin:$GOPATH/bin" >> ~/.profile |
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
version: "3" | |
services: | |
valheim: | |
image: mbround18/valheim:latest | |
ports: | |
- "2456:2456/udp" | |
- "2457:2457" | |
- "2458:2458/udp" | |
environment: | |
PORT: 2456 |
OlderNewer