Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 1, 2024 20:31
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
IndexedDB
Instances in: /data/user/0/com.android.chrome/app_chrome/Default (Bucket count = 93)
Origin: https://172f4b1de3c9728d7fca213f9859d52c.safeframe.googlesyndication.com:443
Storage partition - top level site: https://googlesyndication.com:443
Storage key: https://172f4b1de3c9728d7fca213f9859d52c.safeframe.googlesyndication.com/
Bucket: '_default'
Size: 1257
Last modified: Wed Sep 27 2023 06:33:35 GMT-0700 (Pacific Daylight Time)
Open connections: 0
Paths:
const data = {
"url": "https://news.polymer-project.org/",
"title": "Top Stories - NEWS",
"children": [
{
"url": "https://news.polymer-project.org/list/doodles",
"title": "Doodles - NEWS",
"children": [
{
"url": "https://news.polymer-project.org/list/top_stories",
@vikas891
vikas891 / ExtractAllScripts.ps1
Last active May 1, 2024 20:26
A PowerShell script to re-construct a suspicious .PS1 from script-blocks recorded in Event ID 4104
#Usage:
#
#NOTE: The script expects an argument which is the full File Path of the EVTX file.
#
#C:\>ExtractAllScripts.ps1
#The default behavior of the script is to assimilate and extract every script/command to disk.
#
#C:\ExtractAllScripts -List
#This will only list Script Block IDs with associated Script Names(if logged.)
#
@pawelel
pawelel / MudHorizontalNavMenu.razor
Created October 16, 2021 11:44
MudBlazor horizontal menu alternative
<style>
.mud-expand-panel, .muudstrap-navbar-expand{
color: var(--mud-palette-appbar-text);
background-color: var(--mud-palette-appbar-background);
}
.muudstrap-navbar .mud-button{
text-transform: none;
}
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active May 1, 2024 20:23
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
@zbicin
zbicin / Instalacja Node.js na Windows, Linuksie i MacOS.md
Last active May 1, 2024 20:22
Instalacja Node.js na Windows, Linuksie i MacOS

Instalacja Node.js na Windows, Linuksie i MacOS

Najprostszym i najpewniejszym sposobem na bezproblemową instalację Node.js jest użycie NVM (Node Version Manager), który pobierze za nas odpowiednią paczkę, zainstaluje ją i ustawi poprawnie wszystkie systemowe ścieżki.

Windows

  1. Pobieramy spakowany instalator z GitHuba projektu nvm-windows:

https://github.com/coreybutler/nvm-windows/releases/download/1.1.7/nvm-setup.zip

Docker Swarm in LXC Containers

Part of collection: Hyper-converged Homelab with Proxmox

After struggling for some days, and since I really needed this to work (ignoring the it can't be done vibe everywhere), I managed to get Docker to work reliable in privileged Debian 12 LXC Containers on Proxmox 8

(Unfortunately, I couldn't get anything to work in unprivileged LXC Containers)

There are NO modifications required on the Proxmox host or the /etc/pve/lxc/xxx.conf file; everything is done on the Docker Swarm host. So the only obvious candidate who could break this setup, are future Docker Engine updates!

@edokeh
edokeh / index.js
Last active May 1, 2024 20:20
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@bch15
bch15 / Subscriptions
Created November 15, 2023 08:24
V2ray subscriptions
https://tackserver-code.ir/api/json/mrpooya.xyz.json
https://test2.sub-channel.workers.dev/vless/iphone/random
https://raw.githubusercontent.com/yebekhe/TelegramV2rayCollector/main/sub/base64/mix
--------------*------------*---*-----------------------
--------------*------------*---*-----------------------