Skip to content

Instantly share code, notes, and snippets.

View Onurtag's full-sized avatar

Onurtag

View GitHub Profile
@Onurtag
Onurtag / 7Backup.ahk
Last active August 31, 2020 23:15
Backup a folder, a game save, a file or whatever you want every x seconds with the help of 7-zip.
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
FileEncoding, UTF-8
SetFormat, float, 0.3
;7Backup: https://gist.github.com/Onurtag/6e99802131a1995f5946c310643d331e
;For this script, YOU NEED 7z.exe (https://www.7-zip.org/) . Copy that exe from your 7-zip installation to the script's folder or add your 7z folder to path (environment variables).
@Onurtag
Onurtag / - TakeNotes.lua.md
Last active June 4, 2019 10:45
TakeNotes.lua - VERY basic Hexchat IRC client script for taking notes.

Get it using the "raw" button or unicode color values might not be there.

@Onurtag
Onurtag / TPopup.ahk
Created August 10, 2016 09:31
Show a splash screen with a text message every x minutes for x seconds. With fade effect.
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
;YOU GOTTA EDIT THE TEXT IN THE SCRIPT.
Timer := 30
KillTimer := 3
PopupText := "NOT WORKING, ADJUST IT MANUALLY"
Poppingup := 0
@Onurtag
Onurtag / ExploreEverything.ahk
Last active November 5, 2024 20:05
ExploreEverything.ahk: An autohotkey (ahk v1) script that allows you to search the current explorer folder, your desktop and more using Everything
#SingleInstance Force
#NoTrayIcon ;If you want the tray icon to be visible; comment this line by adding a semicolon ; in front of the #. Example: ;#NoTrayIcon
EverythingPath := "C:\Program Files\Everything\Everything.exe" ;Set this to your everything.exe path. Keep the quotes.
;---Optional setup for special folders---
MyRecycleBin := "Recycle Bin" ;If your OS is not English, go to your explorer's "Recycle Bin" (🚮) folder and change this to the title of that window. Keep the quotes.
MyThisPC := "This PC" ;If your OS is not English, go to your explorer's "This PC" (💻) folder and change this to the title of that window. Keep the quotes.
MyHome := "Home" ;(Windows 11) If your OS is not English, go to your explorer's "Home" (🏠) folder and change this to the title of that window. Keep the quotes.
@Onurtag
Onurtag / Numbers to Numpad.ahk
Created January 12, 2017 19:14
Pressing any number will send the equivalent numpad key. Useful for tenkeyless keyboards etc.
#NoEnv
#SingleInstance Force
SendMode Input
;CTRL+F12 toggles the number keys to numpad keys.
;Sounds were embed using https://autohotkey.com/board/topic/64481-include-virtually-any-file-in-a-script-exezipdlletc/
Extract_BeepEnable(A_Temp . "\BeepEnable.wav")
Extract_BeepDisable(A_Temp . "\BeepDisable.wav")
@Onurtag
Onurtag / Prevent Youtube Audio Normalization.user.js
Last active June 18, 2020 00:19
Prevent Youtube Audio Normalization with a Userscript.
// ==UserScript==
// @name Prevent Youtube Audio Normalization
// @namespace asdcawdcawcdkacja2333332
// @version 1.5
// @description Prevent Youtube Audio Normalization
// @author asdcawdcawcdkacja2333332
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==
@Onurtag
Onurtag / steam_quick_queue.user.js
Last active June 27, 2020 17:39 — forked from xPaw/steam_quick_queue.user.js
⚠ This script has been integrated into SteamDB browser extension!
// ==UserScript==
// @name Steam Queue Auto Discoverer
// @description Discover the Steam queue ONCE to get the sale cards
// @version 2.3.1
// @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7
// @updateURL https://gist.github.com/xPaw/73f8ae2031b4e528abf7/raw/steam_quick_queue.user.js
// @icon https://store.steampowered.com/favicon.ico
// @match https://store.steampowered.com/explore*
// @grant none
// ==/UserScript==
@Onurtag
Onurtag / Youtube Email Notification Template.html
Last active August 29, 2020 08:00
Youtube Email Notification Template
<!--
Youtube Email Notification Template
Here are the required DUMMY Values with examples to be replaced with their real values.
dummy value (example)
___________ _________
DUMMYCHANNELNAME (My Channel)
@Onurtag
Onurtag / Volbar with GdiDrawText (Triangle mod).js
Last active February 23, 2021 01:09
Foobar2k Triangular JScript Panel volume bar (example)
// ==PREPROCESSOR==
// @name "Volbar with GdiDrawText (Triangle mod)"
// @author "T.P Wang & Onurtag mod"
// @import "%fb2k_component_path%docs\flags.txt"
// @import "%fb2k_component_path%docs\helpers.txt"
// ==/PREPROCESSOR==
var g_font = gdi.Font("Segoe UI", 10, 0);
var g_drag = 0;
var ww = 0, wh = 0;
@Onurtag
Onurtag / Auto-Hide Yomichan Popups.user.js
Last active April 14, 2023 23:41
Auto hides yomichan popups when your mouse leaves the window.
// ==UserScript==
// @name Auto-Hide Yomichan Popups
// @description Auto-hides yomichan popups after your mouse leaves the window
// @namespace auto.hide.yomichan.popups
// @version 1.0.0
// @author You
// @match https://anacreondjt.gitlab.io/texthooker.html
// @grant none
// @run-at document-idle
// ==/UserScript==