- H4/11/23 ~ (28歳)
- 茨城県北茨城市出身(現在実家に疎開中)
- ゲーム
- ポケモン対戦(最高ランクマッチ3桁位)
- カードゲーム
| PATH_add "$RBENV_ROOT/versions/$(cat .ruby-version)/bin" | |
| PATH_add vendor/bundle/bin | |
| PATH_add bin |
| import { Image } from './image' | |
| import { | |
| IsInt, | |
| IsNotEmpty, | |
| validateSync, | |
| ValidationError | |
| } from 'class-validator' | |
| export class ImageEntity implements Image { | |
| @IsNotEmpty() |
| // To parse this data: | |
| // | |
| // import { Convert, Coordinate } from "./file"; | |
| // | |
| // const coordinate = Convert.toCoordinate(json); | |
| // | |
| // These functions will throw an error if the JSON doesn't | |
| // match the expected interface, even if the JSON is valid. | |
| /** |
| import AWS from 'aws-sdk'; | |
| import Stream from 'stream'; | |
| import dayjs from 'dayjs'; | |
| const { LOG_BUCKET } = process.env; | |
| if (!LOG_BUCKET) { | |
| throw new Error('$LOG_BUCKET is not defined.'); | |
| } | |
| const startedAt = dayjs().format('YYYY-MM-DD-HH-mm-ss'); |
| const statuses = await searchParams | |
| .reduce(async (statusesPromise: Promise<Status[]>, searchParam): Promise< | |
| Status[] | |
| > => { | |
| const statuses = await statusesPromise; | |
| const nextStatuses = await searchTweet( | |
| client, | |
| searchParam, | |
| sinceId | |
| ).then(ss => |
| { | |
| "compilerOptions": { | |
| "target": "es2018", | |
| "module": "commonjs", | |
| "declaration": true, | |
| "declarationMap": true, | |
| "sourceMap": true, | |
| "outDir": "./dist", | |
| "rootDir": "./src", | |
| "strict": true, |
| { | |
| "singleQuote": true, | |
| "semi": false | |
| } |
| if has("nvim") | |
| if system('uname -a | grep microsoft') != '' | |
| let g:clipboard = { | |
| \ 'name': 'myClipboard', | |
| \ 'copy': { | |
| \ '+': 'win32yank.exe -i', | |
| \ '*': 'win32yank.exe -i', | |
| \ }, | |
| \ 'paste': { | |
| \ '+': 'win32yank.exe -o', |
| #!/usr/bin/env ruby | |
| branch_name = `git symbolic-ref --short HEAD`.chomp | |
| git_dir = `git rev-parse --show-toplevel`.chomp | |
| if branch_name.match /master/ | |
| system "mv #{git_dir}/node_modules #{git_dir}/node_modules.feat" | |
| system "mv #{git_dir}/node_modules.master #{git_dir}/node_modules" | |
| puts 'node_modules moved' | |
| elsif branch_name.match /^feature/ |