Skip to content

Instantly share code, notes, and snippets.

View JordiCorbilla's full-sized avatar
:bowtie:
Writing about Quantitative Finance and Machine Learning

Jordi Corbilla JordiCorbilla

:bowtie:
Writing about Quantitative Finance and Machine Learning
View GitHub Profile
curl -X POST \
-H "X-Parse-Application-Id: thunderParse" \
-H "Content-Type: application/json" \
-d '{"version":"0.0","Id":"1","photos":100,"views":100,"likes":100,"comments":100}' \
http://localhost:1337/parse/classes/Instances
/**
* @Author: Jordi Corbilla
* (c) Copyright by Jordi Corbilla.
**/
//Usage -> UpdateClient('1', 100, 100, 100, 100, '0.0');
function UpdateClient(id: string; photos, views, likes, comments: integer; version: string): boolean;
var
IdHTTP: TIdHTTP;
/**
* @Author: Jordi Corbilla
* (c) Copyright by Jordi Corbilla.
**/
//Usage -> UpdateClient('1', 100, 100, 100, 100, '0.0');
function UpdateClient(id: string; photos, views, likes, comments: integer; version: string): boolean;
var
IdHTTP: TIdHTTP;
C:\ThundaxDelphiRepository\thundax-delphi-personal-repository\src\Design Patterns\
CodeCoverage.exe -e "thundax.DesignPatternsTest.exe" -m "thundax.DesignPatternsTest.map" -ife -uf dcov_units.lst -spf dcov_paths.lst -od ".\" -lt -html -xml -emma -meta
java -cp emma.jar emma report -r html -in coverage.em,coverage.ec
thundax.Prototype
thundax.AbstractFactory
/**
* @Author: Jordi Corbilla
* (c) Copyright by Jordi Corbilla.
**/
TUML = class(TObject)
private
FFormat: string;
FOutFile: TLog;
FUmlFileName: string;
/**
* @Author: Jordi Corbilla
* (c) Copyright by Jordi Corbilla.
**/
procedure TestTUML.TestUMLDiagramAsynchronous;
var
lock: TCriticalSection;
thread1, thread2, thread3: TThread;
sw : TStopWatch;
/**
* @Author: Jordi Corbilla
* (c) Copyright by Jordi Corbilla.
**/
//Anonymous procedure approach by Lars Fosdal
type
TArg<T> = reference to procedure(const Arg: T);
procedure TForm1.CaptureConsoleOutput(const ACommand, AParameters: String; CallBack: TArg<PAnsiChar>);
const