Skip to content

Instantly share code, notes, and snippets.

@Hamayama
Hamayama / information.txt
Last active September 17, 2022 11:11
Gauche の http-get で、mbedTLS のエラーが出る件の調査
<Scheme:初心者の質問箱>
https://practical-scheme.net/wiliki/wiliki.cgi?Scheme%3A%E5%88%9D%E5%BF%83%E8%80%85%E3%81%AE%E8%B3%AA%E5%95%8F%E7%AE%B1
(rfc.http) http-get での error について(Gauche-0.9.12)
(use rfc.http)
(http-get "artscape.jp" "/exhibition/traveling/index.html" :secure #t)
*** ERROR: TLS handshake failed: SSL - A field in a message was incorrect or inconsistent with other fields (-26112)
@Hamayama
Hamayama / 3022_github_newgui_custom.txt
Last active July 19, 2022 01:30
GitHub New GUI Customization
/*
GitHub New GUI Customization
2022-7-19 v1.09
*/
@-moz-document domain("github.com") {
/* width >= 768px */
@media (min-width: 768px) {
/* narrow width of sidebar */
turbo-frame > #repo-content-pjax-container > div > div > .Layout.Layout--sidebarPosition-end,
@Hamayama
Hamayama / SDL2_Install.md
Last active August 4, 2021 14:11
MinGW 用の SDL2 インストール手順 メモ

MinGW 用の SDL2 インストール手順 メモ

  • 自分がインストールしたとき(2016年12月~2020年11月)の参考用のメモです。
    (情報が古くなっている可能性があります)
  1. MinGW のインストール
    事前に MinGW がインストールされている必要があります。
    以下のページを参考に、インストールを実施ください。
    <開発環境に MinGW (32bit) を使う場合>
@Hamayama
Hamayama / 2111_github_actions.md
Last active June 9, 2021 07:54
GitHub Actions のメモ

GitHub Actions のメモ

  • Gauche の GitHub Actions 関連のプルリクエスト
    [#601] [#603] [#605] [#606] [#608] [#611] [#622] [#625] [#630] [#652]
    [#699] [#702] [#704] [#705] [#727]

Workflow の failure 事例

@Hamayama
Hamayama / gen_eaw_data.scm
Last active May 3, 2021 18:36
Gauche を使用して、Unicode の文字幅データを生成するツール
;; -*- coding: utf-8 -*-
;;
;; gen_eaw_data.scm
;; 2021-5-4 v1.00
;;
;; <内容>
;; Gauche を使用して、Unicode の文字幅データを生成するためのツールです。
;; EastAsianWidth.txt と emoji-data.txt が、本ファイルと同一フォルダに
;; 存在することを想定しています。
;; EastAsianWidth.txt と emoji-data.txt は、以下にあります。
@Hamayama
Hamayama / 3014_lem_winterm.md
Last active April 25, 2021 08:26
Lem エディタの Windows Terminal 上での実行方法

Lem エディタの Windows Terminal 上での実行方法

  • Windows 環境において、Lem エディタを Windows Terminal 上で実行する方法をまとめたものです。
    (Windows Terminal の実行には、Windows 10 が必要です)

事前準備

  • 事前に、Lem エディタ および Windows Terminal が、適切にインストールされている必要があります。
@Hamayama
Hamayama / thread32.c
Last active April 24, 2021 07:01
GetThreadContext test for Windows Wow64 thread
//
// thread32.c
// 2019-2-16 v1.03
//
// Description:
// GetThreadContext test for Windows Wow64 thread.
//
// Original source:
// https://social.msdn.microsoft.com/Forums/vstudio/ja-JP/aa176c36-6624-4776-9380-1c9cf37a314e/getthreadcontext-returns-stale-register-values-on-wow64?forum=windowscompatibility
// (GetThreadContext returns stale register values on WOW64)
@Hamayama
Hamayama / 3000_lem_emoji_ini.md
Last active April 18, 2021 11:29
Lem エディタの Windows 用の文字幅データの設定サンプル (実験中)

Lem エディタの Windows 用の文字幅データの設定サンプル (実験中)

  • Lem エディタ ( https://github.com/cxxxr/lem ) の
    Windows 用の文字幅データの設定サンプルです。
    一部の文字の表示が改善されます。
    (カーソルの表示位置がずれたりするケース等)

    <<現状、Windows 10 では、あまり改善できていません>>

@Hamayama
Hamayama / 3012_lem_conemu.md
Last active January 22, 2021 02:29
Lem エディタの ConEmu 上での実行方法

Lem エディタの ConEmu 上での実行方法

  • Windows 環境において、Lem エディタを ConEmu 上で実行する方法をまとめたものです。

  • mintty + winpty 上では 16 色 しか表示できませんでした (winpty の制約による) が、
    ConEmu 上では 256 色 で表示することができます。
    (参考URL: rprichard/winpty#108
    https://conemu.github.io/en/Xterm256Colors.html )

@Hamayama
Hamayama / 1010_lem_win.md
Last active January 14, 2021 14:16
Lem エディタの Windows 上でのインストール手順等

Lem エディタの Windows 上でのインストール手順等

インストール手順

  1. MSYS2/MinGW-w64 (64bit/32bit) のインストール
    事前に MSYS2/MinGW-w64 (64bit/32bit) がインストールされている必要があります。