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 | |
init() { | |
killall -q polybar | |
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done | |
polybar sensual | |
echo "Polybar relançada..." |
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
[ | |
{ | |
"backcolor": "#2E3440", | |
"name": "Commoplank", | |
"author": "Pikachu", | |
"radii": "20px", | |
"switchMount": "cherry", | |
"switchBrand": "gateron", | |
"switchType": "KS-3-Red", | |
"plate": false |
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
main-window | |
*********************** | |
--arrowpanel-background | |
--arrowpanel-border-color | |
--arrowpanel-color | |
--arrowpanel-dimmed | |
--arrowpanel-dimmed-even-further | |
--arrowpanel-dimmed-further | |
--arrowpanel-padding | |
--autocomplete-popup-background |
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 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 |
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
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) |
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
# 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 |
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
[colors] | |
background = #1d1f2110 | |
background-alt = #282a2e | |
foreground = #1d1f21 | |
foreground-alt = #1d1f21 | |
[bar/main_bar] | |
width = 100% | |
height = 27 | |
;offset-x = 1% |
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
''' | |
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 |