Skip to content

Instantly share code, notes, and snippets.

@tomByrer
tomByrer / English-Homophones.md
Last active May 2, 2024 23:41
English Homophones

English Homophones

Words that sound alike, but are spelled differently (usually different meanings).

Use cases

  • filter out dictionary words, resulting in a word list that reduces confusion for verbal password phrases
  • rhymes (song lyrics, poetry)
  • humor/jokes
π–‚π–Šπ–‘π–ˆπ–”π–’π–Š 𝖙𝖔 π–’π–ž π–˜π–™π–Šπ–†π–’ π–•π–—π–”π–‹π–Žπ–‘π–Š
___β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β—’β–†β–…β–ƒβ€†γ€€γ€€γ€€β€†β€†β€†γ€€γ€€β€‚γ€€γ€€γ€€β€‚β–€β–€β–ˆβ–ˆβ–ˆβ–ˆ
___β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ—’β–€β–ˆβ–“β–“β–ˆβ—£β€†β€†β€†γ€€γ€€γ€€γ€€γ€€γ€€β–‚β–ƒβ–ƒγ€€ β–ˆβ–ˆβ–ˆβ–ˆ
__β–β–β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–Œβ–β–“β–“β–‰γ€€γ€€γ€€γ€€γ€€γ€€γ€€β—’β–“β–“β–ˆ β–Ό β–ˆβ–ˆβ–ˆβ–ˆ
__β€†β–Œβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Žγ€€β€†β–€β–€β–€γ€€γ€€γ€€γ€€γ€€γ€€ γ€€β–ˆβ–“β–“β–Œ β–Œ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ
_▐ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šγ€€β€‚G γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€β–€β—₯◀▀    β–²β–ˆβ–ˆβ–ˆβ–ˆβ–‰
_β–Šβ€†β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ—£β€†γ€€γ€€γ€€γ€€γ€€γ€€β€†β€†β€²γ€€γ€€γ€€Gγ€€β€†β–ƒβ—’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–
_β€†β–‰β€‚β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ—£β€†γ€€γ€€γ€€γ€€β€†β–ƒγ€γ€€γ€€γ€€γ€€γ€€β—’β–ˆβ–ˆβ–ˆβ–Šβ–ˆβ–ˆβ–ˆβ€Š
_β–‰γ€€β€†β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–†β–ƒγ€€γ€€γ€€γ€€γ€€γ€€γ€€β€‚β—’β–ˆβ–ˆβ–ˆβ–ˆβ–Œβ€‚β–ˆβ–ˆβ–ˆβ€Š
@tobek
tobek / get-image-urls.js
Last active May 2, 2024 23:39
Save images from chrome inspector/dev tools network tab
/* open up chrome dev tools (Menu > More tools > Developer tools)
* go to network tab, refresh the page, wait for images to load (on some sites you may have to scroll down to the images for them to start loading)
* right click/ctrl click on any entry in the network log, select Copy > Copy All as HAR
* open up JS console and enter: var har = [paste]
* (pasting could take a while if there's a lot of requests)
* paste the following JS code into the console
* copy the output, paste into a text file
* open up a terminal in same directory as text file, then: wget -i [that file]
*/
@edolstra
edolstra / nix-lang.md
Last active May 2, 2024 23:39
Nix language changes

This document contains some ideas for additions to the Nix language.

Motivation

The Nix package manager, Nixpkgs and NixOS currently have several problems:

  • Poor discoverability of package options. Package functions have function arguments like enableFoo, but there is no way for the Nix UI to discover them, let alone to provide programmatic ways to
