This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
SetBatchLines, -1 | |
Input := "13 743" | |
Start := A_TickCount | |
for each, Link in FindChain([2, 1], StrSplit(Input, " ")*) | |
Out .= ", " Link | |
Elapsed := A_TickCount - Start | |
MsgBox, % SubStr(Out, 3) "`n" Elapsed "ms" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On := "●" | |
Off := "○" | |
Blank := " " | |
Gui, Color, Black | |
Gui, font, s12 cRed, Courier New | |
Gui, Add, Text, vDisplay, % MakeDisplay(On, Off, Blank) | |
Gui, +ToolWindow +E0x40000 +AlwaysOnTop | |
Gui, Show,, BinClock | |
SetTimer, UpdateDisplay, 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Code box to CodeQuickTester | |
// @namespace https://github.com/G33kDude | |
// @version 0.6 | |
// @description Adds a button to open AHKScript code boxes in CodeQuickTester | |
// @author GeekDude | |
// @match *://autohotkey.com/boards/viewtopic.php* | |
// @grant none | |
// @updateURL https://gist.github.com/G33kDude/d3d9e4fd7c739dab3527/raw/CodeBox2QuickTest.user.js | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Input = | |
(LTrim0 C | |
60 30 | |
'"^+$ | |
linear 30 30 0 0 | |
) | |
Gui, Font,, Courier New | |
Gui, Add, Edit, w640 h480, % GenerateGradient(Input) | |
Gui, Show |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance, Force | |
#NoEnv | |
SetBatchLines, -1 | |
SetMouseDelay, 2 | |
CoordMode, Mouse, Screen | |
; Start gdi+ | |
If !pToken := Gdip_Startup() | |
{ | |
MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Input = | |
( | |
$.O...O... | |
...O...... | |
.......... | |
O..O..O... | |
.......... | |
O..O..O... | |
.......... | |
......OO.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Persistent | |
Small := 32 | |
Medium := 48 | |
Large := 96 | |
IconSize := Small | |
hDesktop := GetDesktop() | |
HalfW := A_ScreenWidth/2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
SetBatchLines, -1 | |
Input := Clipboard | |
Input := StrSplit(Input, "`n", "`r") | |
Size := StrSplit(Input.Remove(1), " ") | |
Scale := 5 | |
Gui, +hWndhWnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import struct | |
import sys | |
INTRANGE = 2 ** 15 | |
REGCOUNT = 8 | |
class Arch: | |
def __init__(self): | |
self.registers = [0] * REGCOUNT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import socket | |
import threading | |
import tkinter as tk | |
import re | |
import sys | |
import time | |
from datetime import datetime |