Skip to content

Instantly share code, notes, and snippets.

View ckcr4lyf's full-sized avatar
🦀

Raghu Saxena ckcr4lyf

🦀
View GitHub Profile
@aldosch
aldosch / appops.md
Created July 18, 2023 03:48
Change android appops with adb
  • Enable developer mode on android by tapping build number repeatedly
  • Connect to computer via usb
  • Ensure that adb is installed adb --version
  • adb devices to see devices, may need to auth on phone
  • adb shell to get shell
  • pm list packages to list packages
  • pm list packages -3 | cut -f 2 -d ":" to list user installed packages
  • pm list permissions to list all permissions available system-wide
  • appops get <PackageName> to list permissions for a specific app
  • appops set ignore to ignore a permission for a specific app
@sekcompsci
sekcompsci / Comparison Espressif ESP MCUs.md
Last active September 2, 2025 17:47 — forked from fabianoriccardi/Comparison Espressif ESP MCUs.md
Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6. Forked from @fabianoriccardi

Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

A minimal table to compare the Espressif's MCU families.

ESP8266 ESP32 ESP32-S2 ESP32-S3 ESP32-C3 ESP32-C6
Announcement Date 2014, August 2016, September 2019, September 2020, December
@approovm
approovm / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Last active August 2, 2025 15:29
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system
@Chick3nman
Chick3nman / RTX_3080_v6.1.1.Benchmark
Created September 24, 2020 23:47
Hashcat v6.1.1 benchmark on the Nvidia RTX 3080
NVIDIA Driver Version: 455.23.05 CUDA Version: 11.1
Credit: r4d1x
For benchmarking the card and allowing me to release the benchmarks here
There are a handful of algorithms failing, mostly appears related to SCRYPT and
is liking a tuning issue or small driver issue that we will need to take a look at.
Otherwise, seems fairly stable.
@bradtraversy
bradtraversy / mongodb_cheat_sheet.md
Last active September 14, 2025 15:16
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@dianjuar
dianjuar / i3-shortcuts-screenshot.md
Last active September 2, 2025 22:03
My i3 shortcuts to take screenshots

Requirements

  • maim
  • xclip

Set-up

Set this on your i3 config file ~/.i3/config

# Screenshots
@bluenex
bluenex / how-to-run.md
Last active October 11, 2023 09:04
Guide to run script on terminal in the background with log.

Running in the background

This command can be applied to anything run on cli, for example bash script and python script.

Two ways to do

There are two ways to run process in the background, nohup and & (ampersand).

Steps

@eneko
eneko / list-of-curl-options.txt
Last active July 28, 2025 11:04
List of `curl` options
$ curl --help
Usage: curl [options...] <url>
--abstract-unix-socket <path> Connect via abstract Unix domain socket
--alt-svc <file name> Enable alt-svc with this cache file
--anyauth Pick any authentication method
-a, --append Append to target file when uploading
--basic Use HTTP Basic Authentication
--cacert <file> CA certificate to verify peer against
--capath <dir> CA directory to verify peer against
-E, --cert <certificate[:password]> Client certificate file and password
@siwalikm
siwalikm / aes-256-cbc.js
Last active August 11, 2025 11:49
AES-256-CBC implementation in nodeJS with built-in Crypto library
'use strict';
const crypto = require('crypto');
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key
const IV = "5183666c72eec9e4"; // set random initialisation vector
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex');
const phrase = "who let the dogs out";
var encrypt = ((val) => {
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active September 21, 2025 22:17
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux