Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View freeonterminate's full-sized avatar

HOSOKAWA Jun freeonterminate

View GitHub Profile
@freeonterminate
freeonterminate / delphidiscord.md
Last active October 12, 2023 04:31
Delphi Discord サーバ

Delphi Discord Server

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

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

https://discord.gg/W593cak

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

@freeonterminate
freeonterminate / FMX.ApplicationHelper.pas
Last active June 26, 2022 05:45
TApplication に ExeName メソッドを追加するコード
(*
* ExeName method is added to TApplication.
*
* Made by HOSOKAWA Jun.
*
* CONTACT
* Twitter @pik or freeonterminate@gmail.com
*
* LAST UPDATE
* 2015/12/15 First Release
@freeonterminate
freeonterminate / uComboEditHelper.pas
Created January 10, 2018 06:20
TComboEdit のフォントを変更するサンプルコード
(*
* TComboEdit のフォントを変更するサンプルコード
*
* Copyright (c) 2018 HOSOKAWA Jun.
*
* HOW TO USE:
* 1. Add uComboEditHelper to uses block.
* 2. Call ComboEdit.SetFont at an appropriate timing such as FormCreate
*
* EXAMPLE:
@freeonterminate
freeonterminate / FMX.WebBrowserHelper
Last active February 9, 2022 00:23
WebBrowser のユーティリティ
(*
* WebBrowserHelper
* WebBrowser Utility
*
* Copyright (c) 2015 HOSOKAWA Jun.
*
* CONTACT
* Twitter @pik or freeonterminate@gmail.com
*
* LAST UPDATE
@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
@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 / プログラム.dpr
Last active September 17, 2020 04:07
Object Pascal も進化してるよ(プログラムの内容は全く意味が無いよ)
program プログラム;
uses
System.SysUtils
{$IFDEF ANDROID}
, Androidapi.JniBridge
{$ELSEIF IOS}
, iOSapi.Foundation
{$ENDIF}
;
@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 / uNSAppSample.pas
Created November 19, 2013 16:02
Delphi で OS X / Objective-C のランタイムライブラリを呼んでいるサンプル
unit uNSAppSample;
interface
implementation
{$IFDEF MACOS}
uses
// Delphi の RTL
System.SysUtils, System.Generics.Collections,
(*
* 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