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
#include <IE.au3> | |
#include <File.au3> | |
Dim $IMClassName="[CLASS:IMWindowClass]" | |
Dim $myLog="c:\temp\ocrobot.log" | |
Dim $oSp = ObjCreate("SAPI.SpVoice") | |
Func MyExit() | |
Exit 0 | |
EndFunc | |
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
if (location.href.indexOf('skillport.books24x7.com/assetviewer.aspx?') != -1 ) | |
{ | |
window.addEventListener( | |
'load', | |
function showDirectURI() { | |
//hide useless header so book contents will be larger | |
document.getElementById("HeaderTable").style.display="none"; | |
document.getElementById("container").style.height="100%"; | |
} | |
,false |
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
var express = require('express'); | |
var app = express(); | |
app.use(express.logger()) | |
app.use(express.static(__dirname + '/public')); | |
app.use(express.bodyParser()); | |
var port = process.env.PORT || 5000; | |
app.post('/testpost', function(req, res) { | |
res.send(JSON.stringify(req.body)); |
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
<html> | |
<form id="form1" action="/testpost" method="post"> | |
<table> | |
<tr> | |
<td> | |
<label for="username">Name: </label> | |
</td> | |
<td> | |
<input type="text" id="username" name="username"></input> | |
</td> |
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
//author fengxx | |
var downloadLinkOK=false | |
var redirectOk=false | |
if (location.href.indexOf('www.rayfile.com/zh-cn/files/')!=-1 ) | |
{ | |
function redirectme(userJSEvent){ | |
if(typeof vid !="undefined" && typeof vkey !="undefined" && !redirectOk){ | |
redirectOk=true | |
var nextUrl="http://www.rayfile.com/zh-cn/files/" |
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
echo x - ScriptRunner.java | |
cat >ScriptRunner.java <<'!Funky!Stuff!' | |
import java.io.*; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
/** | |
* | |
* @author Ted |
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
#include <GUIConstantsEx.au3> | |
#include <WindowsConstants.au3> | |
#include <ButtonConstants.au3> | |
#include <StaticConstants.au3> | |
#include <GDIPlus.au3> | |
#include <File.au3> | |
#include <Array.au3> | |
; Creating GUI and controls GUICreate ( "title" [, width [, height [, left [, top [, style [, exStyle [, parent]]]]]]] ) | |
$hGui = GUICreate("Resize JPEG", 320, 130, @DesktopWidth / 2 - 192, _ | |
@DesktopHeight / 2 - 235, -1, $WS_EX_ACCEPTFILES) |