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 ; Recommended for performance and compatibility with future AutoHotkey releases. | |
#Warn ; Enable warnings to assist with detecting common errors. | |
#Persistent | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
Menu, Tray, NoStandard | |
Menu, Tray, Tip, Clash | |
Menu, Tray, Icon, SHELL32.dll, 136, 1 |
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
class EventBus { | |
subscriptions = {}; | |
on(eventType, callback) { | |
const id = Symbol('id'); | |
if (!this.subscriptions[eventType]) this.subscriptions[eventType] = {}; | |
this.subscriptions[eventType][id] = callback; | |
const thiz = this; |
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
#!/bin/bash | |
# Author: CzBiX | |
# URL: https://gist.github.com/CzBiX/e64256b23687bb13da02 | |
# Support only Ubuntu 16.04 | |
DEST_PACKAGE="libglib2.0-0" | |
DEST_VERSION="2.48.1-1~ubuntu16.04.1" | |
DEST_FILE="/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.1" | |
PATCH_DATA="f626c: eb" | |
SUCCESS_MSG="Please quit nautilus with 'nautilus -q' to make sure patch worked." |
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 os | |
import sys | |
class BTFailure(Exception): | |
pass | |
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
#!/bin/sh | |
# see: https://bugzilla.redhat.com/show_bug.cgi?id=921235 | |
# http://forums.debian.net/viewtopic.php?f=5&t=119644 | |
PREREQ="lvm2" | |
prereqs() | |
{ | |
echo "$PREREQ" | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<CheatTable CheatEngineTableVersion="34"> | |
<CheatEntries> | |
<CheatEntry> | |
<ID>7</ID> | |
<Description>"Character attr"</Description> | |
<Options moHideChildren="1" moAllowManualCollapseAndExpand="1"/> | |
<LastState Activated="1"/> | |
<VariableType>Auto Assembler Script</VariableType> | |
<AssemblerScript>[ENABLE] |
OlderNewer