Skip to content

Instantly share code, notes, and snippets.

View kjuq's full-sized avatar

kjuq | クジュ | /ˈkuːdʒuː/ kjuq

  • Tokyo, Japan
  • 02:28 (UTC +09:00)
View GitHub Profile
@sile
sile / main.md
Last active February 22, 2026 08:14
2025年の趣味開発環境

2025年の趣味開発環境

2025年は趣味開発環境の変化が大きかったので備忘録として残しておく。

前提:

  • 趣味開発はほぼ毎日している
  • 開発するのはコマンドラインツールやライブラリが多い
  • 言語はほぼRust
  • 開発はほぼAndroid上
@acro5piano
acro5piano / main.sh
Last active December 23, 2025 06:41
Run android emulator on Arch Linux
# 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
@minimarimo3
minimarimo3 / ksu_Ilab203_template.typ
Last active June 25, 2025 08:39
京都産業大学 情報理工学実験レポートのTypstテンプレート(2024)
/*
これは京都産業大学の情報理工学実験レポートの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]
}
@aveexy
aveexy / nginx.conf
Last active December 27, 2025 15:35
immich nginx reverse proxy with base url (not a full/complete nginx config) base url is /immich (if you want something other, replace "/immich" with other path
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 ;
@seandewar
seandewar / global-winsep.vim
Created November 19, 2023 22:51
Remove all Neovim statuslines and add a window separator at the bottom of the screen.
" 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' ? '┴' : '-'
@gmp-prem
gmp-prem / installing matlab through command line
Created July 31, 2022 06:54
installing matlab through command line
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() {
@LambdaNote
LambdaNote / writing.md
Last active March 8, 2026 13:26
ラムダノートでの原稿の書き方

ラムダノートでの原稿の書き方

記事の執筆には、Markdown形式を利用してください。 Markdownにはさまざまな流派がありますが、GitHub Flavored Markdown(https://github.github.com/gfm/ )をベースとした書式を採用します。

書籍を執筆するための形式として考えると、Markdownには不足している機能が多々あります。 しかし、次のような利点があるので、Markdownを採用することにします。

  • 最低限の構造しかないので、見た目でごまかせる余地が少ない
  • 原稿を著者自身が再利用してもらいやすくしたい
@flibitijibibo
flibitijibibo / fnaUpdate.sh
Last active January 26, 2026 03:15
Use this to update a game's FNA installation!
#!/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: