This file contains hidden or 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
import platform | |
import re | |
import subprocess | |
from statistics import mean | |
def pings(*, url='google.com', count=10): | |
if platform.system() == 'Windows': | |
flag = '-n' | |
else: | |
flag = '-c' |
This file contains hidden or 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
$rl = Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 252950" | |
$uninstall = $rl.UninstallString.Replace('"', '') | |
Invoke-Expression $uninstall |
This file contains hidden or 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
import sys | |
import ply.lex as lex | |
import ply.yacc as yacc | |
tokens = ['NUMBER', 'MINUS', 'PERCENT'] | |
t_ignore = ' \t' | |
t_MINUS = r'-' | |
t_PERCENT = r'%' |
This file contains hidden or 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
var PATH $PATH ~bin | |
function fish_prompt | |
echo -n $USER@(hostname) '' | |
set_color $fish_color_cwd | |
prompt_dir | |
set_color normal | |
echo -n ' $ ' | |
end |
This file contains hidden or 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
(def words { | |
1 "one" | |
2 "two" | |
3 "three" | |
4 "four" | |
5 "five" | |
6 "six" | |
7 "seven" | |
8 "eight" | |
9 "nine" |
This file contains hidden or 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
https://sjsumelee.challonge.com/FSF178Singles | |
https://smash.gg/tournament/the-farm-7/events/melee-singles/overview | |
https://smash.gg/tournament/the-people-s-tuesday-29/events/melee-singles/brackets/716857/1158772 | |
https://challonge.com/made124singles | |
https://sjsumelee.challonge.com/FSF179Singles | |
https://smash.gg/tournament/emperatriz-del-emporio/events/singles/brackets/715540/1157033 | |
https://smash.gg/tournament/the-farm-8/events/melee-singles/overview | |
https://smash.gg/tournament/wednesday-night-fights-2020-x-oakland-episode-2/events/super-smash-bros-melee-singles/brackets/733428/1180535/standings | |
https://sjsumelee.challonge.com/FSF180Singles | |
https://challonge.com/made125singles |
This file contains hidden or 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
http://challonge.com/meleethebeatdown14singles | |
http://challonge.com/LCF17 | |
http://challonge.com/phoenixunderground36 | |
https://smash.gg/tournament/mythic-melee-mondays-9/events/melee-singles/brackets/92613 | |
http://challonge.com/meleethebeatdown15 | |
http://challonge.com/MADE23Singless | |
http://sjsumelee.challonge.com/FSF39singles | |
http://challonge.com/LCF18 | |
https://smash.gg/tournament/bam-to-genesis-31/events/melee-singles/brackets | |
https://smash.gg/tournament/norcal-validated-featuring-professor-pro-genesis-4-warm-up/events/melee-singles/brackets/104786 |
This file contains hidden or 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
Random, upper, 0, 1 | |
ToggleCase(c) { | |
global upper := !upper | |
if upper { | |
StringUpper, c, c | |
} else { | |
StringLower, c, c | |
} |
This file contains hidden or 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 rand::Rng; | |
fn main() { | |
let netplay: String = (0..8) | |
.map(|_| format!("{:x?}", rand::thread_rng().gen_range(0, 16))) | |
.collect(); | |
println!("{}", netplay); | |
} |
This file contains hidden or 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
# upgrade $TERM | |
set -g default-terminal "screen-256color" | |
# remap prefix to Control + a | |
set -g prefix C-a | |
# bind 'C-a C-a' to type 'C-a' | |
bind C-a send-prefix | |
unbind C-b | |
# Status bar styling and content. |