β£Ώβ‘Ÿβ ™β ›β ‹β ©β ­β£‰β‘›β’›β «β ­β „β ’β „β „β „β ˆβ ‰β ›β’Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώ
β£Ώβ‘‡β „β „β „β „β£ β –β ‹β£€β‘€β „β ’β „β „β „β „β „β „β „β „β „β£ˆβ‘­β ­β „β „β „β ‰β ™
β£Ώβ‘‡β „β „β’€β£žβ£‘β ΄β šβ β „β „β’€β  β „β „β „β „β „β „β „β ‰β „β „β „β „β „β „β „β „
β£Ώβ‘‡β „β‘΄β β‘œβ£΅β’—β’€β „β’ β‘”β β „β „β „β „β „β „β „β „β „β „β „β „β „β „β „β „β „
β£Ώβ‘‡β‘œβ „β‘œβ „β „β „β ‰β£ β ‹β  β „β’€β‘„β „β „β£ β£†β „β „β „β „β „β „β „β „β „β „β’Έ
β£Ώβ Έβ „β‘Όβ „β „β „β „β’°β β „β „β „β ˆβ£€β£ β£¬β£­β£›β „β β „β‘„β „β „β „β „β „β’€β£Ώ
⣏⠄⒀⠁⠄⠄⠄⠄⠇⒀⣠⣴⣢⣿⣿⣿⣿⣿⣿⑇⠄⠄⑇⠄⠄⠄⠄⒀⣾⣿
β£Ώβ£Έβ ˆβ „β „β °β Ύβ ΄β’Ύβ£»β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ’β£Ύβ’€β β „β „β „β’ β’Έβ£Ώβ£Ώ
β£Ώβ£Ώβ£†β „β †β „β£¦β£Άβ£¦β£Œβ£Ώβ£Ώβ£Ώβ£Ώβ£·β£‹β£€β£ˆβ ™β ›β‘›β Œβ „β „β „β „β’Έβ’Έβ£Ώβ£Ώ
β£Ώβ£Ώβ£Ώβ „β „β „β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ ‡β ˆβ „β „β „β „β „β ˆβ’Έβ£Ώβ£Ώ
@JamesChevalier
JamesChevalier / mac_utf8_insanity.md
Last active May 2, 2024 23:38
Unicode on Mac is insane. Mac OS X uses NFD while everything else uses NFC. This fixes that.

convmv manpage

Install convmv if you don't have it

sudo apt-get install convmv

Convert all files in a directory from NFD to NFC:

convmv -r -f utf8 -t utf8 --nfc --notest .

@chaodonghu
chaodonghu / follow-instagram.js
Last active May 2, 2024 23:37
Google Chrome script that allows user to mass follow instagram users on another's profile
// Run GOOGLE CHROME - WORKING AS OF DEC 26 2023
// Please @ me in the comments if this stops working, I will try to get it working again within the month
// INSTRUCTIONS
// 1. Open Instagram in Chrome
// 2. Click on "FOLLOWERS" OR "FOLLOWING" on your Instagram profile or a desired user's Instagram profile
// 3. Open developer tools by right clicking on the page and clicking "INSPECT"
// 4. Copy the code below and paste in the developer tools console and press enter to run
// 5. Script will not run if tab is navigated away from, minimized of unfocused (It is recommended to open a new chrome window or push tab to the side and let script run in background)
@deyvicode
deyvicode / markdown-documentation.md
Last active May 2, 2024 23:32
Resumen sobre cΓ³mo escribir markdown y algunas herramientas recomendadas.

Markdown

Texto

  • * text * italic
  • ** text ** bold
  • *** text *** italic bold
  • ~ text ~ texto subscrito
  • ^ text ^ texto superscrito
  • ~~ text ~~ tachado
  • > text blockquote (cita)
@dongbum
dongbum / cmake-tutorial.md
Created September 25, 2019 17:38 — forked from luncliff/cmake-tutorial.md
CMake ν• λ•Œ μͺΌμ˜€μ˜€κΈˆ 도움이 λ˜λŠ” λ¬Έμ„œ

CMakeλ₯Ό μ™œ μ“°λŠ”κ±°μ£ ?
쒋은 νˆ΄μ€ Visual Studio λΏμž…λ‹ˆλ‹€. κ·Έ μ΄μ™Έμ—λŠ” μ „λΆ€ 사도(ι‚ͺ道)μž…λ‹ˆλ‹€ 사도! - μž‘μ„±μž

주의

  • 이 λ¬Έμ„œλŠ” CMakeλ₯Ό μ£Όκ΄€μ μœΌλ‘œ μ„œμˆ ν•©λ‹ˆλ‹€
  • 이 λ¬Έμ„œλ₯Ό 톡해 CMakeλ₯Ό μ‹œμž‘ν•˜κΈ°μ—” μ ν•©ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€
    https://cgold.readthedocs.io/en/latest/ 3.1 μ±•ν„°κΉŒμ§€ 따라해본 이후 기본사항듀을 μ†μ„±μœΌλ‘œ μ΅νžˆλŠ” 것을 λ•κΈ°μœ„ν•œ 보쑰자료둜써 μž‘μ„±λ˜μ—ˆμŠ΅λ‹ˆλ‹€
@wojteklu
wojteklu / clean_code.md
Last active May 2, 2024 23:25
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules