Skip to content

Instantly share code, notes, and snippets.

@chrysalysm
chrysalysm / SKY2040 Configurations Update Backup Guide
Last active July 13, 2024 01:45
SKY2040 Leverless Firmware Update Guide 0.7.x
HOW TO UPDATE YOUR SKY2040 README
=================================
https://gp2040-ce.info/
https://github.com/OpenStickCommunity/GP2040-CE
Tested from 0.7.3 to 0.7.7
- SKY2040 uses the default 'Raspberry Pi Pico' chip as of Jan 2024.
- You want the Pico version of the firmware: GP2040-CE_0.X.X_Pico.uf2
- You can find official GP2040 firmware here: https://gp2040-ce.info/downloads/download-page
import urllib2
import json
import time
import threading
import socket
import string
import os
import random
import traceback
import sys
@chrysalysm
chrysalysm / pybot.py
Created January 24, 2015 01:10
pybot.py
import socket
import requests
import json
import time
import threading
# Connection Information
network = "irc.twitch.net"
port = 6667
channel = "#channelname"
@chrysalysm
chrysalysm / MoveTemporaryFoldersToRamdisk_MacOSX.sh
Last active May 12, 2018 18:49 — forked from pklaus/AlwaysMountRootFSWithNoatime_MacOSX.sh
Shell script to create RamDisk and move temp folders to RamDisk. Increased original RamFS values from 256/64 to 512/128. Moved startup item to /Library/StartupItems instead of /System/Library/StartupItems. https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html
#!/bin/bash
# +----------------------------------------------------------------------+
# | |
# | Set up Mac OS X to store temporary files in RAM rather than on disk.|
# | |
# | By Philipp Klaus <http://blog.philippklaus.de> |
# | |
# | Originally by Ricardo Gameiro <http://blogs.nullvision.com/?p=357> |
# | Changes by Daniel Jenkins |