Skip to content

Instantly share code, notes, and snippets.

View yonderbread's full-sized avatar
🧀
chedda

yonderbread yonderbread

🧀
chedda
View GitHub Profile
@dequis
dequis / mcresources.py
Last active January 6, 2024 12:20
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.
"""
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
input {
file {
path => [ "/data/minecraft/*/logs/latest.log" ]
tags => ["minecraft"]
}
}
filter {
if "minecraft" in [tags] {
grok {
@detached
detached / compile-aseprite-for-win.txt
Last active May 13, 2021 02:16
Compile Aseprite for Windows X86
I had to compile Aseprite for my girlfriends Windows. This is how I did it.
(As I had installed VS 2017 in german language I have to guess the right translation of the menu lables)
1. Download and install Git for Windows: https://git-scm.com/download/win
2. Download VS 2017 Community: https://www.visualstudio.com
3. When installing VS 2017 select the install option 'Desktop development with C++'
4. Download and install cmake: https://cmake.org/download/
5. Download and install MozillaBuild: https://wiki.mozilla.org/MozillaBuild
@megasaturnv
megasaturnv / parseRssFeed.sh
Last active October 16, 2023 07:29
Shell script / one-liner to parse and display an rss feed. May require tweaking for RSS feeds without newlines or where <title> and <description> are on separate lines to their text.
#!/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>'
@suberb
suberb / elementaryos.md
Last active December 25, 2023 19:14
elementaryOS | Things To Do After Installing Elementary OS Loki [Best OS For Switching From Windows & Mac]

FIRST THING FIRST


  • Update OS
sudo apt-get update && sudo apt-get upgrade

@Nadrieril
Nadrieril / shell.nix
Last active June 25, 2024 00:54
Building LineageOS on NixOS
# 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
@e4m7g6
e4m7g6 / Music Resources.md
Created September 26, 2019 04:14
Music Resources


Digital Audio WorkstationsDigital Audio Workstations

  • Web Apps

@oofnikj
oofnikj / answerfile
Last active June 29, 2024 01:41
Install Docker on Termux
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 SCRIPT WILL REMOVE ONE DRIVE FROM WINDOWS 10 !!!
:: !!! PLEASE USE WITH CAUTION !!!
:: Screenshot of Explorer with OneDrive removed -> https://prnt.sc/wapuht
:: Disabling One Drive
cls
echo.
echo :: Uninstalling OneDrive
timeout /t 2 /nobreak > NUL
# Store initial working directory path
export START_PATH=$PWD
# Get dependencies
sudo apt-get install -y git g++ cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev
# Build skia
mkdir $HOME/deps
cd $HOME/deps
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git