Video Link: Apache Kafka Crash Course | What is Kafka?
- Knowledge
- Node.JS Intermediate level
- Experience with designing distributed systems
- Tools
- Node.js: Download Node.JS
- Docker: Download Docker
- VsCode: Download VSCode
| # Get Device Name and Model | |
| $computerSystem = Get-WmiObject -Class Win32_ComputerSystem | |
| $computerName = $computerSystem.Name | |
| $manufacturer = $computerSystem.Manufacturer | |
| $model = $computerSystem.Model | |
| $deviceName = "$manufacturer $model" | |
| # Get Device Serial Number | |
| $bios = Get-WmiObject -Class Win32_BIOS |
Video Link: Apache Kafka Crash Course | What is Kafka?
| # Define the full paths to the target files from WinPE prespective | |
| $paths = @( | |
| "C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys", | |
| "D:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys" | |
| ) | |
| # Attempt to delete the files if they exist | |
| foreach ($path in $paths) { | |
| try { | |
| if (Test-Path $path) { |
| #!/bin/bash | |
| API_KEY="<YOUR API KEY>" | |
| API_URL="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=$API_KEY&suffix=tar.gz" | |
| DEST="/var/lib/pterodactyl/volumes/7cf63022-bb15-45c6-b0e0-e2bb9e10dd7e/csgo/addons/sourcemod/configs/geoip/" | |
| FILE=GeoLite2-City | |
| FILE_EXT=.tar.gz | |
| wget -N -q $API_URL -O $FILE$FILE_EXT |
| @echo off | |
| cd /D %temp% | |
| for /d %%D in (*) do rd /s /q "%%D" | |
| del /f /q * | |
| cd /D C:\Windows\Temp | |
| for /d %%D in (*) do rd /s /q "%%D" | |
| del /f /q * |
| echo "Executed userconfig.cfg" | |
| name "SkY#IN" | |
| //Binds | |
| bind "e" "messagemode2" | |
| bind "f" "slot4" | |
| bind "p" "amxmodmenu" | |
| bind "q" "messagemode" | |
| bind "u" "+use" |
| # Take backup of iptables | |
| cp /etc/iptables/rules.v4 /etc/iptables/rules.v4.backup | |
| cp /etc/iptables/rules.v6 /etc/iptables/rules.v6.backup | |
| # Flush rules | |
| iptables -F | |
| iptables -X | |
| iptables -t nat -F | |
| iptables -t nat -X | |
| iptables -t mangle -F |
| iptables -F | |
| iptables -X | |
| iptables -t nat -F | |
| iptables -t nat -X | |
| iptables -t mangle -F | |
| iptables -t mangle -X | |
| iptables -P INPUT ACCEPT | |
| iptables -P FORWARD ACCEPT | |
| iptables -P OUTPUT ACCEPT |
| #!/bin/bash | |
| FOLDER="/var/lib/pterodactyl/volumes/csgo" | |
| BACKUPTIME=`date +%b-%d-%y` | |
| TARFILE='pugbackup_'${BACKUPTIME}'.tar.gz'; | |
| tar -cvzf $FOLDER/$TARFILE $FOLDER/addons $FOLDER/cfg $FOLDER/materials $FOLDER/sound $FOLDER/mapcycle.txt $FOLDER/maplist.txt |
| // Author: https://github.com/djearthquake | |
| #include amxmodx | |
| #include amxmisc | |
| #include engine_stocks | |
| #define MAX_PLAYERS 32 | |
| #if !defined client_disconnect | |
| #define client_disconnected client_disconnect | |
| #endif |