For now, org-babel-tangle
is working alright but auto-tangling on
save would be good
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! This is a little exploration of (ab)using async/await syntax + a dummy Waker to simplify | |
//! writing sans-io state machine code. | |
use std::{ | |
cell::UnsafeCell, | |
future::Future, | |
io::{self, Cursor, ErrorKind, Read}, | |
pin::{pin, Pin}, | |
sync::Arc, | |
task::{Context, Poll, Wake, Waker}, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Arch User Repository (AUR) querying and package install without the need for | |
# a full blown binary that breaks with system upgrades. | |
# | |
# That said, zayoure is intended as a minimal helper script around searching, | |
# cloning and building aur packages. It does not support the full command set | |
# of pacman and it does not 'helpfully' do things on your behalf. It IS verbose | |
# in explaining why it failed so read the output, read the source and try not | |
# to brick your system ;) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use penrose::{ | |
builtin::{ | |
actions::{exit, log_current_state}, | |
layout::{ | |
messages::{ExpandMain, IncMain, ShrinkMain}, | |
transformers::{Gaps, ReserveTop}, | |
MainAndStack, Monocle, | |
}, | |
}, | |
core::{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Checking alternative dice probabilities for Ironsworn | |
''' | |
from collections import defaultdict | |
import json | |
MODIFIERS = [0, 1, 2, 3, 4] | |
STRONG = "strong hit" | |
WEAK = "weak hit" | |
MISS = "miss" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! See https://github.com/sminez/arthroprod for the main library | |
//! This program was written at the following hash: 05237efac5f49abb935a0dd62cbbd88b31759c5d | |
//! No further crates are required | |
#[macro_use] | |
extern crate arthroprod; | |
use std::collections::HashSet; | |
use arthroprod::algebra::operations::{full, AR}; | |
use arthroprod::algebra::types::{Form, MultiVector}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
GIT_AHEAD="⇡" | |
GIT_BEHIND="⇣" | |
PROMPT_CHAR="$" | |
SEPARATOR=" " | |
# Specific color vars | |
COLOR=003 | |
COLOR_SUDO=005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Script used to pull down the current video descriptions from ippsec's youtube channel. | |
The raw output still has a few HTML tags that need to be manually removed and there | |
also seem to be multiple duplicates of videos that have been removed in the output | |
saved as ippsec-details.txt | |
""" | |
import re | |
import sys |
I hereby claim:
- I am sminez on github.
- I am idam (https://keybase.io/idam) on keybase.
- I have a public key ASAKykKLjc8yWMY51k2SnCGRpSpQytrLXqQEWyogLTQMUwo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# ---------- | |
# Bootstrap a new environment using my preferred packages | |
# curl -L curl -L https://gist.githubusercontent.com/sminez/2a0bce386ad106f33d2ebf9a003dce75/raw/044cbc55779f1013a111fc42cfb4b76fb638aed4/bootstrap.sh | |
echo "Bootstrapping the environment" | |
echo "Anything and everything that can be apt-get installed!" | |
sudo apt-get install -y software-properties-common | |
echo "NeoVim official PPA" | |
sudo add-apt-repository ppa:neovim-ppa/stable |
NewerOlder