Skip to content

Instantly share code, notes, and snippets.

View codyconfer's full-sized avatar
🖖

Cody Confer codyconfer

🖖
View GitHub Profile
@codyconfer
codyconfer / .zshrc
Last active May 23, 2024 04:41
zshrc-bak
# ~/.zshrc codyconfer@apollo
#
# cross-machine configuration
#
# functions
red='\033[0;31m'
green='\033[0;32m'
yellow='\033[0;33m'
blue='\033[0;34m'
magenta='\033[0;35m'
@codyconfer
codyconfer / docker-install.sh
Created April 26, 2023 04:24
tailscale docker
sudo docker run -d --name=tailscaled -v /var/lib:/var/lib -v /dev/net/tun:/dev/net/tun --network=host --cap-add=NET_ADMIN --cap-add=NET_RAW --env TS_AUTHKEY=[AUTH KEY] tailscale/tailscale
@codyconfer
codyconfer / console.py
Created March 22, 2023 20:31
Python ASCII Escape Codes
class Colors:
Black = '\u001b[30m'
Red = '\u001b[31m'
Green = '\u001b[32m'
Yellow = '\u001b[33m'
Blue = '\u001b[34m'
Magenta = '\u001b[35m'
Cyan = '\u001b[36m'
White = '\u001b[37m'
Bright_Black = '\u001b[30;1m'
@codyconfer
codyconfer / dockerfile
Created December 15, 2021 04:54
dockerfile-python3.10.1
FROM python:3.10.1
RUN pip install poetry
WORKDIR /source
COPY *.toml *.lock /
RUN poetry config virtualenvs.create false && \
poetry install --no-root
COPY ./ .
@codyconfer
codyconfer / settings.json
Last active December 2, 2020 19:08
windows terminal settings
// This file was initially generated by Windows Terminal 1.0.1811.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@codyconfer
codyconfer / settings.json
Last active January 28, 2021 03:25
vscode settings
{
"workbench.colorTheme": "One Monokai",
"workbench.activityBar.visible": true,
"workbench.commandPalette.history": 50,
"workbench.commandPalette.preserveInput": false,
"workbench.editor.closeEmptyGroups": true,
"workbench.editor.closeOnFileDelete": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": true,
"workbench.editor.labelFormat": "default",