Skip to content

Instantly share code, notes, and snippets.

View Santiael's full-sized avatar
🕸️

Rafael Santiago Santiael

🕸️
View GitHub Profile
@Nick-Gabe
Nick-Gabe / Pombify.js
Last active July 11, 2025 19:45
Transforma uma string em pombês, e traduz para a língua dos humanos.
const pombify = (phrase) => {
return phrase
.split(' ')
.map((word) => {
const wordLetters = word.split('')
return wordLetters
.map((letter, index) => {
const charCode = letter.charCodeAt(0);
const binary = charCode
.toString(2)
@nezticle
nezticle / tildeOnMac.md
Last active September 22, 2025 21:35
How to get Tilde (~) to work correctly in macOS

This is to solve an issue where you use a non-apple european keyboard with the US keyboard layout in macOS where the Tilde key is in the wrong place.

This is the process for the Logitec MX Keys Mini

  • Connect the keyboard (bluetooth)
  • Make sure the keyboard is in PC mode (hold fn + p for 3 seconds)
  • Go through the keyboard wizard and at the end select the European ISO... layout
  • Switch the keyboard to Mac mode (hold fn + o for 3 seconds)
  • Tilde should work

If this doesn't work:

@stereokai
stereokai / gist:36dc0095b9d24ce93b045e2ddc60d7a0
Last active September 25, 2025 20:54
CSS rounded corners with gradient border
.rounded-corners-gradient-borders {
width: 300px;
height: 80px;
border: double 4px transparent;
border-radius: 80px;
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff);
background-origin: border-box;
background-clip: padding-box, border-box;
}