Instantly share code, notes, and snippets.
Discover gists
joeycastillo /epdnotes.cpp
CreatedNovember 30, 2019 00:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
/**************************************************************************/ | |
/*! | |
@brief Custom lookup tables for full screen updates. Public domain (?) from Waveshare. | |
@note Video explainer: https://www.youtube.com/watch?v=MsbiO8EAsGw and more info: | |
https://benkrasnow.blogspot.com/2017/10/fast-partial-refresh-on-42-e-paper.html | |
@warning YOU CAN PERMANENELY DAMAGE YOUR DISPLAY BY ABUSING THESE LOOKUP TABLES! | |
Seriously, the controller is incredibly programmable and you can force all | |
kinds of voltages and timings onto the screen that it wasn't meant to deal | |
with. TWEAK AT YOUR OWN RISK! | |
*/ |
stonehippo /using_circuitpython_native_used_for_serial_data.md
Last activeOctober 13, 2025 14:59
A note to self about using the CircuitPython native USB for serial data with usb_cdcsorenblank /sidebar-vercel-design-eng.tsx
Last activeOctober 13, 2025 14:58
Here is the preview:https://sorenblank.com/snippets/sidebar-vercel // And this was originally published on Twitter:https://twitter.com/sorenblank/status/1976394237899047313 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
"use client"; | |
// Import necessary utilities and components. | |
// tailwind-merge is used to intelligently merge Tailwind CSS classes, preventing conflicts. | |
importReactfrom"react"; | |
import{twMerge}from"tailwind-merge"; | |
// useState is a React Hook for managing state within the component. | |
import{useState}from"react"; | |
// Custom icon components for the sidebar. |
pesterhazy /geepaw-incrementalism.md
Last activeOctober 13, 2025 14:57
MMMSS: GeePaw Hill on Incrementalism in Software DevelopmentThis gist collects publications by GeePaw Hill around the topic of Incrementalism in Software Development - the advice to "take many more, much smaller steps." (MMMSS)
The good entry point into the discussion is a pair of 2020 muses:The RAT: Rework Avoidance Theory andUnderstanding Incremental Switchover
Later muses are also published as podcast episodes.
LeoNatan /Take Control of macOS
Last activeOctober 13, 2025 14:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
csrutil disable | |
sudo nvram boot-args="intcoproc_unrestricted=1 kext-dev-mode=1 amfi_allow_any_signature=1 amfi_unrestrict_task_for_pid=1 PE_i_can_has_debugger=1 cs_enforcement_disable=1 amfi_get_out_of_my_way=1 amfi=0xff cs_debug=1 ipc_control_port_options=0" | |
sudo spctl --global-disable | |
sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO | |
sudo defaults write /Library/Preferences/com.apple.security.coderequirements Entitlements -string always | |
sudo defaults write /Library/Preferences/com.apple.security.coderequirements AllowUnsafeDynamicLinking -bool YES | |
sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool YES | |
defaults write com.apple.loginwindow DisableScreenLockImmediate -bool yes |
rxaviers /gist:7360908
Last activeOctober 13, 2025 14:55
Complete list of github markdown emoji markupiamwildtuna /gist:7772b7c84a11bf6e1385f23096a73a15
Last activeOctober 13, 2025 14:53
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Meta(Instagram,Facebook) | |
//Узлы | |
157.240.253.174,157.240.253.172,157.240.253.167,157.240.253.63,157.240.253.32 | |
157.240.252.174,157.240.252.172,157.240.252.167,157.240.252.63,157.240.252.38 | |
57.144.112.34,57.144.110.1,157.240.205.174,87.245.223.97 | |
//Подсети | |
213.102.128.0/24 | |
204.15.20.0/22 | |
199.201.0.0/16 |
Yamonov /CMYKto100GCRConverter_ai.jsx
Last activeOctober 13, 2025 14:51
IllustratorのCMYK値を、CMYのうち2色+Kに置き換えるスクリプト This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
/* | |
<javascriptresource> | |
<name>CMYK値を整理</name> | |
<category>Yamo/CMYKGCR100</category> | |
</javascriptresource> | |
*/ | |
// Ver 1.2 (2025/10/09) | |
// グローバルスウォッチに対応(特色は維持) |
NewerOlder