Skip to content

Instantly share code, notes, and snippets.

View Cardosaum's full-sized avatar
🦀
Flipping bits

Matheus Cardoso Cardosaum

🦀
Flipping bits
View GitHub Profile
@cr0t
cr0t / uni.erl
Created July 27, 2022 16:10
Universal Server ("My favorite Erlang Program")
% Read more:
% - https://joearms.github.io/published/2013-11-21-My-favorite-erlang-program.html
% - https://ferd.ca/my-favorite-erlang-container.html
%
% How to run:
% $ erl
% > c(uni).
% {ok,uni}
% > uni:test().
% 30414093201713378043612608166064768844377641568960512000000000000
@sts10
sts10 / rust-command-line-utilities.markdown
Last active October 27, 2025 12:49
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
@mskorzhinskiy
mskorzhinskiy / ricing.el
Created September 1, 2020 09:31
Doom emacs org-mode ricing
;; Font
(setq doom-font "Iosevka-9")
;; Hide signs like "~" or "_" or "*"
(setq org-hide-emphasis-markers t)
;; Don't align tags
(setq org-tags-column 0)
;; Increase indenation in org-indent
@rohitfarmer
rohitfarmer / nvimr-demo.md
Last active June 13, 2025 14:37
Nvim-R Demo

How to use Neovim or VIM Editor as an IDE for R

Note: This tutorial is written for Linux based systems.

Requirements

R >= 3.0.0

To install the latest version of R please flollow the download and install instructions at https://cloud.r-project.org/

Neovim >= 0.2.0

Neovim (nvim) is the continuation and extension of Vim editor with the aim to keep the good parts of Vim and add more features. In this tutorial I will be using Neovim (nvim), however, most of the steps are equally applicable to Vim also. Please follow download and installation instructions on nvim's GitHub wiki https://github.com/neovim/neovim/wiki/Installing-Neovim.

@mwfogleman
mwfogleman / gtd_basb_templates.org
Last active July 16, 2025 03:16
GTD/BASB Templates for Emacs and Org-Mode
@eshapard
eshapard / autoLearningSteps.py
Last active February 11, 2023 20:18
Anki 2.0 addon to dynamically create learning steps. Starting at 15 minutes and then one day, each additional step is `easeFactor * lastStep` until we pass 20 days. Sets graduating and *Easy* interval to the next logical interval in the series. See this post for rationale: https://eshapard.github.io/anki/anki-learning-steps-with-feedback.html
# Auto Learning Steps
# Anki 2.0 addon
# Author EJS
# https://eshapard.github.io/
#
# Sets the learning steps sequence of each deck options group.
from anki.hooks import addHook
from aqt import mw
#from aqt.utils import showInfo
#import time