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 | |
mkdir caos | |
curl https://raw.githubusercontent.com/dabumana/caos/main/ci/service/Dockerfile >> ./caos/Dockerfile | |
#Generate initialize script and first run | |
echo docker run -it --cpus=$1 caos:latest >> caos.sh | |
docker build --build-arg KEY=$2 --build-arg ZKEY=$3 --pull --rm -f "caos/Dockerfile" -t caos:latest ./caos | |
docker run -it --cpus=$1 caos:latest |
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
import sys | |
import hashlib | |
from base64 import b64encode | |
from Crypto.Cipher import AES | |
from os import urandom | |
class user_preferences: | |
SIZE = 0 | |
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
cd /tmp | |
wget https://github.com/goodtft/LCD-show/archive/master.zip | |
unzip master.zip | |
rm master.zip | |
cd LCD-show-master | |
cp usr/tft35a-overlay.dtb /boot/overlays/ | |
mv usr/tft35a-overlay.dtb /boot/overlays/tft35a.dtbo | |
mkdir -p /etc/X11/xorg.conf.d | |
cp usr/99-calibration.conf-35-90 /etc/X11/xorg.conf.d/99-calibration.conf | |
mkdir -p /usr/share/X11/xorg.conf.d |
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 | |
# Flash the current table | |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -P OUTPUT ACCEPT | |
iptables -F | |
# Log current scan | |
iptables -A INPUT -j LOG | |
iptables -A FORWARD -j LOG | |
iptables -A OUTPUT -j LOG |
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 | |
# | |
# Author: @dabumana | |
# Copyright BSD | |
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | |
# | |
#1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | |
# | |
#2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | |
# |
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 | |
### Intro ######################## | |
echo ''' | |
### WELCOME <=0x0=> ######################################################################## | |
# This script helps you to organize a virtual environment on a isolated container # | |
# for development and production purposes, the requirements and variables of the project # | |
# are adjusted to the parameters of architecture detailed in the sequence. # | |
############################################################################################ | |
''' | |
### Project Values ############### |