Skip to content

Instantly share code, notes, and snippets.

View yonderbread's full-sized avatar
🧀
chedda

yonderbread yonderbread

🧀
chedda
View GitHub Profile
:: !!! 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
@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
#!/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
@yonderbread
yonderbread / autoexec.cfg
Last active June 13, 2021 04:27
My CS:GO config
// 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"
@e4m7g6
e4m7g6 / Music Resources.md
Created September 26, 2019 04:14
Music Resources


Digital Audio WorkstationsDigital Audio Workstations

  • Web Apps

@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 {
@megasaturnv
megasaturnv / parseRssFeed.sh
Last active November 18, 2024 21:51
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 September 6, 2025 14:29
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