Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name tradeogre-tampermonkey-script
// @author Derek Ziemba
// @version 2024.03.18
// @match https://tradeogre.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=tradeogre.com
// @updateUrl https://gist.github.com/DerekZiemba/41c7049b721fe3c12e8d5144d346e343.js
// @downloadUrl https://gist.github.com/DerekZiemba/41c7049b721fe3c12e8d5144d346e343.js
//// @require file:///C:/Dropbox/Scripts/.js/ZZ5/websites/tradeogre/tradeogre.js
// @run-at document-start
@DerekZiemba
DerekZiemba / Bookmarks-1.5a.csv
Last active August 25, 2023 00:07
System Informer (Everything64.exe) Modules
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
Name,Type,Folder,Case,Whole Word,Path,Diacritic,Prefix,Suffix,Ignore Punctuation,Ignore Whitespace,Regex,Search,Filter,Columns,Sort,Descending,View,Index,File List,Host,Link Type,Macro,Key,Icon
"Q:<X>",0,"",,,,0,,,,1,,"<add-column:Subject;Title;DisplayName;ProductName;Description;Company;OriginalFilename;Version;ProductVersion> !<ext:st> <ignore-punc:ignore-whitespace:<X:>> |<<ContentType:<X:>>|<ignore-whitespace:Type:<X:>> > |<<PerceivedType:""document""> <!attribute:<H|S>> ignore-punc:<Subject:<X:>|Title:<X:>|Description:<X:>>> |<<PerceivedType:""video""> <!attribute:<H|S>> ignore-punc:ignore-whitespace:<Title:<X:>>> |<<ext:exe;dll;rll;msi;msc;cpl;ocx;sys> <ignore-punc:ignore-whitespace:<DisplayName:<X:>|ProductName:<X:>|Company:<X:>|OriginalFilename:<X:>>> |<ignore-punc:Description:<X:>> |<Version:<X:>|ignore-whitespace:ProductVersion:<X:>> > |<<ext:lnk> ignore-punc:ignore-whitespace:ShortcutTarget:<X:>> |< < <PerceivedType:""document""> !<attribute:<H|S>> > < !<size:""<32""> !<size:""
@DerekZiemba
DerekZiemba / index.html
Last active December 2, 2021 22:10
JS Field access performance comparison depending on how Object constructed #jsbench #jsperf (http://jsbench.github.io/#10afe81fe96191b0c43303dedfc30f10) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>JS Field access performance comparison depending on how Object constructed #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
Target: "C:\Program Files\Zulu\zulu-15\bin\javaw.exe" -server -XX:VMOptionsFile="java15.vmoptions" -jar launcher-first.jar
Start in: "C:\Program Files\thinkorswim"
@DerekZiemba
DerekZiemba / Format-Json.ps1
Created September 29, 2020 23:45
Proper Powershell JSON Formatting
# https://github.com/PowerShell/PowerShell/issues/2736
# https://github.com/PowerShell/PowerShell/issues/8604
function Format-Json([Parameter(Mandatory, ValueFromPipeline)]$json) {
if ($json -isnot [string]) { $json = $json | ConvertTo-Json -Depth 10; }
$indent = 0;
$lines = $json.Split("`n", [System.StringSplitOptions]::RemoveEmptyEntries);
for (($len = $lines.Length), ($i = 0); $i -lt $len; $i++) {
@DerekZiemba
DerekZiemba / Benchmark.cs
Created August 14, 2020 23:54
NBody benchmark program
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.InteropServices;
namespace Benchmark {
public static class Extensions {
public static string ToStringReset(this StringBuilder sb) {
@DerekZiemba
DerekZiemba / index.html
Last active July 29, 2020 23:19
HWInfo Report
<html><head>
<meta name="GENERATOR" content="HWiNFO64 v6.28-4200">
<style>
A { text-decoration: none }
A:hover { text-decoration: underline }
TD { font: 80% verdana, tahoma, ms sans serif, arial; color: #000000; vertical-align: text-center; text-align: left }
TD.dn { font: 70% verdana, tahoma, ms sans serif, arial; color: #000000; vertical-align: text-center }
TD.di { font: bold 80% verdana, tahoma, ms sans serif, arial; color: #000000; vertical-align: text-center }
TD.ds { font: bold 80% verdana, tahoma, ms sans serif, arial; color: #000080; vertical-align: text-center }
TD.dt { font: bold 110% verdana, tahoma, ms sans serif, arial; color: #000080; vertical-align: text-center }
@DerekZiemba
DerekZiemba / index.html
Last active June 5, 2020 21:31
Javascript Fastest way to check for String Type that is not empty #jsbench #jsperf (https://jsbench.github.io/#79c073db881ec273a6ef630cfc258e49) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Javascript Fastest way to check for String Type that is not empty #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@DerekZiemba
DerekZiemba / index.html
Created May 10, 2020 01:10
Map vs Object #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Map vs Object</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Fast MD5 Hash</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>