Skip to content

Instantly share code, notes, and snippets.

View DemonKingSwarn's full-sized avatar
🌱
Learning Golang

justmessingaround DemonKingSwarn

🌱
Learning Golang
View GitHub Profile
@PaulLowenstrom
PaulLowenstrom / PixelLabRotate.cs
Created December 10, 2024 18:21
Rotate pixel art using PixelLabs AI models
using UnityEngine;
using UnityEditor;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine.Networking;
using System.IO;
// Get an api key at https://www.pixellab.ai/pixellab-api
// Documentation for curl and example code: https://api.pixellab.ai/v1/docs
@Tigermouthbear
Tigermouthbear / wsl_arch_install_notes.md
Created November 25, 2024 21:01
My notes on installing Arch Linux to second drive from WSL

Installing Arch Linux to second drive from Windows using WSL

I recently wanted to install Arch Linux onto a second drive on my Windows desktop, but didn't have a flash drive around. Eventually, I figured out how to use Windows Subsystem for Linux (WSL) instead of the installation medium to install Arch Linux on my second drive with the GRUB boot loader. I could not find any information on how to do this, so I had to figure it out mostly on my own. I wrote this guide to help anyone who wishes to try this installation method too!

Preparation

Install WSL

PowerShell (Administrator):

wsl --install
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active September 23, 2025 04:10
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@sgarcia22
sgarcia22 / NounCharacterAssigner.cs
Last active February 5, 2025 15:58
Creates a prefab from Nouns base models. Created as a fix for the https://3dnouns.com/ characters.
using UnityEngine;
using UnityEditor;
/// <summary>
/// Creates a prefab from Nouns base models. Created as a fix for improperly rigged https://3dnouns.com/ characters.
///
/// This tool takes a "MAIN" prefab with the base body and head set up, creates a new prefab based on the "MAIN" one, and swaps out the textures for the imported .gltf gameobject.
///
/// Set Up:
/// -Download the base body.glb and head.glb from https://github.com/0xFloyd/3DNouns/tree/main/public/baseModels.
@santaklouse
santaklouse / CrossOver.sh
Last active September 23, 2025 02:05
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
@ishad0w
ishad0w / sources.list
Created April 30, 2020 16:55
Ubuntu 20.04 LTS (Focal Fossa) -- Full sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
@hkamran80
hkamran80 / SmartTV2.txt
Last active August 20, 2025 00:09
Pi-hole Blocklist for Smart TVs
# THIS FILE IS NO LONGER BEING MAINTAINED. FOR A MAINTAINED VERSION, PLEASE USE THE VERSION IN THE NEW REPOSITORY.
# Repository: https://github.com/hkamran80/blocklists
# New link for this file: https://raw.githubusercontent.com/hkamran80/blocklists/main/smart-tv
# ------
# This is a blocklist to block Smart TVs sending data home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.
@xujiaao
xujiaao / android-set-ntp-server.md
Last active May 4, 2025 12:55
Set the NTP server of your android device
tags
Android
Android Things

Set the NTP server of your android device