Skip to content

Instantly share code, notes, and snippets.

@sickcodes
sickcodes / macos.md
Last active February 27, 2026 20:55 — forked from gguerini/macos
MacOS Defaults
# Forked from https://gist.github.com/gguerini
# Syntax edits by Sick Codes (GPLv3+)

# Disable menu bar transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false

# Show remaining battery time; hide percentage
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>PS Classic Menu — Fixed Options Enter</title>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<style>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>PS Classic Menu — Selected Border & Smooth Nav</title>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<style>
@somebox
somebox / teensy-41-guide.md
Created June 29, 2025 01:40
Teensy 4.1 Best Practices

Teensy 4.1 Microcontroller: A Community Reference Guide

This guide synthesizes practical knowledge, best practices, and known issues for the Teensy 4.1 microcontroller, based on extensive community discussions. It is intended for developers, hobbyists, and engineers designing circuits and software with the Teensy 4.1. The information was reviewed by a human, with summarization and structuring help from Gemini 2.5 Studio.

Getting Started: Development Environment & Toolchain

Arduino IDE & Teensyduino Setup

  • Best Practice: For reliable development, use the official Teensyduino installer with a supported version of the Arduino IDE.
    • For Arduino IDE 1.8.x, only specific versions are supported, with 1.8.19 being the most recommended. Teensy support must be added by running the Teensyduino installer and pointing it to the IDE's location.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>PS Classic Menu — Fixed Enter + Bézier Boomerang Transitions</title>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<style>
@repsejnworb
repsejnworb / CrossOverLicence.sh
Last active February 27, 2026 20:50
unlimited CrossOver 24 trial (MacOS)
#!/bin/sh
# Variables
FOLDER_NAME="CrossOverLicence"
PLIST_NAME="com.codeweavers.CrossOver.license.plist"
BOTTLES_PATH="$HOME/Library/Application Support/CrossOver/Bottles"
SCRIPT_URL="https://gist.githubusercontent.com/repsejnworb/84d3e0852cf90ef40edf7e9c060f193b/raw/CrossOverLicence.sh?token=$(date +%s)"
TOTAL_STEPS=3
STEP=0
@Pulimet
Pulimet / AdbCommands
Last active February 27, 2026 20:47
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@nilo
nilo / gist:c2a31a0f9f29c88145ca
Created July 30, 2015 15:42
Using cedilha - ArchLinux Cinnamon
Author: Nilo Dantas - n1lo
Based on: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056 - helio-valente post
How to use Cedilha on US Keyboard on ArchLinux
1) Put: English(US, internacional with dead Keys) on your system keyboard layout.
2) Editing the files:
sudo vim /usr/lib/gtk-3.0/3.0.0/immodules.cache
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>PS Classic Menu — Bézier Boomerang Transitions (Smooth Nav Restored)</title>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<style>
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active February 27, 2026 20:42
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter: