I hereby claim:
- I am kurone-kito on github.
- I am kurone_kito (https://keybase.io/kurone_kito) on keybase.
- I have a public key ASDWJqIZRqUlaz3xvg0NMErFxap5gwfMSqyg5obNmxr5RAo
To claim this, I am signing this object:
using UnityEngine; | |
public class CubeBehavior : MonoBehaviour | |
{ | |
const float threshold = 1f; | |
private readonly Quaternion quaternion = Quaternion.AngleAxis(90, Vector3.down); | |
public Vector3 direction = Vector3.forward * 0.1f; | |
// Update is called once per frame |
const https = require('https'); | |
const ifttt = event => `https://maker.ifttt.com/trigger/${event}/with/key/${process.env.IFTTT_WEBHOOK_KEY}`; | |
exports.handler = async (event) => { | |
const time = new Date(); | |
const valid = time.getHours() >= 18; | |
const eventId = valid ? 'night' : 'other'; | |
await new Promise(r => https.get(ifttt(eventId), r)); | |
const response = { statusCode: 200, body: eventId }; |
I hereby claim:
To claim this, I am signing this object:
; 十字キー上:ホイール上 | |
; 十字キー下:ホイール下 | |
; 十字キー左:テンキーのページダウン | |
; 十字キー右: テンキーの左 | |
; XYABボタン:キーボードの上下左右 | |
; L3: テンキーのEnd | |
; R3: テンキーの下 | |
NumpadPgDn::PgUp | |
NumpadLeft::PgDn |
$now = Get-Date -Format "yyyyMMdd_HHmmss" | |
$target = "C:\Program Files\Docker\Docker\resources\MobyLinux.ps1" | |
Copy-Item $target ("{0}.{1}" -f $target, $now) | |
$data = Get-Content $target | ForEach-Object { $_ -replace "-ComputerName localhost", "" } | |
$data | Out-File $target |
#!/bin/sh | |
mas upgrade | |
brew update | |
brew upgrade | |
npm update -g | |
npm upgrade -g | |
yarn global upgrade | |
brew cask upgrade | |
brew cleanup |
export interface PiyoInstance { | |
/** | |
* Thru an argument. | |
* @param x argument. | |
* @template T argument type. | |
*/ | |
instanceMethod<T>(x: T): T; | |
} | |
/** 🐥 */ |
const getInitials = (src: string[], length = 1) => | |
Array.from(new Set(src.map(v => v.substring(0, length)))); | |
export default (src: string[]) => | |
getInitials(src).map(initial => { | |
const list = src.filter(v => v.match(`^${initial}`)); | |
const rec = (prev: string, length = 2): string => { | |
const [word, ...{ length: l }] = getInitials(list, length); | |
return l || list[0].length < length ? prev : rec(word, length + 1); |
私、黒音キトのグラフィグ制作キットを公開します。
CC-BY-NC ライセンスで無料頒布します。 出典明記・非営利目的 の二点だけ守っていただければ、改変・転載・再頒布など一切自由です。
折り線のあるバージョンとないバージョンがあります。折り線が気になる方は使い分けてみてください。
#!/bin/sh | |
# vim: set ft=sh: | |
set -eu | |
HOST=minecraft-scalacube.example.com | |
USER=backup | |
PORT=2017 | |
SRC_ZIP=$(ssh -p ${PORT} ${USER}@${HOST} 'ls -t minecraft-2* | head -1') | |
DST_ZIP=$(mktemp -u).zip |