Skip to content

Instantly share code, notes, and snippets.

View xavierlopezpujol's full-sized avatar

Xavier Lopez Pujol xavierlopezpujol

View GitHub Profile
program Project1;
{$APPTYPE CONSOLE}
{$R *.res}
uses
Syncommons;
@xavierlopezpujol
xavierlopezpujol / MedicionesArrayTObjectList.dpr
Created October 28, 2021 09:32
Metrics TObjectList, TList, Array of records
program MedicionesArrayTObjectList;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
System.Generics.Collections,
Syncommons;
@xavierlopezpujol
xavierlopezpujol / Xml_amb_thread.dpr
Last active January 27, 2022 10:55
Parse XML with MSXML with and without thread
program Xml_amb_thread;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,System.win.ComObj, Classes, XMLIntf, XMLDoc,ActiveX,Xml.xmldom , Xml.Win.msxmldom;
const Xml=
program TestDateToISO8601;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
System.DateUtils;
@xavierlopezpujol
xavierlopezpujol / VolcarTablaSQLServer.dpr
Created March 4, 2022 15:12
Dump table from sql server with mORMot
program VolcarTablaSQLServer;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
SynCommons,
System.Generics.Collections,
@xavierlopezpujol
xavierlopezpujol / SaveLoadRecordJSON.dpr
Last active May 22, 2023 11:31
Record Serialization Unserialization
program SaveLoadRecordJSON;
{$APPTYPE CONSOLE}
{$R *.res}
uses
Syncommons;
type