-
Experiencia positiva de aprendizagem
-
Filtro de oportunidades
-
A Entrevista de Código
-
Java/Python | js/html/css https://github.com/CaravanaCloud/JavaInterviews
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
name: Test all versions | |
on: | |
workflow_dispatch: {} | |
jobs: | |
iterate_and_call: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: |
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
arm-image-installer --image=/home/faermanj/Downloads/Fedora-Workstation-37-1.7.aarch64.raw.xz --target=rpi4 --media=/dev/sda --resizefs |
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
accounts: | |
"192912639870": {} # ccsandbox | |
account-blocklist: | |
- "192912699999" | |
resource-types: | |
excludes: | |
- IAMGroup | |
- IAMGroupPolicy |
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
var auth_username = pm.variables.get("auth_username") | |
var auth_password = pm.variables.get("auth_password") | |
var client_id = pm.variables.get("client_id") | |
var client_secret = pm.variables.get("client_secret") | |
var authBody = `username=${auth_username}&password=${auth_password}&grant_type=password&client_id=${client_id}&client_secret=${client_secret}`; | |
console.log(authBody) | |
var force_refresh = true | |
var token_expires_in = pm.environment.get("token_expires_in"); | |
var token_created = pm.environment.get("token_created"); |
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
aws s3api put-bucket-versioning --bucket "{{bucket}}" --versioning-configuration "Status=Suspended"; | |
aws s3api delete-objects --bucket "{{bucket}}" --delete "$(aws s3api list-object-versions --bucket "{{bucket}}" --output=json --query='{Objects: *[].{Key:Key,VersionId:VersionId}}')"; | |
aws s3api delete-bucket-policy --bucket "{{bucket}}"; | |
aws s3 rm "s3://{{bucket}}" --recursive; | |
aws s3 rb "s3://{{bucket}}" |
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 | |
set -e | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
DEFAULT_ENVNAME="BCX$(whoami | awk '{ print toupper($0) }')" | |
BC_ENVNAME=${BC_ENVNAME:-$DEFAULT_ENVNAME} | |
BC_DISTBKT=$(aws cloudformation list-exports --query "Exports[?Name=='BC::${BC_ENVNAME}::DISTBKT'].Value" --output=text) | |
BC_DISTBKT_URL="s3://${BC_DISTBKT}/" |
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/python3 | |
#WARNING: Spoiler of https://www.hackerrank.com/challenges/queens-attack-2/problem | |
import math | |
import os | |
import random | |
import re | |
import sys |
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
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-config.html | |
mdadm --create --verbose /dev/md0 \ | |
--level=0 \ | |
--name=riverraid \ | |
--raid-devices=2 /dev/nvme1n1 /dev/nvme2n1 | |
mkfs.ext4 -L riverraid /dev/md0 | |
mdadm --detail --scan | sudo tee -a /etc/mdadm.conf | |
dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r) |