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
#include <cuda_runtime.h> | |
#include <device_launch_parameters.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <chrono> | |
#include <iostream> | |
#include <vector> | |
#include <cassert> |
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 uuid | |
import plistlib | |
import argparse | |
import os | |
def generate_mobileconfig(wg_conf_path, platform="ios", profile_name="WireGuard Demo Configuration Profile", identifier="com.your-org.wireguard"): | |
# Generate UUIDs for the payloads | |
profile_uuid = str(uuid.uuid4()).upper() | |
vpn_uuid = str(uuid.uuid4()).upper() |
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
version: "3.8" | |
services: | |
wg-easy: | |
environment: | |
# ⚠️ Change the server's hostname (clients will connect to): | |
- WG_HOST=change.me.xyz | |
# ⚠️ Change the Web UI Password: | |
- PASSWORD=CHANGEMEPLZ | |
- WG_DEFAULT_DNS=10.8.1.3 |
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
|
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
# Update your package database | |
(sudo) apt-get update | |
# Install build and runtime dependencies | |
(sudo) apt-get install ca-certificates libexpat1 libffi6 libreadline7 libsqlite3-0 libssl1.1 dpkg-dev gcc libbz2-dev libc6-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tcl-dev tk-dev wget xz-utils zlib1g-dev gnupg dirmngr | |
# Download the Python source code & cryptographic signature | |
wget https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tar.xz | |
wget https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tar.xz.asc | |
# Ensure the signing key is available on this machine |
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
0.0.0.0 adclick.g.doublecklick.net | |
0.0.0.0 adeventtracker.spotify.com | |
0.0.0.0 ads-fa.spotify.com | |
0.0.0.0 analytics.spotify.com | |
0.0.0.0 audio2.spotify.com | |
0.0.0.0 b.scorecardresearch.com | |
0.0.0.0 bounceexchange.com | |
0.0.0.0 bs.serving-sys.com | |
0.0.0.0 content.bitsontherun.com | |
0.0.0.0 core.insightexpressai.com |
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
nus.cdn.wup.shop.nintendo.net | |
nus.wup.shop.nintendo.net | |
a23-65-181-75.deploy.static.akamaitechnologies.com | |
a96-17-161-145.deploy.akamaitechnologies.com | |
a184-50-229-158.deploy.static.akamaitechnologies.com | |
a184-50-229-137.deploy.static.akamaitechnologies.com | |
nus.c.shop.nintendowifi.net | |
nus.cdn.c.shop.nintendowifi.net | |
nus.cdn.shop.wii.com |
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
# Note: You really should not use this. | |
# You can easily convert your app | |
# to use Quart by using async+await | |
# and then use loop.create_task(bot.start(...)) | |
# before using app.run. | |
from threading import Thread | |
from flask import Flask | |
from functools import partial | |
from discord.ext import commands |