Skip to content

Instantly share code, notes, and snippets.

@kenos1
kenos1 / ammocolors.user.js
Created February 11, 2024 05:03
Gun HUD Ammo Color
// ==UserScript==
// @name Gun HUD Ammo Color
// @namespace Violentmonkey Scripts
// @match https://suroi.io/*
// @grant none
// @version 1.0
// @author Kenos
// @description silly
// ==/UserScript==
@kenos1
kenos1 / suroi-surviv.css
Last active October 2, 2023 01:51
Suroi.io legacy css
/* Suroi CSS mod */
/* Contact <@1063520096028479611> on Discord for feedback */
/* Use Stylus browser extension to apply styles */
/* Font Change*/
@import url(https://fonts.bunny.net/css?family=roboto-condensed:300,400,700);
*:not(i) {
font-family: 'Roboto Condensed';
@kenos1
kenos1 / youtube.sh
Last active January 12, 2022 03:44
Simple youtube script
#!/bin/bash
rm -f .cache/yt-query .cache/yt-scrap
read -p "Search: " search # Ask for search
search=$(echo $search | sed s/" "/"+"/g)
curl "https://yewtu.be/search?q=type%3Avideo+$search" > ~/.cache/yt-scrap
grep "youtube.com" ~/.cache/yt-scrap | sed -e s/" <a title=\"Watch on YouTube\" href=\""//g -e s/"\">"//g > ~/.cache/yt-query
grep "<p dir=\"auto\"" ~/.cache/yt-scrap | sed -e s/" <p dir=\"auto\">"//g -e s/"<\/p>"//g > ~/.cache/yt-titles
selected_video=$(cat -n ~/.cache/yt-titles | fzf | awk '{print $1}') # video selectiom
video=$(awk "NR==$selected_video{print;exit}" ~/.cache/yt-query) # get video id
mpv $video # play video