2025年は趣味開発環境の変化が大きかったので備忘録として残しておく。
前提:
- 趣味開発はほぼ毎日している
- 開発するのはコマンドラインツールやライブラリが多い
- 言語はほぼRust
- 開発はほぼAndroid上
| # Pre installtion notice: | |
| # - The iso image can be downloaed from: https://www.android-x86.org/download.html | |
| # - Linux Zen is recommended. See: https://riq0h.jp/2020/12/07/210053/ | |
| # - Also see: https://wiki.archlinux.org/title/QEMU | |
| sudo pacman -S qemu-full | |
| sudo pacman -S qemu-desktop | |
| qemu-img create -f raw android 16G |
| /* | |
| これは京都産業大学の情報理工学実験レポートのTypstテンプレートです。基本的には2024年度のWordテンプレートと同じ構造になっています。 | |
| このTypstテンプレートは @minimarimo3@misskey.io によって作成され、 WTFPL(Do What The Fuck You Want To Public License) に従って配布されています。連絡は @minimarimo3@misskey.io (Misskey) か @katayaura (X) にどうぞ。 | |
| */ | |
| #let TODOCounter = counter("TODOCounter") | |
| #let TODO = (con) => { | |
| TODOCounter.step() | |
| text(fill: red)[TODO #context TODOCounter.display(): #con] | |
| } |
| pid /run/nginx/nginx.pid; | |
| error_log stderr; | |
| daemon off; | |
| events { | |
| } | |
| http { | |
| proxy_cache_path /var/cache/nginx/immich_revprox keys_zone=immich_revprox:10m levels=1:2 use_temp_path=off inactive=1d max_size=1g; | |
| server { | |
| listen 0.0.0.0:443 ssl ; |
| " Quick 'n dirty Vim script for Neovim that removes all statuslines and creates | |
| " a global statusline acting as a fake window separator. | |
| " Also sets 'cmdheight' to 0. | |
| hi! link StatusLine WinSeparator | |
| hi! link StatusLineNC WinSeparator | |
| func! Stl() abort | |
| let hc = &ambw == 'single' ? '─' : '-' | |
| let uc = &ambw == 'single' ? '┴' : '-' |
| ref from this link | |
| https://www.how2shout.com/linux/how-to-install-matlab-in-ubuntu-20-04/ | |
| install the unzip pkg | |
| $ sudo apt-get install unzip -y | |
| create a folder for extracting the matlab installer files | |
| $ mkdir matlab_installer | |
| extract file to the created folder |
| #!/bin/sh | |
| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| # Max length of the OSC 52 sequence. Sequences longer than this will not be | |
| # sent to the terminal. | |
| OSC_52_MAX_SEQUENCE="100000" | |
| # Write an error message and exit. | |
| # Usage: <message> | |
| die() { |
記事の執筆には、Markdown形式を利用してください。 Markdownにはさまざまな流派がありますが、GitHub Flavored Markdown(https://github.github.com/gfm/ )をベースとした書式を採用します。
書籍を執筆するための形式として考えると、Markdownには不足している機能が多々あります。 しかし、次のような利点があるので、Markdownを採用することにします。
| #!/bin/bash | |
| # FNA Update Script | |
| # Written by Ethan "flibitijibibo" Lee | |
| # | |
| # Released under public domain. | |
| # No warranty implied; use at your own risk. | |
| # | |
| # Run this script in the game's executable folder. | |
| # | |
| # This script requires the following programs: |