# Disable SteamOS read-only mode
# I hope you know what you are doing
sudo steamos-readonly disable
# Initialize and populate pacman keys
sudo pacman-key --init
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/netplan/01-kvmbridge.yaml | |
| network: | |
| version: 2 | |
| renderer: networkd | |
| ethernets: | |
| enp2s0: | |
| dhcp4: yes | |
| dhcp6: no | |
| bridges: |
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
| { | |
| "name": "eeprom_backup-20220601-145239", | |
| "time": "2022-06-01 14:52:39", | |
| "version": 1, | |
| "data": { | |
| "steps": { | |
| "command": "M92", | |
| "params": { | |
| "X": 80.0, | |
| "Y": 80.0, |
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
| To disable GUI on boot, run: | |
| `sudo systemctl set-default multi-user.target` | |
| To enable GUI again issue the command: | |
| `sudo systemctl set-default graphical.target` | |
| To start Gnome session on a system without a current GUI just execute: | |
| sudo systemctl start gdm3.service |
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
| adb shell | |
| pm uninstall -k --user 0 com.micredit.in | |
| pm uninstall -k --user 0 com.xiaomi.payment | |
| pm uninstall -k --user 0 com.miui.videoplayer | |
| pm uninstall -k --user 0 com.mi.globalbrowser | |
| pm uninstall -k --user 0 com.miui.weather2 | |
| pm uninstall -k --user 0 com.miui.player |
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
| sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 | |
| sudo apt install iptables-persistent |
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
| #!/bin/bash | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Me wants sudo!" | |
| exit | |
| fi | |
| echo " | |
| ************************************************************************************** | |
| This script will try to compile and setup nginx as a dns load balancer. |
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
| :root { | |
| --white-theme-border: #ddd; | |
| --dark-theme-border: #555; | |
| --color-border: var(--white-theme-border); | |
| --color-input-focus: var(--white-theme-border); | |
| --color-infobox-title-border: var(--white-theme-border); | |
| --color-border-black: var(--white-theme-border); | |
| --color-border-dark: var(--white-theme-border); | |
| --color-border-clicker: var(--white-theme-border); | |
| --color-border-tabular-data: var(--white-theme-border); |
deb https://*/ buster main contrib non-free => deb-src https://*/ buster main contrib non-free
sudo apt build-dep nginx
ngx_version=$(apt-cache policy nginx | grep Candidate | awk -F ':' '{print $2}' | awk -F '-' '{print $1}' | awk '{ gsub(/ /,""); print }')
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
| /** | |
| * Disable the emoji's | |
| */ | |
| function disable_emojis() { | |
| remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
| remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
| remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
| remove_action( 'admin_print_styles', 'print_emoji_styles' ); | |
| remove_filter( 'the_content_feed', 'wp_staticize_emoji' ); | |
| remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); |
NewerOlder