Skip to content

Instantly share code, notes, and snippets.

View gruberdev's full-sized avatar

Gruber gruberdev

View GitHub Profile
@ScamCast
ScamCast / gist:2e40befbd1b61c4a80cda2745d4df1f4
Created July 4, 2023 09:34
Twitter Android API Endpoints
/graphql/30bHSx-YYMzaygsBwfhftA/AddRemoveUserFromList
/graphql/xIZJPQBK0Zz62_BDLNLHKw/AddSuperFollowPrivacy
/graphql/R1ks8NLVisD-416R3mAk_w/AllSubscribedListsTimeline
/graphql/nxtTgq_TxeEDm0gmsGqK_Q/ArticleTweetsTimeline
/graphql/zacmhLyVLzFAKvH-yia8OA/AudiospaceAddSharing
/graphql/IZ1drq74xph2Gym7gGgtRw/AudiospaceBrowseSpaceTopicsQuery
/graphql/N80MQ7fkrpuq1-kCWVSvzQ/AudiospaceByRestId
/graphql/PTAe3LYPhlCcPJtwpyyx-w/AudiospaceDeleteSharing
/graphql/NiYfwFZDe-90MSqpGEI16w/AudiospaceGiveawayTickets
/graphql/g1mB1D5y3z_NkFsN-FwZdA/AudiospaceIsSubscribedQuery
@gitclone-url
gitclone-url / Boot image extraction guide.md
Last active November 12, 2024 20:09
Guide on how to extract boot image from any android phone without needing to root using magisk and without custom recovery.

Boot Image Extraction Guide

Guide on how to extract a boot image from any Android phone without needing to root using Magisk and without a custom recovery.

Most Android users face hurdles when attempting to root their phones because they require a boot image for patching, and custom recoveries specifically designed for their devices are often unavailable. Additionally, finding the phone firmware online can be challenging. As a result, rooting such phones becomes a daunting task. In this guide, I'll provide a comprehensive solution for users who want to extract the boot image from their phone without the need to root it first, download firmware from the internet, or rely on custom recoveries.

Getting started!

Before diving into the guide, please thoroughly review the Frequently Asked Questions (FAQ) to understand the basics of GSI and the various naming conventi

@toricls
toricls / lima-on-m1-mac-installation-guide.md
Last active November 9, 2024 23:03
Using Lima to run containers with containerd and nerdctl (without Docker Desktop) on M1 Macs

Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.

Sep. 27th 2021 UPDATED

Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:

Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.

1. Install QEMU & Lima

@oofnikj
oofnikj / answerfile
Last active November 15, 2024 20:14
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@matusnovak
matusnovak / README.md
Last active November 14, 2024 22:40
Matrix (Synapse + Riot) in Docker with Traefik and federation

Matrix

matrix.org chat is split into two parts, the server and the client. The server we are going to use is called Synapse and the client is Riot.im. The Synapse will also need Postgres database and Redis for caching.

0. Folders

Make sure your folder structure looks like this.

example/
@astutecat
astutecat / create-darwin-volume.sh
Last active September 16, 2024 12:44
Notes on setting up Nix on MacOS.
#!/bin/sh
set -e
root_disk() {
diskutil info -plist /
}
apfs_volumes_for() {
disk=$1
diskutil apfs list -plist "$disk"
@typokign
typokign / zoomsucks.md
Last active September 8, 2023 05:06
Zoom Sucks

Zoom Sucks

  • Zoom abuses the installer flow on MacOS to bypass permissions dialogs (source)
  • Zoom sends identifying device info to Facebook, even when users don't have a Facebook account (source) (fixed)
  • A bug in Zoom sent identifying information (including email addresses and profile pictures) of thousands of users to strangers (source)
  • Zoom claims that meetings are end-to-end encrypted in their white paper and marketing materials, but meetings are only encrypted in transit, and are available in plaintext to Zoom servers and employees. (source)
  • zoomAutenticationTool can be used to escalat
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active November 14, 2024 06:21
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@troyharvey
troyharvey / .gitlab-ci.yml
Last active January 8, 2024 00:38
Deploy Google Cloud Functions: GitLab CI/CD Pipeline Config File
# Update Jan 2024
# Deploying Cloud Functions is much simpler than it was 6 years ago.
# I'm leaving the gist in it's original 2018 state for now,
# but skip the the recent comments below for a simpler solution.
variables:
GCP_ZONE: us-central1-a
stages:
- npm-install
@tomfanning
tomfanning / iscsi-target.txt
Created November 15, 2017 15:12
Create an iSCSI target on ZFS on CentOS 7
zfs create -o volblocksize=32k -V 10G tslpool/iscsi1
zfs set sync=disabled tslpool/iscsi1
targetcli
block/ create name=block_backend dev=/dev/zvol/tslpool/iscsi1
cd /iscsi
create iqn.2017-11.com.mydomain.ad.zfstest:iscsidisk1
cd /iscsi/iqn.2017-11.com.mydomain.ad.zfstest:iscsidisk1/tpg1/acls
# create acl with the initiator (client) name here, not the one you just created
create iqn.1991-05.com.microsoft:dc1.ad.mydomain.com
cd iqn.1991-05.com.microsoft:dc1.ad.mydomain.com