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
| # This will install a Minecraft 1.16.5 vanilla server on Termux and launch it | |
| pkg install apt curl wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh | |
| chmod +x start-ubuntu.sh | |
| ./start-ubuntu.sh | |
| apt install software-properties-common -y | |
| add-apt-repository ppa:openjdk-r/ppa -y && apt update | |
| apt install openjdk-8-jre -y | |
| cd ~ && mkdir mc_server && cd mc_server | |
| wget https://launcher.mojang.com/v1/objects/1b557e7b033b583cd9f66746b7a9ab1ec1673ced/server.jar | |
| echo "eula=true" > eula.txt |
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
| curl --header 'Host: f24.megaup.net' --user-agent 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US,en;q=0.5' --referer 'https://megaup.net/51si/T_LOZ-BOTW-USA-LOADIINE-ZIPERTO.part1.rar' --header 'DNT: 1' --cookie 'filehosting=qrp5gj3tpmomjfamlqtdmotr7n' --header 'Upgrade-Insecure-Requests: 1' 'https://f24.megaup.net/51si/T_LOZ-BOTW-USA-LOADIINE-ZIPERTO.part1.rar?download_token=0df82780d4c7161483ff2639acc592ebd8fd5d30ab79aef0b199fb1ca895fa7b' --output 'T LOZ-BOTW-USA-LOADIINE-ZIPERTO.part1.rar' && curl --header 'Host: f24.megaup.net' --user-agent 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US,en;q=0.5' --referer 'https://megaup.net/51s0?pt=wVBFiRH6GUZggGYyX1EjMTorDlELffFQn1M4c4kQDPQ%3D' --header 'DN |
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
| # Microsoft Authentication Scheme | |
| # https://wiki.vg/Microsoft_Authentication_Scheme | |
| # | |
| # DEV NOTE: Might switch to using xbox-webapi-python | |
| # instead later on. | |
| # https://github.com/OpenXbox/xbox-webapi-python | |
| import requests | |
| MS_OAUTH2_URL = "https://login.live.com/oauth20_authorize.srf" |
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
| 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 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
| 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 "none@none.com" | |
| repo init -u https://github.com/LineageOS/android.git | |
| repo sync -j4 | |
| source build/envsetup.sh | |
| breakfast fajita | |
| ccache -M 50G |
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
| { | |
| "sources": [ | |
| { | |
| "label": "AdAway official hosts", | |
| "url": "https:\/\/adaway.org\/hosts.txt", | |
| "enabled": true, | |
| "allow": false, | |
| "redirect": false | |
| }, | |
| { |
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
| 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 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
| 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 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/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): |
NewerOlder