Skip to content

Instantly share code, notes, and snippets.

@hideki0403
hideki0403 / get-docker.sh
Created January 8, 2023 08:42 — forked from ta264/get-docker.sh
Install docker on arm64 synology
#!/bin/bash
set -e
ARCH=aarch64
DOCKER_VERSION=20.10.22
DOCKER_DIR=/volume1/@docker
echo "Downloading docker $DOCKER_VERSION-$ARCH"
curl "https://download.docker.com/linux/static/stable/$ARCH/docker-$DOCKER_VERSION.tgz" | tar -xz -C /usr/local/bin --strip-components=1
@hideki0403
hideki0403 / bash-custom.omp.json
Last active May 12, 2023 04:29
Oh My Posh: bash style theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"console_title_template": "{{ .UserName }}@{{ .HostName }}:{{ .PWD }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
@hideki0403
hideki0403 / server.js
Last active December 17, 2022 09:33
Wake on LAN
const express = require('express')
const path = require('path')
const app = express()
const port = 3000
const password = '123456'
const default_mac = '00:AA:11:BB:22:CC'
const wake_on_lan = {
ready: false,

Keybase proof

I hereby claim:

  • I am hideki0403 on github.
  • I am hideki0403 (https://keybase.io/hideki0403) on keybase.
  • I have a public key ASBQPQD-GKtxHvpMvpQ_B3cQGj-TaHnDFovydEYxlNwmAQo

To claim this, I am signing this object: