Skip to content

Instantly share code, notes, and snippets.

@gabr42
gabr42 / BadBoolean.dpr
Created Jul 11, 2019
When True is Not
View BadBoolean.dpr
program BadBoolean;
{$APPTYPE CONSOLE}
{$R *.res}
var
True: boolean = not false;
procedure Magic;
@gabr42
gabr42 / TimedTask.dpr
Created Apr 26, 2019
InitializedTimedTask
View TimedTask.dpr
program TimedTask;
uses
Vcl.Forms,
TimedTaskMain in 'TimedTaskMain.pas' {Form89};
{$R *.res}
begin
Application.Initialize;
View ObjectDestroyedOK.dpr
program ObjectDestroyedOK;
{$APPTYPE CONSOLE}
{$R *.res}
uses
Winapi.Windows,
System.SysUtils;
@gabr42
gabr42 / MetaClassCache.dpr
Last active Jan 29, 2019
class properties as per-type cache
View MetaClassCache.dpr
program MetaClassCache;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.TypInfo,
System.SysUtils;
@gabr42
gabr42 / MetaClassCache.dpr
Last active Feb 1, 2019
class properties as per-type cache
View MetaClassCache.dpr
program MetaClassCache;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.TypInfo,
System.SysUtils;
@gabr42
gabr42 / keybase.md
Created Jan 8, 2015
keybase.io proof
View keybase.md

Keybase proof

I hereby claim:

  • I am gabr42 on github.
  • I am gabr42 (https://keybase.io/gabr42) on keybase.
  • I have a public key whose fingerprint is D4CF 7256 CECA 54AA 06CA E43F 1E82 1FDD DD54 A9A6

To claim this, I am signing this object: