Skip to content

Instantly share code, notes, and snippets.

@darcyparker
darcyparker / vimModeStateDiagram.svg
Last active April 25, 2024 17:28
Vim Modes Transition Diagram in SVG https://rawgithub.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg Note, most of the nodes in this graph have clickable hyperlinks to documentation.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
anonymous
anonymous / download_apk.sh
Last active March 23, 2024 15:54
Bash script for pulling APK's from Non-rooted android devices
#!/bin/sh
if test $# -lt 1 ; then
echo "Usage: download_apk.sh <GooglePlayPackageName>"
exit 1
fi
PACKAGE=$1
APK_PATH=`adb shell pm list packages -f -3 | grep $PACKAGE | cut -d'=' -f 1 | cut -c9-`
echo "Pulling $APK_PATH from device"
echo `adb pull ${APK_PATH} ./${PACKAGE}.apk`
@m1nicrusher
m1nicrusher / ConfigHowdy.sh
Created November 9, 2022 14:23
Config Howdy for Fedora 36 using GNOME
# !/bin/bash
# Reference: https://copr.fedorainfracloud.org/coprs/principis/howdy/
# sudo required
if ! [ $(id -u) = 0 ]; then
echo "Root privilege is needed. Please rerun the script as root." >&2
exit 1
fi
SUDO_CFG="/etc/pam.d/sudo"
@filips123
filips123 / README.md
Last active March 1, 2024 22:25 — forked from JJRcop/firefoxpwa-runtime-overlayfs.service
Systemd service to use PWAsForFirefox with OverlayFS for runtime

Using PWAsForFirefox with FUSE OverlayFS

This document describes how to use FUSE OverlayFS to link your global Firefox installation with the PWAsForFirefox runtime.

Systemd OS

Prerequisites

  • Your OS uses systemd.
  • Firefox is installed (without Snap or Flatpak).