Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 16:05
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@zOrg1331
zOrg1331 / wireguard_layer2.md
Last active April 26, 2024 16:04
wireguard, wireguard layer 2, wireguard over TCP

Intro

This note describes how to connect two networks/devices/VMs over public network using Wireguard with Layer 2 support (ARP, IPv6 link-local, etc).

This can also be achieved using SSH and its "tap" tunnel, however, it does not provide the same level of latency and bandwidth as full-blown VPN such as Wireguard.

In addition, this note describes how to tunnel Wireguard over TCP connection. This may be of use if you encounter firewall in-between so, for instance, you can use TCP port 443 only.

Objective

@ivanrosolen
ivanrosolen / conventional_commits.md
Last active April 26, 2024 16:00 — forked from CesarDenis/CONTRIBUTING.md
Guia para mensagens de commits

Guia para mensagens de commits

Formato da mensagem

Cada mensagem de commit consiste em um cabeçalho, um corpo e um rodapé.

Cabeçalho

Tem um formato pré-definido, que inclui um tipo e um título:

@arawako
arawako / make_openssl.txt
Last active April 26, 2024 16:00
Steps for compiling openssl in debian buster, testing and creating a .deb package using checkinstall
## Prepare the system
touch /etc/apt/sources.list.d/backports.list
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list.d/backports.list
apt update && apt -y upgrade && apt install -y build-essential git checkinstall
# Clone the Source
git clone https://github.com/openssl/openssl.git
# Compile, test and install manually
cd openssl
@genyrosk
genyrosk / Makefile
Last active April 26, 2024 15:59
Makefile for a Python environment with virtualenv
SHELL:=/bin/bash
VIRTUAL_ENV=env
JUPYTER_ENV_NAME=env
PORT=8888
PYTHON=${VIRTUAL_ENV}/bin/python3
# .ONESHELL:
DEFAULT_GOAL: help
.PHONY: help run clean build venv ipykernel update jupyter
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.