Skip to content

Instantly share code, notes, and snippets.

@msikma
msikma / rfc5646-language-tags.js
Created February 26, 2015 13:51
RFC 5646 Language Tags
// List of language tags according to RFC 5646.
// See <http://tools.ietf.org/html/rfc5646> for info on how to parse
// these language tags. Some duplicates have been removed.
var RFC5646_LANGUAGE_TAGS = {
'af': 'Afrikaans',
'af-ZA': 'Afrikaans (South Africa)',
'ar': 'Arabic',
'ar-AE': 'Arabic (U.A.E.)',
'ar-BH': 'Arabic (Bahrain)',
'ar-DZ': 'Arabic (Algeria)',
@MangaD
MangaD / terminal_user_interfaces.md
Created August 3, 2026 12:12
The Complete Guide to Terminal User Interfaces (TUIs)

The Complete Guide to Terminal User Interfaces (TUIs)

CC0

Disclaimer: ChatGPT generated document.

A TUI (Terminal User Interface) is an interactive user interface rendered inside a terminal. It occupies the middle ground between a traditional command-line interface (CLI) and a graphical user interface (GUI): keyboard-centric, script-friendly and remote-friendly like a CLI, but with windows/panels, menus, tables, forms, dialogs, mouse support, colors, scrolling, and sometimes even graphics.

Modern TUIs have undergone something of a renaissance. Rust, Go, Python, C++, JavaScript, .NET, and other ecosystems now have sophisticated frameworks, while modern terminals support Unicode, 24-bit color, hyperlinks, mouse events, advanced keyboard protocols, andβ€”in some terminalsβ€”actual images.

@bohwaz
bohwaz / lcp_download.php
Created June 29, 2023 20:10
Transform LCP/LCPL files to regular EPUB/PDF/ZIP
#!/usr/bin/php
<?php
// Note: this code does not contain any DRM removal, DRM removal is made by https://notabug.org/NewsGuyTor/DeDRM_tools-LCP
//
// Install steps:
// Debian/Ubuntu/Mint: apt install php-cli python3 python3-cryptodome python3-lxml zip unzip
//
// How to use?
// Just run: php lcp_download.php FILE.LCPL PASSWORD
// A new FILE_decrypted.epub will be created in the same directory
@madhurimarawat
madhurimarawat / GATE-CSE-DS-Resources.md
Last active December 1, 2026 20:03
A collection of the best free GATE preparation resources for CSE & Data Science. Contributions are welcome!

πŸ“Œ GATE Resources - CSE & Data Science

I have compiled all the resources that helped me in my GATE preparation, and I hope they help you too! πŸš€

@45DR
45DR / GoogleDorking.md
Created April 17, 2020 17:50 — forked from beatsfaty/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"

description: Manage Proxmox Virtual Environment infrastructure. Monitor nodes, manage VMs and containers, and perform SRE operations. homepage: "https://www.proxmox.com" metadata: moltbot: api_base: PROXMOX_HOST/api2/json category: infrastructure emoji: πŸ–₯️ name: proxmox

@burakorkmez
burakorkmez / bookmark-saver.md
Last active December 1, 2026 19:30
HTML/CSS/JS PROJECTS
const addBookmarkBtn = document.getElementById("add-bookmark");
const bookmarkList = document.getElementById("bookmark-list");
const bookmarkNameInput = document.getElementById("bookmark-name");
const bookmarkUrlInput = document.getElementById("bookmark-url");
@harvzor
harvzor / linux-mint-22.1-with-emoji-picker.md
Last active December 1, 2026 19:30
Linux Mint 22.1 With Emoji Picker Like In Windows 10/11

Linux Mint 22.1 With Emoji Picker Like In Windows 10/11

How it works on Windows

If you're coming from Windows 10/11, you may be used to being able to hit πŸͺŸ + . on your keyboard like:

image

You can then search for an emoji using the emoji picker that pops up:

@wanglf
wanglf / vscode-extension-offline.md
Last active December 1, 2026 19:27
Download VS Code extensions as VSIX

How to use?

  • Copy content of vsix-bookmarklet, create a bookmark in your browser.
  • Navigate to the web page of the VS Code extension you want to install.
  • Click the bookmark you just created, then click the download button.
    download
  • After download finished, rename the file extension to *.vsix.
  • In VS Code, select Install from VSIX... in the extension context menu.
    vsc
@Marsgames
Marsgames / .gitignore
Last active December 1, 2026 19:27
Generic Unity .gitignore (Ignores git, unity, macos, csharp, windows, visualstudio, visualstudiocode)
# Created by https://www.gitignore.io/api/git,unity,macos,csharp,windows,visualstudio,visualstudiocode
# Edit at https://www.gitignore.io/?templates=git,unity,macos,csharp,windows,visualstudio,visualstudiocode
### Csharp ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files