Skip to content

Instantly share code, notes, and snippets.

View smileart's full-sized avatar
🪖
Oh-oo-oh you're in the army now...

Serge Bedzhyk smileart

🪖
Oh-oo-oh you're in the army now...
View GitHub Profile
@adtac
adtac / README.md
Last active October 25, 2025 19:12
Using your Kindle as an e-ink monitor

3.5 fps, Paperwhite 3
@adtac_

step 1: jailbreak your Kindle

mobileread.com is your best resource here, follow the instructions from the LanguageBreak thread

I didn't really follow the LanguageBreak instructions because I didn't care about most of the features + I was curious to do it myself, but the LanguageBreak github repo was invaluable for debugging

@claudioluciano
claudioluciano / spoiler_obsidian.css
Last active August 17, 2025 18:47
Obsidian - snippet to create spoilers on notes
:root {
--spoiler-bg-color: rgb(23, 23, 26);
--spoiler-border-radius: 2px;
--spoiler-transition-duration: 0.3s;
--spoiler-transition-timing: ease-in-out;
}
/* Document */
/* Hide the checkbox */
@veekaybee
veekaybee / normcore-llm.md
Last active October 31, 2025 04:51
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@davidteren
davidteren / ruby_on_m1_mac.md
Created August 31, 2022 07:39
Run Ruby via asdf on M1 Macs

Remove Rbenv

brew remove rbenv
rm -rf ~/.rbenv

Remove the following line from your .zshrc

@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active October 22, 2025 20:29
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

@bryanbraun
bryanbraun / git-branching-diagram.md
Last active October 7, 2025 16:35
Example Git Branching Diagram

Example Git Branching Diagram

You can use this diagram as a template to create your own git branching diagrams. Here's how:

  1. Create a new diagram with diagrams.net (formerly draw.io)
  2. Go to File > Open From > URL
  3. Insert this url (it points to the xml data below): https://gist.github.com/bryanbraun/8c93e154a93a08794291df1fcdce6918/raw/bf563eb36c3623bb9e7e1faae349c5da802f9fed/template-data.xml
  4. Customize as needed for your team.

@jamesfulford
jamesfulford / useTime.js
Last active December 13, 2022 09:07
useTime() React hook
//
// useTime hook
//
import { useEffect, useState } from 'react';
export const useTime = (refreshCycle = 100) => {
// Returns the current time
// and queues re-renders every `refreshCycle` milliseconds (default: 100ms)
const [now, setNow] = useState(getTime());
@ryo-ARAKI
ryo-ARAKI / starship.toml
Last active September 12, 2025 13:53
Starship configuration file
# ~/.config/starship.toml
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = ""
[[battery.display]]
threshold = 30
style = "bold red"
@htr3n
htr3n / macos-ramdisk.md
Last active August 18, 2025 15:03
Creating RAM disk in macOS

Built-in

diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`

where XXXXX is the size of the RAM disk in terms of memory blocks.

Notes:

@arturmartins
arturmartins / mac-upgrade.sh
Last active October 29, 2025 23:51
How to keep your mac software updated easily (2025)
#!/bin/bash
# Requirements:
# - homebrew: https://brew.sh/
# - homebrew tap: buo/cask-upgrade - https://github.com/buo/homebrew-cask-upgrade
# - homebrew mas (Mac App Store command-line interface - https://github.com/mas-cli/mas)
#
# Install the requirements by running:
# brew tap buo/cask-upgrade && brew install mas
# CONFIG: