Skip to content

Instantly share code, notes, and snippets.

@Algorant
Algorant / wsl.conf
Created March 31, 2022 18:56
My wsl.conf to get stuff like docker, postgres, and cron running at startup
# Set a command to run when a new WSL instance launches. This example starts the Docker conta
│ iner service.
2 │ [boot]
3 │ command = "service docker start" && "service postgresql start" && "service cron start"
4 │
5 │ # [automount]
6 │ #enabled = true
7 │ #root = /mnt/
8 │ #options = "metadata,umask=22,fmask=11"
9 │
@Algorant
Algorant / ranger-cheatsheet.md
Created January 4, 2022 15:23 — forked from heroheman/ranger-cheatsheet.md
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@Algorant
Algorant / .p10k.zsh
Created December 25, 2021 00:38
Linux Dotfiles
# Generated by Powerlevel10k configuration wizard on 2021-12-22 at 23:22 EST.
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 26821.
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, dark,
# 12h time, angled separators, blurred heads, blurred tails, 2 lines, disconnected,
# no frame, sparse, many icons, fluent, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate
# your own config based on it.
#
@Algorant
Algorant / 1-14-22 settings.json
Last active January 14, 2022 15:32
Windows Terminal Settings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},
@Algorant
Algorant / ds_trio.py
Created May 23, 2021 17:06
The Data Science Triumvirate
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt