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
#!/bin/python | |
import requests | |
import json | |
from datetime import datetime | |
GW2_API_KEY = "" # Get it from https://account.arena.net/applications with 'account', 'tradingpost' scopes | |
GW2_API_LANG = "en" # en, es, de, fr and zh: https://wiki.guildwars2.com/wiki/API:2#Localisation | |
TELEGRAM_API_KEY = "" # Get this from telegram using @BotFather | |
TELEGRAM_CHAT_ID = [""] # Search how to get the chatID of your username or use @RawDataBot |
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
#!/bin/bash | |
# Flush IPtables rules | |
iptables -F | |
# Ensure default deny firewall policy | |
iptables -P INPUT DROP | |
iptables -P OUTPUT DROP | |
iptables -P FORWARD DROP |
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
Vagrant.configure("2") do |config| | |
#VM settings | |
config.vm.provider "vmware_desktop" do |v| | |
v.vmx["memsize"] = "2048" | |
v.vmx["numvcpus"] = "2" | |
end | |
config.vm.box = "bento/ubuntu-22.04" |