Skip to content

Instantly share code, notes, and snippets.

@lakshyabatman
lakshyabatman / bitcoin.sh
Created January 9, 2021 14:29
Small script to show bitcoin price on terminal!
#!/bin/bash
#A Shell script to fetch bitcoin price and display !
#Author: Lakshya Khera
#Dependencies
# - jq https://stedolan.github.io/jq/
# - lolcat https://github.com/busyloop/lolcat/
#
bitcoin_price=$(curl -s https://api.coindesk.com/v1/bpi/currentprice.json | jq '.bpi.USD.rate ')
@sts10
sts10 / rust-command-line-utilities.markdown
Last active May 12, 2026 18:08
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
@arunrreddy
arunrreddy / index.html
Created March 8, 2022 09:41 — forked from kertnik05/index.html
html table cell split diagonally
<!DOCTYPE html>
<html>
<head>
<title>HTML Table Cell Split Diagonally</title>
</head>
<body>
<table>
<tr>
<td>
<div class="c1">A</div>
@jauderho
jauderho / gist:6b7d42030e264a135450ecc0ba521bd8
Last active May 5, 2026 13:45
HOWTO: Upgrade Raspberry Pi OS from Bullseye to Bookworm
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ###
#
# Officially, this is not recommended. YMMV
# https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
#
# This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit
#
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels
#
@cmackenzie1
cmackenzie1 / cargo-clean.sh
Created September 3, 2024 04:01
Run cargo clean on multiple directories.
#!/bin/bash
# Exit immediately if a command exits with a non-zero status
set -e
# Function to display error messages and exit
error_exit() {
echo "Error: $1" >&2
exit 1
}
@esmaeelE
esmaeelE / proxy.md
Last active April 18, 2025 17:00
Use Proxy for some programs to bybass intenet restriction on IRAN.

Install

sudo apt install proxychains

Config

[ProxyList]
# add proxy here ...
# meanwile