Skip to content

Instantly share code, notes, and snippets.

View pixincreate's full-sized avatar
🔺
Spammy

Pa1NarK pixincreate

🔺
Spammy
View GitHub Profile
@VictorTaelin
VictorTaelin / spec.md
Created February 26, 2025 15:51
SupTT Spec

The Interaction Calculus

The Interaction Calculus (IC) is term rewriting system inspired by the Lambda Calculus (λC), but with some major differences:

  1. Vars are affine: they can only occur up to one time.
  2. Vars are global: they can occur anywhere in the program.
  3. There is a new core primitive: the superposition.

An IC term is defined by the following grammar:

@SagarDevAchar
SagarDevAchar / _material_3_dynamic_colour_theming.md
Last active March 17, 2024 12:17
How to achieve Material 3 Dynamic Colour Theming on your Android App (the complex way)

Material 3 Dynamic Colour Theming - Android Setup

Android 12 (API Level 31) introduced us to one of the best UI / UX featues to the Android world - Material You

Based out of the beautifully designed Material 3 Design System, Material You has enhanced the Android ecosystem by providing us users and developers with possibly one of the best UI design features - Dynamic Colour Theming

What is Dynamic Colour Theming?

As the name suggests, Dynamic Colour Theming changes the colour of your app components based on one of two sources:

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.

@aMir733
aMir733 / adb-tcpip
Created July 12, 2022 14:38
Enable wireless debugging and connect using adb.
#!/usr/bin/env bash
# Enable wireless debugging and connect using adb.
command -v adb su >/dev/null || exit 1
# Variables
_SUDO="su -c"
_ADB="adb"
# Functions