View configuration.pas
This file contains 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 fpjson, jsonscanner, fpjsonrtti | |
; | |
// ... ... ... | |
procedure LoadFromJSON(AObject: TObject; const AFileName: String); | |
var | |
ADeStreamer: TJSONDeStreamer; |
View project1.pas
This file contains 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 Unit1; | |
{$mode objfpc}{$H+} | |
interface | |
uses | |
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls; | |
type |
View zip_odt.pas
This file contains 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 zip_odt; | |
{$mode ObjFPC}{$H+} | |
interface | |
uses | |
Classes, SysUtils; | |
procedure FillODTDoc(const aSrcFile, aDestFile: String; aKeyValuePairs: TStringList); |
View your_site.conf
This file contains 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
#user 'sampleuser' virtual host 'telegramapi.sample.com' configuration file | |
server { | |
server_name telegramapi.sample.com www.telegramapi.sample.com; | |
... ... ... | |
location / { | |
proxy_set_header Host api.telegram.org; | |
proxy_pass https://api.telegram.org; | |
proxy_set_header X-Forwarded-Host $host; | |
proxy_set_header X-Forwarded-Server $host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
View odt_2_pdf.pas
This file contains 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 odt_2_pdf; | |
{$mode ObjFPC}{$H+} | |
interface | |
uses | |
Classes, SysUtils; | |
function ConvertODT2Pdf(const aSrcODT, aOutDir: String): Boolean; |
OlderNewer