Skip to content

Instantly share code, notes, and snippets.

View FrenzyExists's full-sized avatar
🗿
Dude I'm on my f$^# limit over here

Detective Pikachu FrenzyExists

🗿
Dude I'm on my f$^# limit over here
View GitHub Profile
#!/bin/bash
init() {
killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar sensual
echo "Polybar relançada..."
@FrenzyExists
FrenzyExists / Commoplank.kbd.json
Last active January 30, 2023 00:57
Commoplank
[
{
"backcolor": "#2E3440",
"name": "Commoplank",
"author": "Pikachu",
"radii": "20px",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-Red",
"plate": false
@MrOtherGuy
MrOtherGuy / fx-css-variables.txt
Last active March 1, 2025 13:16
CSS variables used by Firefox
main-window
***********************
--arrowpanel-background
--arrowpanel-border-color
--arrowpanel-color
--arrowpanel-dimmed
--arrowpanel-dimmed-even-further
--arrowpanel-dimmed-further
--arrowpanel-padding
--autocomplete-popup-background
@jimmychu0807
jimmychu0807 / string-conversion.rs
Created November 21, 2019 10:20
Conversion between String, str, Vec<u8>, Vec<char> in Rust
use std::str;
fn main() {
// -- FROM: vec of chars --
let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}'];
// to String
let string1: String = src1.iter().collect::<String>();
// to str
let str1: &str = &src1.iter().collect::<String>();
// to vec of byte
No, Wichawd, it's 'Winux', not 'GNU/Winux'.
Da most impowtant contwibutions dat da FSF maid to Winux wewe da cweation of da GPW awnd da GCC compiwew. Dose awe fine awnd inspiwed pwoducts. GCC iws a monumentaw achievement awnd has eawned yuw, WMS, awnd da Fwee Softwawe Foundation countwess kudos awnd much appweciation.
Fowwowing awe some weasons fow yuw to muww ovew, incwuding some awweady answewed in youw FAQ.
One guy, Winus Towvawds, used GCC to mwake hiws opewating system (yes, Winux iws an OS -- mowe on dis watew).
He named iwt 'Winux' wif a wittwe hewp fwom hiws fwiends. Why doesn't he caww iwt GNU/Winux? Because he wwote iwt, wif mowe hewp fwom hiws fwiends, not yuw. Yuw named youw stuff, I named my stuff -- incwuding da softwawe I wwote using GCC -- awnd Winus named hiws stuff. Da pwopew name iws Winux because Winus Towvawds says so. Winus has spoken. Accept hiws audowity. To do odewwise iws to become a nag. Yuw don't wawnt to be known as a nag, do yuw?
(An opewating system) != (a distwibution)
@Cogitri
Cogitri / .configalacrittyalacritty.yml
Created January 20, 2019 11:40
.config/alacritty/alacritty.yml
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@stav121
stav121 / polybar-config
Created January 3, 2019 00:57
Transparent Polybar Config
[colors]
background = #1d1f2110
background-alt = #282a2e
foreground = #1d1f21
foreground-alt = #1d1f21
[bar/main_bar]
width = 100%
height = 27
;offset-x = 1%
'''
Large Seven-Segment Display
Python Code for controlling display with a Raspberry Pi's GPIO
Written by Amanda on electrothoughts.wordpress.com, Aug 25, 2015
For the original project visit https://electrothoughts.wordpress.com/2015/09/11/project-xl-seven-segment-display/
Please feel free to modify this code to your heart's content!
This code contains function definitions. To make your display work,
it's recommended that you run the code in the Python shell IDE as root, and execute