Skip to content

Instantly share code, notes, and snippets.

View higebu's full-sized avatar
🏠
Working from home

Yuya Kusakabe higebu

🏠
Working from home
View GitHub Profile
@higebu
higebu / download.sh
Created July 1, 2020 03:54
Download and unzip 3GPP documents
#!/bin/bash
wget -mc -nH --cut-dirs=2 ftp://ftp.3gpp.org/Specs/latest/Rel-16
@higebu
higebu / sacloud_startup_script_vault_ssh_ca.sh
Last active April 22, 2020 14:16
sacloud startup script for Vault SSH CA
#!/bin/bash
# @sacloud-name "enable vault ssh login and create debian user"
# @sacloud-once
# @sacloud-desc Vault SSH CAを使ったSSHログインを有効にします。
# @sacloud-desc https://www.vaultproject.io/docs/secrets/ssh/signed-ssh-certificates
# @sacloud-desc debianユーザも作成されるのでdebianユーザでログインできるようになります
# @sacloud-require-archive distro-debian
@higebu
higebu / make.log
Created April 21, 2020 06:49
wireguard-dkms install error on debian testing
DKMS make.log for wireguard-1.0.20200401 for kernel 5.5.0-1-amd64 (x86_64)
Tue 21 Apr 2020 03:44:55 PM JST
make: Entering directory '/usr/src/linux-headers-5.5.0-1-amd64'
AR /var/lib/dkms/wireguard/1.0.20200401/build/built-in.a
CC [M] /var/lib/dkms/wireguard/1.0.20200401/build/main.o
CC [M] /var/lib/dkms/wireguard/1.0.20200401/build/device.o
CC [M] /var/lib/dkms/wireguard/1.0.20200401/build/peer.o
CC [M] /var/lib/dkms/wireguard/1.0.20200401/build/noise.o
In file included from <command-line>:
/var/lib/dkms/wireguard/1.0.20200401/build/compat/compat.h:959:20: error: static declaration of ‘icmp_ndo_send’ follows non-static declaration
@higebu
higebu / test.yml
Last active January 7, 2020 08:45
GitHub Actions Workflow for Go and Cassandra
name: test
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
services:
cassandra:
@higebu
higebu / keybase.md
Created December 15, 2019 11:54
keybase.md

Keybase proof

I hereby claim:

  • I am higebu on github.
  • I am higebu (https://keybase.io/higebu) on keybase.
  • I have a public key ASAufDQLMRPBijwPol_uCgRqadMz49OSJTBTlblpLEejuQo

To claim this, I am signing this object:

@higebu
higebu / load_elf.go
Created September 2, 2019 08:33
load elf test
package main
import (
"flag"
"fmt"
"os"
"github.com/newtools/ebpf"
)
@higebu
higebu / .gitconfig
Created July 18, 2019 14:42
git config
[alias]
worktime = "!f() { \
git log --author=\"$1\" --date=iso | perl -nalE 'if (/^Date:\\s+[\\d-]{10}\\s(\\d{2})/) { say $1+0 }' | sort | uniq -c|perl -MList::Util=max -nalE '$h{$F[1]} = $F[0]; }{ $m = max values %h; foreach (0..23) { $h{$_} = 0 if not exists $h{$_} } foreach (sort {$a <=> $b } keys %h) { say sprintf \"%02d - %4d %s\", $_, $h{$_}, \"*\"x ($h{$_} / $m * 50); }'; \
}; f"
@higebu
higebu / eclipse.jdt.ls_with_vim.md
Last active April 25, 2024 16:37
eclipse.jdt.ls with Vim