Utterances
https://utteranc.es/https://github.com/utterance/utterances Utterances はGithub のIssue 管理機能を利用したコメントシステムです。Utterances でコメントを欄を作成してみました。 スクリプト<script src="https://utteranc.es/client.js" repo="ktkr3d/ktkr3d.github.io" issue-term="pathname" theme="github-light" crossorigin="anonymous" async></script> コメント欄
Windows Terminal
久しぶりにWindows Terminal を使ってみました。背景透過の設定、ドロップダウンターミナル的な使い方の設定をしてみました。 環境 Windows 10 Windows Terminal Preview バージョン: 1.7.572.0 構築 ダウンロード https://github.com/microsoft/terminal/releases インストールして実行 Windows タスクバーの設定 右クリックして「タスクバーにピン留めする」を選択 アイコンをタスクバー の一番左に移動(Windows キーと1キーで起動するため) 起動サイズの指定settings.json"initialPosition": "0,0","initialCols": 280,"initialRows": 20, 背景色透過settings.json"useAcrylic": true,"acrylicOpacity":...
Flutter
Flutter の環境を構築してサンプルアプリケーションを実行してみました。 環境 Windows 10 flutter 2.0.1 git 2.30.0 android studio 4.1.2 構築Flutter のインストール Download https://flutter.dev/docs/get-started/install/windows flutter_windows_2.0.1-stable.zip 展開 C:\tools\flutter 環境変数PATH の追加 C:\tools\flutter\bin Android Studio のインストール Andoird Studio インストール https://developer.android.com/studio Web アプリのみの場合は不要かもしれません。 Configure > AVD Manager AVD の起動を確認して終了 Configure > Plugins Dart Flutter VSCode プラグインのインストール VSCode...
GNOME 40
https://copr.fedorainfracloud.org/coprs/haeckerfelix/gnome-shell-40/ GNOME 40 アルファ版を起動してみました。 環境 Fedora 33 GNOME Shell 40.beta 構築 Fedora 33 インストールhttps://getfedora.org/ja/workstation/download/ アップデート $ sudo dnf update -y リポジトリ追加&アップデート $ sudo dnf copr enable haeckerfelix/gnome-shell-40 $ sudo dnf upgrade Fedora 33 との差分 バージョン確認$ dnf list --installed | grep haeckerfelixglib2.x86_64 2.67.3-1.fc33 ...
Electron App
https://github.com/ktkr3d/wowslhp Electronで簡単なアプリケーションを作成してみました。 electron-quick-start-typescript をカスタマイズ 単純に、指定したURL をBrowserWindow で表示https://worldofwarcraft.com/en-us/shadowlands electron-builderでインストーラを生成 World of Warcraft Shadowlands のリリース時刻までカウントダウンします。残り一週間ですね。 環境 Windows 10 Pro Insider Preview Build 20231 Git 2.29.2 Node.js v14.15.0 npm 6.14.8 Yarn 1.22.5 electron-builder 22.9.1 前提パッケージの導入 Git https://gitforwindows.org/ Node.js https://nodejs.org/ja/ Yarn ...
OpenVPN on WSL2
https://github.com/pritunl/pritunlWSL2 の環境にOpenVPN を導入してみました。Pritunl を管理ツールとして使いました。外出先から自宅環境のファイルサーバの参照、EPGStation の操作、WSL2 への接続、Windows 10 へのリモートデスクトップ接続、等ができます。今まではRaspberry Pi をVPN サーバにしていました。リスクがある気もしますが移行を検討してみます。 環境 Windows 10 Insider Preview Build 20197 WSL2 (Ubuntu 20.04) openvpn 2.4.7 pritunl 1.29.2530.72ℹ️Wireguard を指定する項目が増えていました mongodb 3.6.9 v6 プラスでインターネット接続 v6 プラス接続環境の調査 公開IPv4 アドレスと公開IPv6 アドレスを確認 https://test-ipv6.com/ 公開IPv6 アドレスから公開可能なポート番号を確認 ...
VSCode on Android
https://github.com/MFDGaming/ubuntu-in-termuxhttps://github.com/cdr/code-server Android 上でVisual Studio Code を利用してみました。Samsung Dex でディスプレイに表示しています。そこそこ動きますが文字入力操作が難点ですね。 2021-12-29 追記https://github.com/coder/code-server/issues/215日本語表示にするには日本語言語パックをインストールして、 $ cp ~/.local/share/code-server/locale.json ~/.local/share/code-server/User/ 環境 Galaxy s8 Android 9 Termux 0.98 Ubuntu 20.04 code-server 3.4.1 arm64 VS Code 1.45.1 構築 Termux をインストール Ubuntu のインストールと実行 $ uname -aLinux...
Linux Terminal Shortcuts
Linux 端末のショートカットのチートシートをman のように表示してみました。Alt+. (前回の引数を貼り付け) はmkdir した直後にcd する時に便利ですね。 環境 Windows 10 Insider Preview Build 20185 WSL (Ubuntu) 構築 データ格納用ディレクトリを作成 $ mkdir -p ~/man/ja/manl/ チートシート本体の作成 https://gist.github.com/ktkr3d/4ef437666cfbc0c9cec8f8e26d3b6d06 $HOME/man/ja/manl/shortcuts.l.\" ~/man/ja/manl/shortcuts.l.TH SHORTCUTS "1" "2020年8月" "shortcuts 0.1" "チートシート".SH 名称shortcuts \- Linux 端末キーボードショートカットのチートシート.SH Ctrl 系Ctrl+A ...
Hexo 5.0.0
https://hexo.io/news/2020/07/29/hexo-5-released/ Hexo 5.0.0 がリリースされていたので導入してみました。 さらに高速になったようです。 メモリ使用量が減った気がします。 フロントマターにpublished: falseを設定できるようになりました。以下を追記しました。./scalfolds/post.mdpublished: true 環境 Windows Insider Preview Build 20180 WSL (Ubuntu) n 6.5.1 node v14.7.0 npm 6.14.7 hexo 5.0.0 構築 バックアップ $ mv blog _blog node の更新 $ n latest$ node --versionv14.7.0$ npm --version6.14.7$ n --version6.5.1 Hexo のインストール $ npm install hexo blog の初期化 $ npx hexo init blog$ cd blog$ npm...
Extraterm
https://extraterm.org/https://github.com/sedwards2009/extraterm Extraterm を使ってみました。シェル統合機能やカーソルモードが独特で良いです。 私の要件 Quake モード WSL 対応 背景の透過率設定 横分割 タブ テーマ マウスホイールで拡大縮小 できればローカライズhttps://github.com/sedwards2009/extraterm/issues/247 環境 Windows 10 Insider Preview Build 20180 Extraterm 0.52.0 WSL (Ubuntu) 構築 ダウンロード https://github.com/sedwards2009/extraterm/releases Assets からextraterm-setup-0.52.0.exe をダウンロード インストール extraterm-setup-0.52.0.exe を実行 シェル統合機能の構築 ダウンロード ...