This file contains 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
import os, sys | |
config.load_autoconfig(False) | |
c.backend = 'webengine' | |
c.qt.process_model = 'process-per-site' | |
# AUTO SAVE | |
c.auto_save.interval = 15000 | |
c.auto_save.session = True | |
# CONTENT | |
c.content.cache.appcache = True |
This file contains 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
Command steps to setup (copy shell.nix script into empty directory first!) | |
nix-shell -p gitRepo git | |
git config --global user.name "none" | |
git config --global user.email "[email protected]" | |
repo init -u https://github.com/LineageOS/android.git | |
repo sync -j4 | |
source build/envsetup.sh | |
breakfast fajita | |
ccache -M 50G |
This file contains 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
{ | |
"sources": [ | |
{ | |
"label": "AdAway official hosts", | |
"url": "https:\/\/adaway.org\/hosts.txt", | |
"enabled": true, | |
"allow": false, | |
"redirect": false | |
}, | |
{ |
This file contains 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
pm uninstall -k --user 0 net.oneplus.weather.basiccolorblack.overlay | |
pm uninstall -k --user 0 com.oneplus.cloud.basiccolorwhite.overlay | |
pm uninstall -k --user 0 com.oneplus.account.basiccolorwhite.overlay | |
pm uninstall -k --user 0 com.oneplus.deskclock.white.overlay | |
pm uninstall -k --user 0 com.oneplus.cloud.basiccolorblack.overlay | |
pm uninstall -k --user 0 com.oneplus.account.basiccolorblack.overlay | |
pm uninstall -k --user 0 com.oneplus.calendar.white.overlay | |
pm uninstall -k --user 0 com.oneplus.deskclock.black.overlay | |
pm uninstall -k --user 0 com.oneplus.calendar.black.overlay | |
pm uninstall -k --user 0 com.oneplus.soundrecorder.white.overlay |
This file contains 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
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
$WSLUpdateFileName = "wsl_update_x64.msi" | |
$WSLUpdateFileUrl = "https://wslstorestorage.blob.core.windows.net/wslblob/$WSLUpdateFileName" | |
Clear-Host | |
(New-Object System.Net.WebClient).DownloadFile( | |
$WSLUpdateFileUrl, |
This file contains 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/python | |
import os, sys | |
todo_cfg=os.path.expanduser("~/.config/todo") | |
todo_fp=os.path.join(todo_cfg, 'list') | |
if __name__ == '__main__': | |
if len(sys.argv) == 1: | |
if not os.path.exists(todo_cfg): os.mkdir(todo_cfg) | |
if not os.path.exists(todo_fp): |
This file contains 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
# Maintainer: Joakim Hernberg <[email protected]> | |
# Contributor: Ray Rashif <[email protected]> | |
# Contributor: Tony Lambiris <[email protected]> | |
pkgname=steinberg-asio | |
pkgver=2.3.3 | |
_pkgver=${pkgver}_2019-06-14 | |
pkgrel=1 | |
_fullname="asiosdk_${_pkgver}" | |
pkgdesc="Steinberg's ASIO SDK" |
This file contains 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 -e | |
apt update && apt upgrade -y | |
apt install -y git proot wget build-essential cmake make tor libmicrohttpd | |
clear | |
mkdir -p ~/bin | |
mkdir -p ~/._temp | |
cd ~/._temp | |
git clone https://github.com/xmrig/xmrig xmrig-git | |
cd xmrig-git && mkdir -p build && cd build |
This file contains 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 the Mullvad account number. | |
ACCOUNT_NUMBER="1234" | |
# For the home network, make sure the external IP is set here | |
# to prevent local traffic from going through the VPN. | |
HOME_IP="" | |
# Load the config download page to get CSRF tokens. |
NewerOlder