Skip to content

Instantly share code, notes, and snippets.

View WakuwakuP's full-sized avatar
😇

WakuwakuP WakuwakuP

😇
View GitHub Profile

XIV Splatoon Setting

#!/bin/sh
tmux new-window -n $1
tmux send-keys -t:$1 "ssh $1" C-m
@WakuwakuP
WakuwakuP / synology_create_playlist.json
Last active July 9, 2019 03:27
synology create playlist
[
{
"id": "c1b03a81.7ccb98",
"type": "subflow",
"name": "Subflow 2",
"info": "",
"in": [
{
"x": 60,
"y": 80,
@WakuwakuP
WakuwakuP / multipart-post.js
Last active April 22, 2019 10:02
分割送信的何か
const file = File;
const filename = file.name; // ファイル名
const allSize = file.size; // ファイルサイズ
const partSize = 1024 * 1024 * 100; // 100MB
// 送信開始処理
axios.post('/upload/start', {
filename: file.name,
@WakuwakuP
WakuwakuP / MacroServiceProvider.php
Created January 17, 2019 11:40
`Illuminate\Database\Eloquent\Builder` に `withExists()` を追加するサービスプロバイダ
<?php
namespace App\Providers;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;
/**

Keybase proof

I hereby claim:

  • I am WakuwakuP on github.
  • I am wakuwaku (https://keybase.io/wakuwaku) on keybase.
  • I have a public key whose fingerprint is 339B A29A D11F E29A 4E5A D8B6 D607 7D4B 10C5 7FA3

To claim this, I am signing this object: