brew install gnupg pinentry-mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tmux 3.3a | |
# Use vim keybindings in copy mode | |
setw -g mode-keys vi | |
# enable mouse | |
set-option -g mouse on | |
set-option -g history-limit 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module sandbox.example.com/crl-ocsp | |
go 1.21 | |
toolchain go1.21.0 | |
require golang.org/x/crypto v0.12.0 |
I hereby claim:
- I am ww24 on github.
- I am ww24 (https://keybase.io/ww24) on keybase.
- I have a public key ASAx8jLMou6MhnvGSVX3F0ADFQpK6UyVr_Lb9DmPGtVoFQo
To claim this, I am signing this object:
Zenn に記事として投稿 https://zenn.dev/ww24/articles/7e576d6f01a366
or
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) | |
{ | |
int a, b; | |
scanf("%d", &a); | |
scanf("%d", &b); | |
printf("gcd(%d, %d) = %d\n", a, b, gcd(a, b)); | |
printf("lcm(%d, %d) = %d\n", a, b, lcm(a, b)); | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: vpnclient | |
# Required-Start: $remote_fs $local_fs $network $syslog | |
# Required-Stop: $remote_fs $local_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: SoftEther VPN Client | |
# Description: SoftEther VPN Client | |
### END INIT INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# alias for git | |
alias git-bd='git branch -d $(git branch | while read l; do if [[ $l != \** ]] echo $l; done | peco)' | |
alias git-co='git checkout $(git branch | while read l; do if [[ $l != \** ]] echo $l; done | peco)' | |
alias git-fp='git push -u origin $(git symbolic-ref --short HEAD)' | |
# alias for docker | |
alias docker-rm-all='docker rm $(docker ps -q -f status=exited)' | |
alias docker-rmi-all='docker rmi $(docker images -q)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ lsusb | grep VidzMedia | |
Bus 001 Device 006: ID 3275:0080 VidzMedia Pte Ltd | |
$ ls /dev/dvb | |
adapter0 |
NewerOlder