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 | |
; Require exactly one command line argument | |
; "The left side of a non-expression if-statement is always the name of a variable." -- https://autohotkey.com/docs/Scripts.htm#cmd | |
if 0 != 1 | |
{ | |
; Exit the script with code 1 (error) | |
ExitApp, 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
#NoEnv | |
#NoTrayIcon | |
#SingleInstance ignore | |
; The path to Skype's executable | |
skypePath := "C:\Program Files (x86)\Skype\Phone\Skype.exe" | |
; Used to identify Skype's main window | |
skypeWin := "ahk_exe Skype.exe ahk_class tSkMainForm" | |
; The X coordinate of all the status buttons | |
statusXCoord := 56 |
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
/* Syntax highlighting */ | |
body div.highlight { | |
color: #fff ; | |
background-color: #272822 ; | |
padding: 5px; | |
} | |
body .code { | |
background-color: #272822 ; |
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
.container .highlight span.pl-c { | |
color: #75715e; | |
} | |
.container .highlight span.pl-c1 { | |
color: #ae81ff; | |
} | |
.container .highlight span.pl-en { | |
color: #a6e22e; |
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
/* | |
* Code snippet to extract Dark Souls 2 Cost of Leveling from http://darksouls2.wikidot.com/level | |
*/ | |
// Load jQuery | |
(function(a){if(!a.jQuery){var d=document,b=d.createElement('script');b.src='//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js';d.getElementsByTagName('head')[0].appendChild(b)}})(this); | |
// Set jQuery variable | |
$ = jQuery; | |
// Clean up tables |
NewerOlder