Skip to content

Instantly share code, notes, and snippets.

View appare45's full-sized avatar
:octocat:

Takaharu Nakamura appare45

:octocat:
View GitHub Profile
#import "@preview/cetz:0.2.0"
#let proof(root) = {
cetz.canvas({
import cetz.draw: *
let min(..a) = {
let a = a.pos().filter(v => v != none)
return calc.min(..a)
}
@Ryoga-exe
Ryoga-exe / Makefile
Created November 27, 2023 11:21
make 名句
.SILENT:
.PHONY: 名句
名句:
echo "古池や\n蛙飛びこむ\n水の音"
@niw
niw / README.en.md
Last active September 3, 2024 17:01
How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!

NOTE: that this is current, 10/1/2021 state.

Running Windows 10 on ARM

  1. Install Xcode from App Store or install Command Line Tools on your Mac
@kawaz
kawaz / install-pam_tid-and-pam_reattach.sh
Last active September 20, 2024 06:18
macOSの sudo で TouchID が使えるようにする(tmux内の利用も対応)
#!/bin/bash
# Qiita記事 https://qiita.com/kawaz/items/0593163c1c5538a34f6f
set -e
set -o pipefail
# pam_tidの存在チェック(間違えてLinux環境などで実行されたら中断する)
[[ -f /usr/lib/pam/pam_tid.so.2 ]] || exit 1
[[ "${OSTYPE:0:6}" == "darwin" ]] || exit 1
# /etc/pam.d/sudo の修正