Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active October 16, 2026 21:14
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught 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 WILL get flagged by doing so.

Complete Recent Discord Quest

@dmitmedv
dmitmedv / docker_wordpress.md
Last active October 16, 2026 20:22 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

С помощью этого файла и докера можно быстро установить WordPress на свой компьютер с помощью одной команды. Создайте файл "docker-compose.yaml" и вставьте код ниже. Сам файл запускается вот такой командой:

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@elfefe
elfefe / regex.md
Created April 14, 2023 12:20
Markdown regex

A regex by itself won't be sufficient to fully parse text into Markdown, as Markdown has a variety of syntax rules that can't be captured by a single regular expression. However, I can provide you with a set of regex patterns to help identify some common Markdown elements. You can use these patterns to build a parser or converter:

  1. Headers: ^(#{1,6})\s+(.+)$

  2. Bold text: \*\*(.+?)\*\*|__(.+?)__

  3. Italic text: \*(.+?)\*|_(.+?)_

  4. Strikethrough: ~~(.+?)~~

@HimDek
HimDek / Install Android apps or apk files in Windows using Windows Subsystem for Android (No Emulator).md
Last active October 16, 2026 18:35
This Guide will show you how to install and run apk files or Android apps in any Edition of Windows 11 using Windows Subsystem for Android. WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator.

Install Android apps or apk files in Windows using Windows Subsystem for Android

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow my guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • Windows Subsystem for Android or WSA must be Installed.

Click here to view the guide that shows how to install Windows Subsystem for Android in any Edition of Windows 11 (including Windows 11 Home) non Inider or stable release.

How to Install Android Apps or apk files in Windows Subsystem for Android:

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@davidgarland
davidgarland / lineageos_simple_kernel_build.md
Last active October 16, 2026 17:37
Building LineageOS Kernels without AOSP in 2024

Normally to cross compile a LineageOS kernel requires a massive amount of storage as it requires downloading the entirety of the android source, including building LineageOS itself, which you may not care to do if you just want to fiddle with kernel configuration or patching.

Here's a way around that! (In the form of a script with comments.)

Special thanks to this blog post in particular, which does a decent job of explaining what to do-- hopefully my comments offer some additional clarification.

@lalligagger
lalligagger / param-pint.py
Last active October 16, 2026 17:36
param-pint
import param
import pint
import pandas as pd
import panel as pn
u = pint.UnitRegistry()
class Length(param.Parameterized):
unit = param.ObjectSelector(default="mm", objects=["µm", "mm", "cm", "m", "km", "micrometer", "millimeter", "centimeter", "meter", "kilometer"])
quantity = param.ClassSelector(pint.Quantity, default=None)
@almost
almost / cl-macs.el
Created July 15, 2012 10:19
cl-macs.el - Common lisp macros in elisp (from the standard GNU Emacs distribution)
;;; cl-macs.el --- Common Lisp macros
;; Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
;; 2009, 2010, 2011 Free Software Foundation, Inc.
;; Author: Dave Gillespie <daveg@synaptics.com>
;; Version: 2.02
;; Keywords: extensions
;; This file is part of GNU Emacs.
@sadabx
sadabx / accounts.json
Created May 30, 2026 15:30
prism launcher ms account bypass (v9.4 or older only)
{
"accounts": [
{
"entitlement": {
"canPlayMinecraft": true,
"ownsMinecraft": true
},
"msa-client-id": "",
"type": "MSA"
},
import clr
import sys
import re
import System
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
import Autodesk.DesignScript.Geometry as DS
#import Revit API
clr.AddReference('RevitAPI')