Skip to content

Instantly share code, notes, and snippets.

@rxmmah
rxmmah / bitcoin-price.sh
Created May 20, 2024 21:30
A Shell script to fetch and display bitcoin price
#!/bin/dash
#A Shell script to fetch bitcoin price and display !
#Author: Rammah Alensari
#Dependencies
# - jq https://stedolan.github.io/jq/
# - Nerd Font https://www.nerdfonts.com/ (or delete the bitcoin iccon)
bitcoin_price=$(curl -s https://api.coindesk.com/v1/bpi/currentprice.json | jq -r '.bpi.USD.rate ' | awk -F '.' '{print $1}')
echo " ${bitcoin_price}" | cat
@rxmmah
rxmmah / user-overrides.js
Last active February 16, 2024 01:19
My Arkenfox overrides for Firefox.
// creat user-overrides.js file in your arkenfox profile folder, then add your overrides.
user_pref("places.history.enabled", true); // Enable history
user_pref("privacy.clearOnShutdown.history", false); // Prevent clearing history on shutdown
user_pref("browser.startup.page", 3); // restore previous session
user_pref("privacy.resistFingerprinting.letterboxing", false); //disable letterboxing
user_pref("media.eme.enabled", true); // enable DRM, for streaming platforms.
@rxmmah
rxmmah / startpage.config.js
Last active October 22, 2023 18:00
startpage.config.js
const defaultConfig = {
username: "kira",
theme: {
backgroundColor: "#121317",
windowColor: "#1e212b",
glowColor: "#6b5cb157",
white: "#e2e2e2",
gray: "#97989d",
black: "#16161e",
red: "#ec6183",