Skip to content

Instantly share code, notes, and snippets.

View codexophile's full-sized avatar
🧠
Cogitating

Jay/Ailurophile/Codexophile codexophile

🧠
Cogitating
View GitHub Profile
/* selected file list item */
.part.sidebar.right.pane-composite-part {
border: none !important;
}
.monaco-workbench .part > .content {
width: 100% !important;
}
/* comments */
/*
* Easy Files
* Written by Tam710562
*/
(() => {
'use strict';
const gnoh = {
stream: {
@anonymous1184
anonymous1184 / Ping.ahk
Last active December 29, 2023 20:09
Ping.ahk
; Version: 2022.11.17.1
; https://gist.github.com/75a33c3aab9be7c343a1916c43c64339
Ping(Address, ByRef Result := "", Timeout := 1000) {
static lastAddr := "", ip := "", pAddr := 0, hIcmp := 0
if (Address != lastAddr) {
pAddr := Ping_IPAddress(Address, ip)
lastAddr := Address
}
@rozboris
rozboris / yt-hide-shorts.user.js
Last active February 15, 2026 04:36
Hide Shorts on YouTube
// ==UserScript==
// @name Hide Shorts on YouTube
// @version 5
// @description Hides vides with #shorts tag or the ones shorter than 1 minute on Youtube Subscriptions and Home page
// @author rozboris
// @include https://*.youtube.com/*
// @include https://youtube.com/*
// @grant GM_addStyle
// @updateURL https://gist.githubusercontent.com/rozboris/f0a4fcd087fe23c198a37c0654af1afc/raw/yt-hide-shorts.user.js
// ==/UserScript==
@anonymous1184
anonymous1184 / Alert.ahk
Last active January 8, 2024 14:49
MsgBox customization

; Version: 2022.07.01.1
; Usages and examples: https://redd.it/qplxwo
Alert(Options := 0, Title := "", Message := "", Spec := "")
{
if !(Options ~= "i)^(0x)?\d+") {
Message := Options
Options := Title := Spec := ""
}
@anonymous1184
anonymous1184 / Brightness.ahk
Last active May 15, 2024 13:57
Brightness changer + OSD

; Version: 2022.11.17.1
; Usage and examples: https://redd.it/owgn3j
Brightness(Offset) {
static last := ""
wmi := ComObjGet("winmgmts:\\.\root\WMI")
if (last = "") {
last := wmi.ExecQuery("SELECT * FROM WmiMonitorBrightness")
.ItemIndex(0)
@anonymous1184
anonymous1184 / Clip.ahk
Last active October 25, 2024 20:07
Clipboard Wrapper

; Version: 2022.06.30.1
; Usages and examples: https://redd.it/mpf896
/* Clipboard Wrapper
.Locked ; Clipboard status.
.Check() ; Automated check (throws Exception).
.Backup() ; Manual backup.
@anonymous1184
anonymous1184 / VSCode.md
Last active August 12, 2024 01:55
AHK Debugging with Visual Studio Code

AHK Debugging with Visual Studio Code

Created on 2021/11/03 with VSCode version 1.53.
Last revision on 2022/06/30 with VSCode version 1.68.2.

I'm not a native English speaker, so please report inconsistencies to [u/anonymous1184][00] (or send a .patch of the [source][01]).

Table of Contents

@alvaro-ometis
alvaro-ometis / QlikAutoHotKey.ahk
Last active July 23, 2021 02:20
AutoHotKey script that helps me on my daily work with Qlik and other software
#SingleInstance force
/* KEYS CHEAT SHEET
# win
! Alt
^ ctrl
+ shift
<^>! altGr
* any modifier
UP key up