Skip to content

Instantly share code, notes, and snippets.

View beshrkayali's full-sized avatar

Beshr Kayali Reinholdsson beshrkayali

View GitHub Profile
@sts10
sts10 / rust-command-line-utilities.markdown
Last active April 30, 2025 14:31
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@MarcSkovMadsen
MarcSkovMadsen / HvplotInteractive.ipynb
Created November 1, 2021 19:42
HvplotInteractive.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@beshrkayali
beshrkayali / poly-pio-mode.el
Created February 19, 2021 20:35
Poly RaspberryPi PIO mode
;; Simple Polymode for RaspberryPi Pico PIO files that uses
;; both asm-mode as host-mode and c-mode for pass-through section
(define-hostmode poly-pio-hostmode
:mode 'asm-mode)
(define-auto-innermode poly-pio-c-innermode
:mode 'c-mode
:head-matcher "^% c-sdk {$"
:tail-matcher "^%}$"
@joshskidmore
joshskidmore / img-url-exif.sh
Last active February 15, 2024 15:14
img-url-exif.sh
#!/usr/bin/env bash
# Josh Skidmore <[email protected]>
# Basic example of using an HTTP range header to extract EXIF data
# from a JPEG file without having to download the entire image.
# This has no error handling and assumes the EXIF data is embedded
# within the first $KB_TO_DOWNLOAD kilobytes of the image
# Requirements:
# * curl
count website
4282314 neo.sci.gsfc.nasa.gov
1290870 catalogueoflife.org
862314 hydrol-earth-syst-sci.net
128600 worldplants.webarchiv.kit.edu
109806 web.archive.org
104630 apps.kew.org
86508 tiedostopalvelu.maanmittauslaitos.fi
58578 dyntaxa.se
39580 ildis.org
@joar
joar / lib-tty.py
Last active November 21, 2017 12:26
"""Terminal utilities."""
# Author: Steen Lumholt.
from termios import *
__all__ = ["setraw", "setcbreak"]
# Indexes for termios list.
IFLAG = 0
@joyrexus
joyrexus / README.md
Last active December 30, 2024 01:37
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

@bishboria
bishboria / springer-free-maths-books.md
Last active March 24, 2025 13:36
Springer made a bunch of books available for free, these were the direct links
@hopewise
hopewise / English To Hindi
Last active February 6, 2019 03:16
This script will replace all English numbers by Hindi numbers, it uses regular expression that exclude numbers between tags, ex: <h3>
<script type="text/javascript">
var replaceDigits = function() {
var map = ["&#x660;","&#x661;","&#x662;","&#x663;","&#x664;", "&#x665;","&#x666;","&#x667;","&#x668;","&#x669;"]
// replace english floating point with arabic one:
document.body.innerHTML = document.body.innerHTML.replace(/\d(?=[^<>]*(<|$))/g, function($0) { return map[$0]});
// replace english floating point with arabic one:
document.body.innerHTML = document.body.innerHTML.replace(/\.(?=[^<>]*(<|$))/g, "&#x066B;");
}
window.onload = replaceDigits;
</script>