https://github.com/qmk/qmk_firmware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # NOT TESTED!!! | |
| # LG K52 (Android 12) – privacy/OTA block + safe debloat | |
| # Requires: ADB authorized (Developer options + USB debugging ON) | |
| # Helper to run an adb shell cmd and ignore "Unknown package/component" | |
| shx() { adb shell "$@" 2>/dev/null || true; } | |
| echo "[1/8] Waiting for device…" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GDM configuration storage | |
| # | |
| # See /usr/share/gdm/gdm.schemas for a list of available options. | |
| [daemon] | |
| # Uncomment the line below to force the login screen to use Xorg | |
| #WaylandEnable=false | |
| # Enabling automatic login | |
| # AutomaticLoginEnable = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Default behavior for the release upgrader. | |
| [DEFAULT] | |
| # Default prompting and upgrade behavior, valid options: | |
| # | |
| # never - Never check for, or allow upgrading to, a new release. | |
| # normal - Check to see if a new release is available. If more than one new | |
| # release is found, the release upgrader will attempt to upgrade to | |
| # the supported release that immediately succeeds the | |
| # currently-running release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/default/grub | |
| # If you change this file, run 'update-grub' afterwards to update | |
| # /boot/grub/grub.cfg. | |
| # For full documentation of the options in this file, see: | |
| # info -f grub -n 'Simple configuration' | |
| GRUB_DEFAULT=0 | |
| GRUB_TIMEOUT_STYLE=hidden | |
| GRUB_TIMEOUT=0 | |
| GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/etc/systemd/system/nordvpn-connect.service | |
| [Unit] | |
| Description=Connect to NordVPN on boot | |
| After=network-online.target | |
| Wants=network-online.target | |
| Requires=nordvpnd.service | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/bin/bash -c 'export HOME=/home/vini && /usr/bin/nordvpn connect San_Francisco' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //https://stackoverflow.com/questions/69592467/override-post-requests | |
| let send = XMLHttpRequest.prototype.send; | |
| XMLHttpRequest.prototype.send = function (body) { | |
| const newBody = JSON.parse(body); | |
| newBody.id = 304622; | |
| send.call(this, JSON.stringify(newBody)); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # required | |
| mv ~/.config/nvim{,.bak} | |
| # optional but recommended | |
| mv ~/.local/share/nvim{,.bak} | |
| mv ~/.local/state/nvim{,.bak} | |
| mv ~/.cache/nvim{,.bak} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
NewerOlder