Skip to content

Instantly share code, notes, and snippets.

View williamtguerra's full-sized avatar
🤠
Hi

William Guerra williamtguerra

🤠
Hi
View GitHub Profile
window.yt = {h: 0, m: 0, s: 0}
document.querySelectorAll('.ytd-playlist-video-list-renderer .ytd-thumbnail-overlay-time-status-renderer').forEach((n) => {
const split = n.innerText.split(':').map((i) => parseInt(i));
const s = split[split.length-1];
const m = split[split.length-2];
const h = split.length > 2 ? split[0] : 0;
window.yt.h += h;
window.yt.m += m;
window.yt.s += s;
@williamtguerra
williamtguerra / autoexec.cfg
Last active January 5, 2017 05:10
csgo autoexec.cfg jan 2017
// scoregraph: show netgraph and scoreboard; clears blood/bulletholes
net_graph "1"
net_graphheight "9999"
alias "+scoregraph" "+showscores; net_graphheight 0; r_cleardecals"
alias "-scoregraph" "-showscores; net_graphheight 9999"
// inspect_zoom: inspect weapon and zoom out radar
cl_radar_always_centered "0"
cl_radar_icon_scale_min "0.5"
cl_radar_rotate "1"