Skip to content

Instantly share code, notes, and snippets.

View MiranDaniel's full-sized avatar
👾
So Long, and Thanks for All the Fish.

MiranDaniel MiranDaniel

👾
So Long, and Thanks for All the Fish.
View GitHub Profile
GIF89a/*<svg/onload=alert(1)>*/=alert(document.domain)//;
@MiranDaniel
MiranDaniel / linux.md
Created February 12, 2023 19:14
Linux commands and stuff

Watch CPU power draw

sudo turbostat --Summary --quiet --show Busy%,Avg_MHz,PkgTmp,PkgWatt --interval 1

@MiranDaniel
MiranDaniel / ban.text
Last active October 25, 2023 13:39
I hate Github
https://github.com/conduit/for_you_feed
https://github.com/dashboard/changelog
https://github.com/conduit/filter
https://github.com/dashboard/recent-activity
REM*****BASIC*****
Sub Main
On error resume next
Wait 100
oDoc = ThisComponent
oSheet = oDoc.CurrentController.ActiveSheet
SD = oSheet.createSearchDescriptor()
SD.SearchRegularExpression = TRUE
REM*****BASIC*****
Sub Main
On error resume next
Wait 100
oDoc = ThisComponent
oSheet = oDoc.CurrentController.ActiveSheet
SD = oSheet.createSearchDescriptor()
SD.SearchRegularExpression = TRUE
@MiranDaniel
MiranDaniel / nginx.conf
Last active August 24, 2024 10:36
Default nginx configuration from Debian 12
user www-data;
worker_processes auto;
pid /run/nginx.pid;
error_log /var/log/nginx/error.log;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
const MODIFIER_PREFIXES = [
'Alolan', 'Galarian', 'Hisuian', 'Paldean',
'Dark', 'Light', 'Shining', 'Shadow', 'Radiant',
];
// Longer multi-word suffixes MUST come before shorter ones
const SUFFIXES = [
'Prism Star', 'VMAX', 'VSTAR', 'BREAK', 'LV.X',
'VSTAR', 'GX', 'EX', 'ex', 'V', 'δ', '★', '◇',
];