This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uses Skia, Skia.FMX; | |
procedure TForm3.FormCreate(Sender: TObject); | |
var | |
Buffer: TBitmap; | |
begin | |
var Lottie := TSkottieAnimation.MakeFromFile('D:\Downloads\3-8472.json'); | |
Lottie.SeekFrameTime(0); | |
var Tick := Lottie.Duration / (Lottie.Duration * Lottie.FPS); | |
var i := Tick; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program hh_delphi_stat; | |
{$APPTYPE CONSOLE} | |
{$R *.res} | |
uses | |
System.SysUtils, | |
System.JSON, | |
System.StrUtils, | |
System.NetEncoding, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uses | |
IdComponent, IdIcmpClient, System.Threading; | |
type | |
TPing = class | |
private | |
FMySelf: TPing; | |
FProc: TProc<Integer>; | |
procedure FOnReply(ASender: TComponent; const AReplyStatus: TReplyStatus); | |
procedure FOnStatus(ASender: TObject; const AStatus: TIdStatus; const AStatusText: string); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
TImageListHelper = class helper for TImageList | |
function Add(ABitmap: TBitmap): integer; | |
end; | |
... | |
function TImageListHelper.Add(aBitmap: TBitmap): integer; | |
const | |
SCALE = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program VKBotTemplate; | |
{$APPTYPE CONSOLE} | |
{$R *.res} | |
uses | |
Winapi.Windows, | |
Winapi.Messages, | |
System.SysUtils, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function GetParamStr(P: PChar; var Param: string): PChar; | |
var | |
i, Len: Integer; | |
Start, S: PChar; | |
begin | |
// U-OK | |
while True do | |
begin | |
while (P[0] <> #0) and (P[0] <= ' ') do | |
Inc(P); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit uDownload; | |
interface | |
uses | |
Winapi.Windows, | |
System.SysUtils, | |
System.Classes, | |
IdComponent, | |
IdHTTP; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit Unit3; | |
interface | |
uses | |
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, | |
System.Classes, System.Types, Vcl.Graphics, Vcl.Controls, Vcl.Forms, | |
Vcl.Dialogs, System.Net.HttpClient, Vcl.StdCtrls; | |
type |
NewerOlder