Skip to content

Instantly share code, notes, and snippets.

Jeroen Wiert Pluimers jpluimers

  • wiert.me
  • Amsterdam, The Netherlands
Block or report user

Report or block jpluimers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View __cleancookies__.html
<html>
<body>
<script type="text/javascript">
var DONT_DELETE = {
"logged-in-sig": 1,
"logged-in-user" : 1,
};
var cookies = document.cookie.split(/; */);
var result = {};
var cookie_count = 0;
@jpluimers
jpluimers / README.md
Last active Jun 23, 2019
Failing WayBack archival URLs
View README.md

Failing WayBack archival URLs

Early June 2019, Mark Graham asked me to share a URL that fails saving in the WayBack machine.

Below is a start of a list, so I can track when reported, and when they could become archived.

Note that not being able to archive URLs can be both a problem of the WayBack machine and of the page/site being archived.

So this document is absolutely not about blame, just a means to assist the WayBack machine and sites to do better archiving.

View awhhelp.pas
//---------------------------------------------------------------------------------
// Copyright (C) 2001-2002 by Junichi Sakamoto <adelieworks@yahoo.co.jp>
// Ver.2.0
//
// 本ファイルの著作権は坂本純一が保持します。
// 本ファイルは,改版の有無に関わらず,著作者に無断で転載することを禁じます。
// (一切の転載を禁じるもではありません)
// 本ファイルの使用から生ずるいかなる被害・損害も、著作者は一切責任を負いません。
// 本ファイルをそのままあるいは改版の上使用して生成された実行可能なバイナリファイル
// に対して、著作者は著作権を主張しません。本ファイルを改版の上使用することに対して
View Search-in-comments-of-StoredProcedure-Function-Trigger-View-Function.sql
DECLARE @SEARCHSTRING VARCHAR(255), @notcontain Varchar(255)
SELECT @SEARCHSTRING = 'Text I am searching', @notcontain = 'text that should be excluded'
SELECT DISTINCT sysobjects.name AS [Object Name] ,
case when sysobjects.xtype = 'P' then 'Stored Proc'
when sysobjects.xtype = 'TF' then 'Function'
when sysobjects.xtype = 'TR' then 'Trigger'
when sysobjects.xtype = 'V' then 'View'
when sysobjects.xtype = 'FN' then 'Function'
@jpluimers
jpluimers / ReturnAddressUnit.pas
Created Apr 21, 2019
ReturnAddressUnit to provide ReturnAddress to Delphi versions not supporting it, and prevent CallerAddr warnings for Delphi versions having ReturnAddress. See https://bitbucket.org/jeroenp/wiert.me/src/8ae6cf29ffc601fde7c1182dead740adddb13fb8/Native/Delphi/Library/RTL/ReturnAddressUnit.pas
View ReturnAddressUnit.pas
unit ReturnAddressUnit;
// maps CallerAdddr to ReturnAddress to CallerAddr when not available (XE2 and higher have ReturnAddress)
// this avoids "W1000 Symbol 'CallerAddr' is deprecated: 'Use ReturnAddress'"
// from https://github.com/fabriciocolombo/dunit-extension/blob/master/src/TestCaseExtension.pas
interface
@jpluimers
jpluimers / archiveteam-esxi.patch
Created Mar 30, 2019 — forked from Kipari/archiveteam-esxi.patch
Patch for archiveteam-warrior-v3-20171013.ovf, compatibility with ESXi 6.7
View archiveteam-esxi.patch
--- archiveteam-warrior-v3-20171013.ovf 2017-10-14 00:35:26.000000000 +0200
+++ archiveteam-warrior-v3-20171013.ovf.changed 2018-12-18 00:35:31.434927970 +0100
@@ -33,7 +33,7 @@
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
<vssd:InstanceID>0</vssd:InstanceID>
<vssd:VirtualSystemIdentifier>archiveteam-warrior-3</vssd:VirtualSystemIdentifier>
- <vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>
+ <vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
</System>
<Item>
@jpluimers
jpluimers / chocolateyInstall.ps1
Created Mar 26, 2019 — forked from cjuroz/chocolateyInstall.ps1
Chocolatey script to install Visual Studio 2017 from local NAS using offline installer. More info about how to create offline installer here: https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio
View chocolateyInstall.ps1
## USAGE EXAMPLES
# installs CoreEditor (the IDE), ManagedDesktop (.NET framework applications), NetCoreTools (.NET core applications), NetWeb (ASP.NET) + active product using provided Product Key
# choco install visualstudio2017enterprise.pls -y --params "/Features:Microsoft.VisualStudio.Workload.CoreEditor,Microsoft.VisualStudio.Workload.ManagedDesktop,Microsoft.VisualStudio.Workload.NetCoreTools,Microsoft.VisualStudio.Workload.NetWeb /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
# silent bare minimum installation with product key activation. The minimum installation contains only the Core Editor workload (Microsoft.VisualStudio.Workload.CoreEditor)
# choco install visualstudio2017enterprise.pls -y --params "/ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
# silent bare minimum installation without product key activation
# choco install visualstudio2017enterprise.pls -y
@jpluimers
jpluimers / AbbyyFineReader_CreativeCloud_AutoCloseConsoleProject.dpr
Created Mar 10, 2019
Automatically close finished ABBYY FineReader 5.0 and Creative Cloud windows.
View AbbyyFineReader_CreativeCloud_AutoCloseConsoleProject.dpr
program AbbyyFineReader_CreativeCloud_AutoCloseConsoleProject;
{$APPTYPE CONSOLE}
{$R *.res}
uses
Winapi.Messages,
Winapi.Windows,
System.SysUtils;
View remove_chrome_other_search_engines.js
// 1. open chrome://settings/searchEngines
// 2. press Ctrl-Shift-J to open console
// 3. paste the following code
// note: you may have to run it multiple times to get rid of all of them
// If you have search engines you want to use add the text "(KEEP)" to their name
// and by name i mean the "Search engine" field when you add/edit one of the search engines
settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList()
.then(function (val) {
@jpluimers
jpluimers / ApexSQL-FormattingSettings.xml
Created Mar 1, 2019
Apex SQL example format settings exported as XML
View ApexSQL-FormattingSettings.xml
<?xml version="1.0"?>
<PublicOptions>
<ActiveProfile>ApexSQL</ActiveProfile>
<LanguagesOptionsPublic>
<Name>Java</Name>
<Prefix>String sql = "</Prefix>
<Suffix>";</Suffix>
<EscapeCharsForQuotes>\</EscapeCharsForQuotes>
<LengthLimit>40</LengthLimit>
<LineSeparator>\n"
You can’t perform that action at this time.