Skip to content

Instantly share code, notes, and snippets.

View freeonterminate's full-sized avatar

HOSOKAWA Jun freeonterminate

View GitHub Profile
@freeonterminate
freeonterminate / QuickSortSample.pas
Last active February 20, 2018 02:29
Integer の QuickSort サンプル
program QuickSortSample;
procedure QuickSort(var ioInt: array of Integer);
procedure QuickSortBody(iLo, iHi: Integer);
var
Min, Max, Mid: Integer;
tmpInt: Integer;
begin
repeat
(*
* Fix:
* Deal with a problem that ComboBox can not be operated when Scale is
* greater than 100%
*
* USAGE:
* Just add PK.Fix.Scale.ComboBox to the uses section.
*
* LICENSE:
* Copyright (c) 2018 HOSOKAWA Jun
@freeonterminate
freeonterminate / delphidiscord.md
Last active March 21, 2025 07:02
Delphi Discord サーバ

Delphi Discord Server

Delphi の Discord Server を作成しました。
雑談・質問や情報交換の場としてご利用ください。

以下の URL から参加できます。

https://discord.gg/W593cak

注意ですが、Discord は 「必要な時だけ参加して、不要になったらサーバから脱退する」という使い方をする場所ではありません
不要な時は、サーバから脱退せず、Discord にアクセスしないだけで大丈夫です。

@freeonterminate
freeonterminate / BinUtils.dpr
Last active June 29, 2020 08:13
2進⇔10進数変換
program BinUtils;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils, System.Classes;
function FromBinary(const AValue: String): Integer;
@freeonterminate
freeonterminate / ToggleColorLabel.jsx
Created May 6, 2021 15:27
Photoshop layer color label changer
// Toggle Color Label
//
// ABOUT
// Change color label.
// None → Red → Orange → Yellow → Green
// → Blue → Violet → Gray → None
//
// LICENSE
// Copyright (c) 2021 twitter:@pik
// Released under the MIT license
@freeonterminate
freeonterminate / PK.GUI.NativePopupMenu.Win.pas
Created November 25, 2021 12:36
FireMonkey TPopup を Native Menu にして表示する
(*
* FireMonkey TPopup を Native Menu にして表示する
*
* PLATFORMS
* Windows 11
*
* ENVIRONMENT
* Delphi 11.0 Alexandria
*
* USAGE