the lesser known details
- Improving ingestion performance
- Why is pagination important?
- S3 as a SQL database
- Divide and conquer you files
- Mountpoint: the good, the bad and the awful
Create an account at https://gitlab.com
Create a new empty project
Add a file named .gitlab-ci.yml
[ | |
{ | |
"text": "The terraform.tfstate file always matches your currently built infrastructure.", | |
"responses": [ | |
{ | |
"letter": "A. ", | |
"text": "True", | |
"correct": false | |
}, | |
{ |
#!/bin/sh | |
sudo apt update | |
sudo apt install openjdk-8-jre-headless -y | |
wget https://github.com/ciberado/pokemon/releases/download/stress/pokemon-0.0.4-SNAPSHOT.jar | |
java -jar pokemon-0.0.4-SNAPSHOT.jar |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'Simple (not production-ready) VPC' | |
Parameters: | |
ClassB: | |
Description: 'Class B of VPC (10.XXX.0.0/16)' | |
Type: Number | |
Default: 0 | |
ConstraintDescription: 'Must be in the range [0-255]' | |
MinValue: 0 |
#!/bin/bash | |
if [[ $# -eq 0 ]] ; then | |
echo 'Provide the name of the owner, please.' | |
exit 0 | |
fi | |
OWNER=$1 | |
VPC_ID=$(aws ec2 create-vpc \ |
# sudo apt update; sudo apt install graphviz | |
# pip3 install diagrams | |
# python3 diagrams-aws.py | |
from diagrams import Cluster, Diagram, Edge | |
from diagrams.aws.compute import EC2 | |
from diagrams.aws.database import RDS | |
from diagrams.aws.network import ELB | |
from diagrams.custom import Custom | |
from urllib.request import urlretrieve |
#!/bin/bash | |
delete-vpc() { | |
local teamName=${1:-ciberadok8s} | |
local region=${2:-eu-west-1} | |
aws ec2 describe-vpcs --region ${region} | jq -r ".Vpcs[] | select(.Tags[].Value | contains(\"${teamName}\")) | .VpcId" 2>/dev/null | | |
while read vpcID; do | |
echo "# deleting vpc (${vpcID}) ..." | |
#Azure Storage
pip install blobxfer
#!/bin/bash | |
cat - <<-EOF >> /etc/apt/sources.list.d/webupd8team-java.list | |
# webupd8team repository list | |
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
EOF | |
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xEEA14886 |