Skip to content

Instantly share code, notes, and snippets.

View rsmnarts's full-sized avatar
🏠
Working from home

rsmnarts

🏠
Working from home
View GitHub Profile
@kleutzinger
kleutzinger / mute-all-discord-servers.txt
Last active February 23, 2026 20:17
Mute all your discord servers
This file helps you mute every discord channel in your account
you have to run it in the developer console on the web client
follow the instructions below. this is tested on firefox and chrome.
1. open the discord webapp at https://discord.com/channels/@me
2. manually expand all server folders
(note any servers inside collapsed server folders will not be modified, this can be useful for leaving certain groups of servers unmodified)
3. open browser network inspector
4. right click on a sever icon
5. (un)mute a server
@approovm
approovm / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Last active December 7, 2025 12:13
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system
@Jabarabo
Jabarabo / githubpull.md
Last active February 24, 2026 03:42
Gist of a stolen gist
@akabe1
akabe1 / frida_multiple_unpinning.js
Last active February 24, 2026 18:43
Another Android ssl certificate pinning bypass for various methods
/* Android ssl certificate pinning bypass script for various methods
by Maurizio Siddu
Run with:
frida -U -f <APP_ID> -l frida_multiple_unpinning.js [--no-pause]
*/
setTimeout(function() {
Java.perform(function() {
console.log('');
@aamnah
aamnah / quick-actions-finder-macos-big-sur.md
Last active February 25, 2025 23:20 — forked from tonysneed/Mac OS X: Open in Visual Studio Code
Add Quick Actions to Finde in macOS Big Sur to open a folder in VS Code
  • Open Automator
  • Choose Quick Action as the document type
  • Change Workflow receives current to files or folders in Finder.app
  • For Action, choose Open Finder items from the left hand sidebar
  • Change Open with to Visual Studio Code.app (find it in Other... )
  • For the Icon, change Image to "Choose..." and select the Visual Stuido Code app. It'll automatically pick the icon
  • Save it (Cmd+S) as something like "Open in VS Code"
@dopey
dopey / main.go
Last active September 27, 2025 17:07 — forked from denisbrodbeck/main.go
How to generate secure random strings in golang with crypto/rand.
package main
import (
"crypto/rand"
"encoding/base64"
"fmt"
"io"
"math/big"
)
@mpneuried
mpneuried / Makefile
Last active February 4, 2026 19:41
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@dansjensen
dansjensen / Facebook.js
Last active September 12, 2020 14:17
Embed Facebook SDK into React app
"use strict";
import { connect } from "react-redux";
import { oauth } from "../../actions/auth_actions";
import "./facebook.css";
const Facebook = ({ dispatch }) => (
<button
className="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect facebook"
onClick={ev => {
ev.preventDefault();
@stoewer
stoewer / ToSnakeCase.go
Last active March 29, 2022 16:59
Convert camel case to snake case in Go http://play.golang.org/p/9ybqJat1Hr
import (
"fmt"
"strings"
"regexp"
)
var matchFirstCap = regexp.MustCompile("(.)([A-Z][a-z]+)")
var matchAllCap = regexp.MustCompile("([a-z0-9])([A-Z])")
@parmentf
parmentf / GitCommitEmoji.md
Last active February 27, 2026 08:17
Git Commit message Emoji