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 | |
| Rest.Client, Rest.Types; | |
| function SetupRestRequest: TRESTRequest; | |
| begin | |
| Result := TRESTRequest.Create(Self); | |
| Result.Client := TRESTClient.Create(Result); | |
| Result.Response := TRESTResponse.Create(Result); | |
| Result.Client.BaseURL := 'https://discord.com/api/v' + Settings.Discord.API_Version.ToString; |
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 Unit1; | |
| interface | |
| uses | |
| System.SysUtils, System.Types, System.UITypes, System.Classes, | |
| System.Variants, | |
| FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Rtti, | |
| FMX.Grid.Style, FMX.StdCtrls, FMX.Controls.Presentation, FMX.ScrollBox, | |
| FMX.Grid; |
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
| using | |
| System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Dialogs; | |
| procedure ListAllStyles; | |
| var | |
| i: Integer; | |
| astyle: TStyleBook; | |
| begin | |
| for i := 0 to self.ComponentCount - 1 do | |
| begin |
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 UTCtoLocalDateTime(const UTCDateTime: TDateTime): TDateTime; | |
| var | |
| LocalSystemTime: TSystemTime; | |
| UTCSystemTime: TSystemTime; | |
| LocalFileTime: TFileTime; | |
| UTCFileTime: TFileTime; | |
| begin | |
| DateTimeToSystemTime(UTCDateTime, UTCSystemTime); | |
| SystemTimeToFileTime(UTCSystemTime, UTCFileTime); | |
| if FileTimeToLocalFileTime(UTCFileTime, LocalFileTime) and FileTimeToSystemTime(LocalFileTime, LocalSystemTime) then |
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 FindText(const aText, aTagLeft, aTagRight: string): string; | |
| var | |
| xml: TStringList; | |
| iLeft, iRight: Integer; | |
| begin | |
| xml := TStringList.Create; | |
| try | |
| xml.Text := aText; | |
| iLeft := Pos(aTagLeft, xml.Text) + Length(aTagLeft); |
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
| using UnityEngine; | |
| using System.Collections; | |
| public class PlayerController : MonoBehaviour { | |
| public float speed = 15.0f; | |
| public float padding = 1f; | |
| float xmin; | |
| float xmax; |
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
| -480p - Run tenfoot in 480p rather than 1080p | |
| -720p - Run tenfoot in 720p rather than 1080p | |
| -accountrecovery - Perform account recovery | |
| -all_languages - show longest loc string from any language | |
| -bigpicture - Start in Steam Big Picture mode | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load | |
| -community - Set the community URL | |
| -complete_install_via_http - Run installation completion over HTTP by default |