Skip to content

Instantly share code, notes, and snippets.

View pearagit's full-sized avatar
🍐

pearagon pearagit

🍐
  • 14:47 (UTC -08:00)
View GitHub Profile
@pearagit
pearagit / klwtew.md
Last active April 18, 2024 22:51
kintsu's Learn Washing the Easy Way

kintsu's Learn Washing the Easy Way

Introduction

Hi I'm kintsu and here's yet another washing guide.

Planning to possibly extend this explanation and cover MP washing and bloodwashing since they're not too dissimilar.

@pearagit
pearagit / HowToOTG.md
Created February 5, 2024 02:55 — forked from gbaman/HowToOTG.md
Simple guide for setting up OTG modes on the Raspberry Pi Zero

Raspberry Pi Zero OTG Mode

Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).

The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int

diff -ur SDInstall/config.txt SDInstall_DMG/config.txt
--- SDInstall/config.txt	2022-03-24 16:13:42.000000000 -0700
+++ SDInstall_DMG/config.txt	2021-01-01 14:18:02.000000000 -0800
@@ -11,15 +11,14 @@
 #over_voltage=6
 #hdmi_enable_4kp60=1
 
-gpu_mem=512
-initial_turbo=60
{
"plugins":{
"newGameSectorProcGen":"data.scripts.SectorProcGenMod",
"newGameCreationEntryPoint":"data.scripts.world.SectorGenMod",
},
#Change the number below to increase or decrease the size of the Sector
#"sectorWidth":164000,
#"sectorHeight":104000,
#"sectorConstellationSize":100,
128676 [Thread-3] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error loading
128676 [Thread-3] ERROR com.fs.starfarer.campaign.save.CampaignGameManager - Failed calling method
---- Debugging information ----
message : Failed calling method
cause-exception : java.lang.NullPointerException
cause-message : null
method : com.fs.starfarer.campaign.fleet.FleetMember.readResolve()
class : com.fs.starfarer.campaign.fleet.FleetMember
required-type : com.fs.starfarer.campaign.fleet.FleetMember
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
@pearagit
pearagit / namecheap-synology-ddns.php
Last active September 10, 2020 21:13 — forked from hwkr/namecheap-synology-ddns.php
[Synology NAS namecheap ddns] #network
#!/usr/bin/php -d open_basedir=/usr/syno/bin/ddns
<?php
/*
Usage Instructions ( Obviously your domain has to be hosted on Namecheap )
1) Copy this file to /usr/syno/bin/ddns/namecheap.php
2) Add the following entry in /etc.defaults/ddns_provider.conf
[Custom - Namecheap]
modulepath=/usr/syno/bin/ddns/namecheap.php
@pearagit
pearagit / uninstall-nix-osx.sh
Created September 10, 2020 12:51 — forked from expelledboy/uninstall-nix-osx.sh
[Uninstall Nix Macos] #nix
#!/bin/bash
# !!WARNING!!
# This will DELETE all efforts you have put into configuring nix
# Have a look through everything that gets deleted / copied over
nix-env -e '.*'
rm -rf $HOME/.nix-*
rm -rf $HOME/.config/nixpkgs
@pearagit
pearagit / site-colon.txt
Last active September 10, 2020 16:30
[google search operators] #autotyper
site: