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
| KEYMAPOPTS="us us" | |
| HOSTNAMEOPTS="-n alpine" | |
| INTERFACESOPTS="auto lo | |
| iface lo inet loopback | |
| auto eth0 | |
| iface eth0 inet dhcp | |
| hostname alpine | |
| " | |
| TIMEZONEOPTS="-z UTC" |
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
| # I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone | |
| # The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build | |
| # For NixOS, follow those instructions but skip anything related to installing packages | |
| # Detailed instructions: | |
| # cd into an empty directory of your choice | |
| # copy this file there | |
| # in nix-shell: | |
| # $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0 | |
| # $ repo sync | |
| # $ source build/envsetup.sh |
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/sh | |
| #Megasaturnv 2017-07-28 | |
| #Url of the RSS feed | |
| RSS_URL="" | |
| ##Commented version: | |
| #Download the rss feed | |
| curl --silent "$RSS_URL" | \ | |
| #Only match lines with 'title>' or 'description>' |
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
| input { | |
| file { | |
| path => [ "/data/minecraft/*/logs/latest.log" ] | |
| tags => ["minecraft"] | |
| } | |
| } | |
| filter { | |
| if "minecraft" in [tags] { | |
| grok { |
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 script prints a list of URLs required to download all the minecraft | |
| resources that the new launcher can access (jars, libraries, assets) | |
| Redirect stdout to a file to do something useful with it. | |
| Will store cached json indexes in | |
| versions.json | |
| versions/*.json |
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
| // CROSSHAIR | |
| cl_crosshair_drawoutline "0" | |
| cl_crosshair_dynamic_maxdist_splitratio "0.0" | |
| cl_crosshair_dynamic_splitalpha_innermod "1" | |
| cl_crosshair_dynamic_splitalpha_outermod "0.300000" | |
| cl_crosshair_dynamic_splitdist "5" | |
| cl_crosshair_friendly_warning "1" | |
| cl_crosshair_outlinethickness "0.5" | |
| cl_crosshair_sniper_show_normal_inaccuracy "0" | |
| cl_crosshair_sniper_width "1" |
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 | |
| # Clean up previous directories | |
| rm -rf aseprite | |
| # Update packages | |
| sudo apt update && sudo apt upgrade -y | |
| # Install dependencies and other packages | |
| sudo apt install -y aria2 g++ wget git unzip cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev | |
| # Delete old deps directory if it exists and cd into it |
NewerOlder
