-
Commit your git using
git add -A git commit -m "commit message" -
Change time or date of your latest commit
GIT_COMMITTER_DATE="Wed Sep 9 22:00 2020 +0530" git commit --amend --date="Wed Sep 9 22:00 2020 +0530"
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
Link: https://docs.papermc.io/paper/anti-xray
Help: https://discord.gg/papermc
Anti-Xray can be configured per world in the paper.yml configuration file. To understand how per world configuration works please read this first. Note that after changing any settings for Anti-Xray you have to restart your server. Executing the /reload command (you should never do this) won't apply the settings to worlds that are already loaded.
| Rank | Bot | Approximate Server Count | Library |
|---|---|---|---|
| 1 | MEE6 | 21,300,000 | Custom Python |
| 2 | Rythm | 14,900,000 | JDA |
| 3 | carl-bot |
12,100,000 | Pycord |
| 4 | Dyno | 10,600,000 | Eris |
| 5 | Midjourney Bot |
| import com.sk89q.worldedit.EditSession; | |
| import com.sk89q.worldedit.WorldEdit; | |
| import com.sk89q.worldedit.WorldEditException; | |
| import com.sk89q.worldedit.bukkit.BukkitAdapter; | |
| import com.sk89q.worldedit.extent.clipboard.Clipboard; | |
| import com.sk89q.worldedit.extent.clipboard.io.ClipboardFormat; | |
| import com.sk89q.worldedit.extent.clipboard.io.ClipboardFormats; | |
| import com.sk89q.worldedit.extent.clipboard.io.ClipboardReader; | |
| import com.sk89q.worldedit.function.operation.Operation; | |
| import com.sk89q.worldedit.function.operation.Operations; |
| ### DANGEROUS OPERATIONS: do not run automatically | |
| ### (notes) | |
| # https://web.archive.org/web/20170105064212/https://twindb.com/recover-corrupt-mysql-database/ | |
| DB=dbname; TBL=tablename | |
| # from prod mysql instance | |
| mysqlfrm --user=root --server=root:xxx@localhost --port=3307 /var/lib/mysql/${DB}/${TBL}.frm | sed -e 's/^CREATE TABLE `[^`]*`\./CREATE TABLE /g' -e '1d' -e '$a;' | grep -v '^#' > schemas/${DB}_${TBL}_author.sql |
Inno Setup is a popular installer builder for Windows. Of course it is made to run on Windows only, by default. But what if you want to build Windows installers off Windows, i.e. on Linux or macOS?
You’re in luck: It’s possible to run Inno Setup anywhere that Docker runs (including Linux and macOS), and even have a passable experience writing your setup script.
| package main | |
| import ( | |
| "log" | |
| "fmt" | |
| "context" | |
| "github.com/docker/docker/api/types" | |
| "github.com/docker/docker/client" | |
| ) |