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
@jpluimers
jpluimers / basic-dev.ps1
Created Jul 23, 2019 — forked from flcdrg/basic-dev.ps1
My BoxStarter Scripts
View basic-dev.ps1
# SQL Server - do this early to avoid issues with newer versions of VC++ 2015 redist
choco install sql-server-2017
choco install sql-server-2017-cumulative-update
choco install sql-server-management-studio
# tools
choco install git
choco install nodejs
choco install tortoisegit
choco install visualstudiocode
@jpluimers
jpluimers / ovftool_installation.sh
Created Jul 15, 2019 — forked from ruzickap/ovftool_installation.sh
OVFTool installation on ESXi
View ovftool_installation.sh
#Download OVF tools
wget -q ftp://ftp.example.com/software/vmware/installation_scripts/vmware-ovftool.tar.gz -O /vmfs/volumes/My_Datastore/vmware-ovftool.tar.gz
# Extract ovftool content to /vmfs/volumes/My_Datastore
tar -xzf /vmfs/volumes/My_Datastore/vmware-ovftool.tar.gz -C /vmfs/volumes/My_Datastore/
rm /vmfs/volumes/My_Datastore/vmware-ovftool.tar.gz
# Modify the ovftool script to work on ESXi
sed -i 's@^#!/bin/bash@#!/bin/sh@' /vmfs/volumes/My_Datastore/vmware-ovftool/ovftool
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 Jul 22, 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;
You can’t perform that action at this time.