Skip to content

Instantly share code, notes, and snippets.

View panther03's full-sized avatar
🗿

Julien de Castelnau panther03

🗿
View GitHub Profile
@panther03
panther03 / bspwmrc
Created February 19, 2019 04:51
its both lol woah
#!/bin/sh
w1=1
w2=2
w3=3
w4=4
w5=5
w6=1
w7=7
w8=8
# vim:fileencoding=utf-8:ft=conf
# Font family. You can also specify different fonts for the
# bold/italic/bold-italic variants. By default they are derived automatically,
# by the OSes font system. Setting them manually is useful for font families
# that have many weight variants like Book, Medium, Thick, etc. For example:
# font_family Operator Mono Book
# bold_font Operator Mono Thick
# bold_italic_font Operator Mono Medium
# font_family Input Mono
@panther03
panther03 / scraper.bat
Created March 21, 2019 01:03
Fetch script
cd "C:\Users\Administrator\Desktop\JobsAugmenter"
git reset --hard origin/master
git fetch --all
git pull
run.bat
This file has been truncated, but you can view the full file.
execve("/usr/bin/pavucontrol", ["pavucontrol"], 0x7ffcb17ea130 /* 48 vars */) = 0
brk(NULL) = 0x55b3a7309000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc5d2738e0) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=235914, ...}) = 0
mmap(NULL, 235914, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7efde47d4000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libgtkmm-3.0.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \200.\0\0\0\0\0"..., 832) = 832
@panther03
panther03 / bspwmrc
Created March 22, 2019 15:11
BSPWM setup
#!/bin/sh
#w1=1
#w2=2
#w3=3
#w4=4
#w5=5
#w6=1
#w7=7
#w8=8
@panther03
panther03 / CSS
Created March 31, 2019 04:28
Rootbar conf
window {
background-color: rgba(--rootbar-rgb-color8,1.0);
color: --rootbar-color4;
font-family: "Luxi Sans";
font-size: 12px;
font-weight: 400;
border-top: 2px solid --rootbar-color9;
}
#center,#left,#right {
@panther03
panther03 / Sway config
Created April 1, 2019 01:10
Yeah you heard me right it's my sway config
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@panther03
panther03 / main.py
Created May 6, 2021 15:49
OpenCV dreadnautilus fishing script
import time
import subprocess
from subprocess import Popen, PIPE
import cv2
import scanf
import numpy as np
import pytesseract
from mss import mss
@panther03
panther03 / sim.py
Created October 3, 2022 23:18
r10k ooo sim
from dataclasses import dataclass
from re import I
from tokenize import Name
from typing import Set, NamedTuple
@dataclass
class PReg:
reg: int
ready: bool
def __eq__(self, __o: object) -> bool:
@panther03
panther03 / mig_exact.py
Created December 21, 2023 19:06
MIG Exact Synthesis
# CS472 Final Project
# Julien de Castelnau
from z3 import *
import argparse
import copy
import functools
import operator
import random
import subprocess