Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
// ==UserScript== | |
// @name Fetch Order Information | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://live02.168money.com.tw/center/orders/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=168money.com.tw | |
// @grant none | |
// ==/UserScript== |
/******************************************* | |
* | |
* Javascript Magic Page | |
* | |
* Author: Sergey Ivanov <[email protected]> | |
* | |
* (\_/) | |
* (=':'=) | |
* ▀▀▀███████▀▀▀ | |
* ███████ |
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
const express = require('express') | |
const app = express() | |
const port = 3000 | |
const delay = (s) => { | |
return new Promise(resolve => { | |
setTimeout(resolve, s); | |
}); | |
} |
//regular expressions to extract IP and country values | |
const countryCodeExpression = /loc=([\w]{2})/; | |
const userIPExpression = /ip=([\w\.]+)/; | |
//automatic country determination. | |
function initCountry() { | |
return new Promise((resolve, reject) => { | |
var xhr = new XMLHttpRequest(); | |
xhr.timeout = 3000; | |
xhr.onreadystatechange = function () { |
2018-06-05 10:51:05.4448 Info Message Template Auto Format enabled | |
2018-06-05 10:51:05.4448 Info Loading assembly: NLog.Web.AspNetCore | |
2018-06-05 10:51:05.4448 Debug ScanAssembly('NLog.Web.AspNetCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c') | |
2018-06-05 10:51:05.4629 Trace FindReachableObject<NLog.Internal.IRenderable>: | |
2018-06-05 10:51:05.4629 Trace Scanning BaseDirLayoutRenderer 'Layout Renderer: ${basedir}' | |
2018-06-05 10:51:05.4629 Trace FindReachableObject<NLog.Internal.IRenderable>: | |
2018-06-05 10:51:05.4733 Trace Scanning LongDateLayoutRenderer 'Layout Renderer: ${longdate}' | |
2018-06-05 10:51:05.4733 Debug Setting 'EventPropertiesLayoutRenderer.item' to 'EventId_Id' | |
2018-06-05 10:51:05.4733 Trace FindReachableObject<NLog.Internal.IRenderable>: | |
2018-06-05 10:51:05.4733 Trace Scanning EventPropertiesLayoutRenderer 'Layout Renderer: ${event-properties}' |