Skip to content

Instantly share code, notes, and snippets.

@alexchexes
alexchexes / CHANGELOG.md
Last active July 2, 2026 08:36
ChatGPT web-interface width fix (and other UI improvements)

2026-06-29

  • Fix dark background being accidentally applied to white theme for certain UI elements. Thanks @simcc!

2026-06-28

  • Fix background color for https://chatgpt.com/codex/cloud (see previous log entry about adding new mainBgColor tweak)
  • Fix dark background color being accidentally applied to white theme

2026-06-17

  • Add mainBgColor default option that restores a readable UI background in place of the eye-bleeding #000-black. If you like #000 or use an OLED display, you can remove this by setting defaultSettings.mainBgColor.enabled to false.
@OdatNurd
OdatNurd / project_specific_files.py
Last active January 2, 2024 07:19
Sublime Text plugin for making opened files open in the window for the project
import sublime
import sublime_plugin
from os.path import isabs, isfile, normpath, realpath, dirname, join
# Related reading:
# https://forum.sublimetext.com/t/forbid-st-from-opening-non-project-files-in-the-projects-window/68989
# The name of the window specific setting that determines if the functionality
# of this plugin is enabled or not, and an indication of whether the plugin

Managing Gists Locally

by Danny Quah, May 2020 (revised Jan 2022)

Through the Embed instruction or plugin, Gist snippets on GitHub can conveniently provide posts on Medium, WordPress, and elsewhere supplementary information (lines of code, images, Markdown-created tables, and so on). But while Gist snippets on GitHub can be managed directly via browser or through something like [Gisto][], a user might also wish to manipulate them offline. This last is for many of the same reasons that a user seeks to clone a git repo to their local filesystem, modify it locally, and then only subsequently push changes back up to GitHub.

Here's how to do this:

Create the gist on GitHub and then clone it to your local filesystem:

@vratiu
vratiu / .bash_aliases
Last active June 2, 2026 13:00
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset