Skip to content

Instantly share code, notes, and snippets.

View cryptoquick's full-sized avatar
🦀
Any application that can be written in Rust, will eventually be written in Rust.

Hunter Beast cryptoquick

🦀
Any application that can be written in Rust, will eventually be written in Rust.
View GitHub Profile
@cryptoquick
cryptoquick / starship.toml
Created January 2, 2022 02:21 — forked from ryo-ARAKI/starship.toml
Starship configuration file
# ~/.config/starship.toml
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = "⚡"
[[battery.display]]
threshold = 30
style = "bold red"
@cryptoquick
cryptoquick / alacritty.yml
Created December 31, 2021 13:40
Alacritty Terminal Config
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
#env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@cryptoquick
cryptoquick / keybindings.json
Created August 10, 2019 16:19 — forked from jtanx/keybindings.json
Visual Studio Code disable MRU tab switching
[
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
}
]
@cryptoquick
cryptoquick / pbcopy-and-pbpaste-in-arch-linux.md
Created July 24, 2019 16:41
Get pbcopy and pbpaste in Arch Linux

Get pbcopy and pbpaste in Arch Linux

First you need the 'xsel' package.

$> pacman -S xsel

Then create aliases.

alias pbcopy='xsel --clipboard --input'

alias pbpaste='xsel --clipboard --output'

@cryptoquick
cryptoquick / ARCH_INSTALL.MD
Last active July 21, 2019 06:53 — forked from heppu/ARCH_INSTALL.MD
Installing Arch with GPT, dm-crypt, LUKS, LVM and systemd-boot

Create bootable USB

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync

Boot from USB and set prepare system

timedatectl set-ntp true
@cryptoquick
cryptoquick / roman-number.js
Created February 21, 2018 01:05 — forked from ypopovych/roman-number.js
Several ways to do Rome numbers converter
const romanNumerals = [
[1000, "M"], [500, "D"], [100, "C"],
[50, "L"], [10, "X"], [5, "V"], [1, "I"]
];
const toRomeRecursion = (function convert(index, number) {
if (number === 0) return '';
let [romanNumber, romanLiteral] = romanNumerals[index];
if (number < romanNumber) return convert(index+1, number);