こんにちは。今回は現実逃避を兼ねて Jade の素晴らしさをお伝えしたいと思います。
[Jade][0] は JST (JavaScript Templates) の一つであり、HTML を書くための[軽量マークアップ言語][1] である [Haml][2] に影響を受けた JavaScript テンプレートエンジンでもあります。
using System; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System.Windows; | |
namespace ConsoleApp1 | |
{ | |
abstract class AbstractInterceptKeyboard | |
{ | |
#region Win32 Constants |
function BytesToHex(const ASource: TBytes): string; | |
var | |
target: TBytes; | |
begin | |
SetLength(target, Length(ASource)*2); | |
BinToHex(ASource, 0, target, 0, Length(ASource)); | |
result := TEncoding.ANSI.GetString(target); | |
end; | |
function StringToHex(const ASource: string; AEncoding: TEncoding): string; |
unit Lyna.Generators; | |
interface | |
uses | |
SysUtils, Rtti, TypInfo; | |
type | |
TRange = record | |
strict private |
unit uIOSUtils; | |
interface | |
uses | |
System.UITypes; | |
procedure SetStatusBarColor(const iColor: TAlphaColor); | |
implementation |
(* | |
* ExeName method is added to TApplication. | |
* | |
* Made by HOSOKAWA Jun. | |
* | |
* CONTACT | |
* Twitter @pik or freeonterminate@gmail.com | |
* | |
* LAST UPDATE | |
* 2015/12/15 First Release |
(* | |
* This is sample code (My memorandum) | |
* System.Net.HttpClient.THttpClient class | |
* | |
* Programmed by HOSOKAWA Jun / twitter @pik | |
*) | |
program MVPCount; | |
{$APPTYPE CONSOLE} |