Skip to content

Instantly share code, notes, and snippets.

Avatar
🦀
Any application that can be written in Rust, will eventually be written in Rust.

Hunter Trujillo cryptoquick

🦀
Any application that can be written in Rust, will eventually be written in Rust.
View GitHub Profile
@cryptoquick
cryptoquick / starship.toml
Created Jan 2, 2022 — forked from ryo-ARAKI/starship.toml
Starship configuration file
View starship.toml
# ~/.config/starship.toml
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = "⚡"
[[battery.display]]
threshold = 30
style = "bold red"
@cryptoquick
cryptoquick / alacritty.yml
Created Dec 31, 2021 — forked from ddibiasi/alacritty.yml
Alacritty Terminal Config
View alacritty.yml
# 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 / crypto_noise.md
Last active Nov 14, 2021
crypto research notes - noise
View crypto_noise.md

just some notes on some research i've been doing as an application developer looking to better understand crypto libraries and cipher suites

crypto

with a focus on noise protocol

noise adds additional higher-level constructs to common ciphers used in other cipher suites that are useful for transport encryption (replacing openssl more than libsodium)

useful concepts

@cryptoquick
cryptoquick / .prettierrc
Created Apr 25, 2020
preferred linter config (prettier for typescript + lint script)
View .prettierrc
{
"bracketSpacing": true,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always",
"tabWidth": 2,
"useTabs": false
}
View keybase.md

Keybase proof

I hereby claim:

  • I am cryptoquick on github.
  • I am cryptoquick (https://keybase.io/cryptoquick) on keybase.
  • I have a public key ASDXCcZQ7YZY7bhAQL0sGNeO0RAjlVahzwKB-wRk6oCTjgo

To claim this, I am signing this object:

@cryptoquick
cryptoquick / fish_bind_enter.fish
Created Nov 28, 2019
bind enter key to repeat last command in fish shell
View fish_bind_enter.fish
function bind_enter
set -l lastline $history[1]
set -l cmdline (commandline)
if test -z (string trim "$cmdline")
commandline -r $lastline
commandline -f execute
else
commandline -f execute
end
end
@cryptoquick
cryptoquick / keybindings.json
Created Aug 10, 2019 — forked from jtanx/keybindings.json
Visual Studio Code disable MRU tab switching
View keybindings.json
[
{
"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 Jul 24, 2019
Get pbcopy and pbpaste in Arch Linux
View pbcopy-and-pbpaste-in-arch-linux.md

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'

View i3 config
# ~/.config/i3/config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
@cryptoquick
cryptoquick / ARCH_INSTALL.MD
Last active Jul 21, 2019 — forked from heppu/ARCH_INSTALL.MD
Installing Arch with GPT, dm-crypt, LUKS, LVM and systemd-boot
View ARCH_INSTALL.MD

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