Skip to content

Instantly share code, notes, and snippets.

View jercle's full-sized avatar
🤓
1 + 1 = 10. Computer Science is not an opinion.

Evan Colwell jercle

🤓
1 + 1 = 10. Computer Science is not an opinion.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jercle on github.
  • I am jercle (https://keybase.io/jercle) on keybase.
  • I have a public key whose fingerprint is B061 6753 D5D4 A7E9 6C36 B115 240B 7047 234A D237

To claim this, I am signing this object:

@jercle
jercle / .bashrc
Last active July 7, 2019 10:33
current .bashrc
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@jercle
jercle / fex.sh
Created June 17, 2022 05:59
Environment Variable Setter - Adding to .zshrc
fex() {
if [ -z "$1" ]; then
if [ ! -f ~/.env ]; then
echo "~/.env not found!"
else
echo "Export the following from ~/.env:"
grep -v "^#" ~/.env | grep -v -e '^[[:space:]]*$'
export $(grep -v "^#" ~/.env | grep -v -e '^[[:space:]]*$' | xargs)
fi
else
@jercle
jercle / load-custom-fonts.js
Created March 29, 2023 02:31
load-custom-fonts
var styleNode = document.createElement('style')
styleNode.type = 'text/css'
var styleText = document.createTextNode(`
/* cyrillic-ext */
@font-face {
font-family: 'Fira Code';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/firacode/v21/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJV37Nv7g.woff2) format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;