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 |
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
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; |
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
### 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.
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
package main | |
import ( | |
"log" | |
"fmt" | |
"context" | |
"github.com/docker/docker/api/types" | |
"github.com/docker/docker/client" | |
) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>A simple clock</title> | |
</head> | |
<body translate="no" > |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>A simple clock</title> | |
</head> | |
<body translate="no" > |
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
import javax.net.ssl.HttpsURLConnection; | |
import java.awt.Color; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.lang.reflect.Array; | |
import java.net.URL; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; |