Skip to content

Instantly share code, notes, and snippets.

@aktentasche
aktentasche / gnome-reset.sh
Created March 30, 2018 09:52 — forked from mig/gnome-reset.sh
Reset Gnome 3 config to default
rm -rf .gnome .gnome2 .gconf .gconfd .metacity .cache .dbus .dmrc .mission-control .thumbnails ~/.config/dconf/user ~./compiz*
# needs https://github.com/cykerway/complete-alias
# wget https://raw.githubusercontent.com/cykerway/complete-alias/master/complete_alias -O ~/.complete-alias
# add to bashrc
# echo "source ~/.aktentasche_aliases" >> ~/.bashrc
# download this gist
# wget https://gist.githubusercontent.com/aktentasche/1acda6799eced275483c4c8972ec5bec/raw/adf03d47dd4de833a074ab1b3f3b2f9a93dc18e8/gistfile1.txt -O ~/.aktentasche_aliases
source ~/.complete-alias
echo "
\" Enable type file detection. Vim will be able to try to detect the type of file in use.
filetype on
\" Enable plugins and load plugin for the detected file type.
filetype plugin on
\" Load an indent file for the detected file type.
filetype indent on
@aktentasche
aktentasche / adb_enable_usb_debug_and_skip_fingerpint.sh
Created June 30, 2022 22:52
adb enable debug in recovery mode and show screen on PC
# this helps with a broken display or touch on an android phone
# the phone needs to be rooted and adb installed
# boot into recovery mode and type
adb shell setprop persist.service.adb.enable 1
adb shell setprop persist.service.debuggable 1
adb shell setprop persist.sys.usb.config mtp,adb
# then copy adb key so the accept fingerprint dialog is skipped
cd ~/.android
@aktentasche
aktentasche / gist:989ae400486bbe28c1ac391dedfc6105
Created January 8, 2024 21:33
pppoe server spoofing telenor
manjaro live boot
connect to internet
sudo pacman -Sy --needed rp-pppoe wireshark-qt
sudo gpasswd -a $USER wireshark
# find ethernet interface e.g. eno1 or eth0
ip a
// ==UserScript==
// @name Webseitentext runterladen
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Download only human-readable text from any webpage as a TXT file
// @author You
// @match *://*/*
// @grant none
// ==/UserScript==