This file contains hidden or 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
;control your system volume via hotkeys | |
;# is the win key | |
;^ is the control key | |
;sound controls | |
#[::setVolume("-5") ;lower volume by 5% | |
#]::setVolume("+5") ;raise volume by 5% | |
^#[::setVolume("10") ;set volume to minimum | |
^#]::setVolume("80") ;set volume to loud | |
SetVolume(whatvolume){ |
This file contains hidden or 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 | |
#SingleInstance, Force | |
SetTitleMatchMode, 2 | |
SetWorkingDir, %A_ScriptDir% | |
;Ask player to Enter Mode of play Easy, Medium, Hard | |
InputBox, Mode, Daily Programmer Challenge #189, Please enter [Easy] [Intermediate] or [Hard] , 640, 480 | |
If (ErrorLevel = 1) ;If Cancel or Close Exit | |
ExitApp | |
If !(Mode == "Easy" Or Mode == "Intermediate" or Mode == "Hard") { ;If not Easy, Intermediate, or Hard Reload! |
This file contains hidden or 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
MyList := New ToDo() | |
MyList.Set("Go Shopping") | |
MyList.Set("Go to bank") | |
MyList.Display() | |
MyList.Set("Buy Fallout 4") | |
MyList.Remove("Go to bank") | |
MyList.Display() | |
This file contains hidden or 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
endpoint := "http://api.bitcoincharts.com/v1/trades.csv" | |
market := "bitfinex" | |
currency := "USD" | |
Url := endpoint . "?symbol=" . market . currency | |
req := ComObjCreate("Msxml2.XMLHTTP") | |
; Open a request with async enabled. | |
req.open("GET", Url, true) | |
; Set our callback function (v1.1.17+). | |
req.onreadystatechange := Func("Ready") |
This file contains hidden or 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
/* | |
___ _ _ ____ | |
/ __\ (_)_ __ /___ \_ _ ___ _ _ ___ | |
/ / | | | '_ \ // / / | | |/ _ \ | | |/ _ \ | |
/ /___| | | |_) / \_/ /| |_| | __/ |_| | __/ | |
\____/|_|_| .__/\___,_\ \__,_|\___|\__,_|\___| | |
|_|coded by errorseven @ 8/26/2016 | |
Usage: | |
This file contains hidden or 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
// first inject jQuery on the page, then run on /wp-admin/edit.php | |
// wait for it then run o.join('\n') | |
// execute the output on _posts folder | |
var o = []; | |
(function() { | |
let posts = [].slice.call(document.querySelectorAll('.post_name')).map(e => { | |
let container = e.parentNode; | |
let id = container.id.split('_')[1]; | |
let editUrl = `https://your.wordpress.com/wp-admin/post.php?post=${id}&action=edit`; |
This file contains hidden or 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
/* | |
[script info] | |
version = 2.4 | |
description = wrap selected text in %symbols% | |
author = davebrny | |
source = git.io/v1neW | |
*/ | |
sendMode input | |
return ; end of auto-execute |
This file contains hidden or 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
msg_box(string=". . .", options="") { | |
string := format_text(string, options) | |
msgBox, % string | |
} | |
msg_tray(string=". . .", options="") { | |
string := format_text(string, options) | |
trayTip, , % string, 10 | |
} |
This file contains hidden or 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
/* | |
[script info] | |
version = 0.4 | |
description = basic web clipper for dynalist.io | |
author = davebrny | |
source = https://gist.github.com/davebrny/a23080af7aa3a648c5ce54fb61362416 | |
*/ | |
#noEnv | |
#persistent |
This file contains hidden or 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
HtmlBox(HTML, Title="HtmlBox", Body=True, Full=False, URL=False, width=300, height=200) | |
{ ; Creates a MsgBox style GUI that has embedded HTML | |
global MsgBoxOK, MsgBoxActiveX, MsgBoxFull=Full | |
; Set up the GUI | |
Gui, +HwndDefault | |
Gui, MsgBox:New, +HwndMsgBox +Resize +MinSize +LabelMsgBox | |
if Full | |
Gui, Margin, 0, 0 | |
else |