Skip to content

Instantly share code, notes, and snippets.

@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active July 17, 2026 03:38
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m
@shmookey
shmookey / README
Created January 7, 2022 05:54
3103 common 5-letter words
this word list comprises the intersection of 5 letter words occurring in three source lists:
- wikipedia's list of most 100k most common words in the english language
- the american english dictionary file on my laptop
- the british english dictionary file on my laptop
the source lists are sanitised by dropping words that contain non-alphabetic or non-ascii
characters and converting capitals to lowercase.
only words that occur in all three resulting lists are kept.
@rajesh-s
rajesh-s / note-link-janitor-gh-action-workflow.yml
Last active June 8, 2026 23:35
Github Workflow to automatically run note-link-janitor on each push
@dannguyen
dannguyen / fetch_ghstars.md
Last active April 8, 2026 19:46
fetch_ghstars.py: quick CLI script to fetch from Github API all of a user's starred repos and save it as raw JSON and wrangled CSV

fetch_ghstars.py: quick CLI script to fetch and collate from Github API all of a user's starred repos

  • Requires Python 3.6+
  • Creates a subdir 'ghstars-USERNAME' at the current working directory
  • the raw JSON of each page request is saved as: 01.json, 02.json 0n.json
  • A flattened, filtered CSV is also created: wrangled.csv

Example usage:

// This app initially started from Flavio Copes analytics example
// but diverged quite a bit to generate images as well as track views
// https://flaviocopes.com/count-visits-static-site/
const express = require('express')
const app = express()
// no db - so global var to keep track of count
let counter = 0
@kmancher
kmancher / rethink.js
Last active March 20, 2019 03:47
quote sorter
let allButton, mortButton, partButton, impButton, mortClose;
function setup() {
createCanvas(windowWidth, windowHeight);
noStroke();
allButton = createButton('all');
allButton.position(width-220, 20);
mortButton = createButton('mortality');
mortButton.position(width-220, 90);
@ciphercharly
ciphercharly / links.md
Last active November 21, 2018 19:53
links
@ammarshah
ammarshah / all_email_provider_domains.txt
Last active July 14, 2026 16:36
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@trusktr
trusktr / image-grid.md
Last active April 16, 2026 01:44
Image grid in Markdown
screen shot 2017-08-07 at 12 18 15 pm blah screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm