Skip to content

Instantly share code, notes, and snippets.

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

Gokoro gokoro

🏠
Working from home
View GitHub Profile
@gokoro
gokoro / .eslintrc.cjs
Created June 22, 2023 11:33
eslint-plugin-perfectionist setting for typescript
/* eslint-env node */
module.exports = {
extends: ['plugin:perfectionist/recommended-natural'],
parser: '@typescript-eslint/parser',
root: true,
rules: {
'perfectionist/sort-objects': 'off',
},
}
@gokoro
gokoro / initial.sh
Created September 26, 2020 05:56
php7.4-fpm initialize
add-apt-repository ppa:ondrej/php
apt install php7.4-fpm php7.4-mbstring php7.4-gd php7.4-curl php7.4-xml php7.4-bcmath php7.4-mysql -y
{
"mon": [
{
"title": "The God of High School",
"eng_title": "The God of High School",
"kor_title": "갓 오브 하이 스쿨",
"ja_title": "ゴッド・オブ・ハイスクール",
"time": "23:30 AT-X"
}
],
@gokoro
gokoro / logger.js
Created August 12, 2020 14:26
Default logging setting for winston package
const winston = require('winston')
const config = require('../config')
const logger = winston.createLogger({
level: config.logLevel,
format: winston.format.combine(
winston.format.errors({ stack: true }),
winston.format.splat(),
winston.format.ms(),
{
"Monday": [
{
"title": "Chou Futsuu Toshi Kashiwa Densetsu R",
"eng_title": "The Legend of Super Normal City Kashiwa R",
"kor_title": "초 보통도시 카시와 전설",
"ja_title": "超普通都市カシワ伝説R",
"time": "21:55 ChibaTV"
},
{
{
"result": true,
"season": "Season 2, 2020",
"created_by": "Cryental",
"created_copyright": "https://cryental.dev",
"based_on": {
"source": "https://raw.githubusercontent.com/ohyongslck/annie/master/2020%402",
"english_title": [
"MyAnimeList",
"AniDB",
@gokoro
gokoro / keybase
Last active March 25, 2020 08:37
### Keybase proof
I hereby claim:
* I am gokoro on github.
* I am gokoro (https://keybase.io/gokoro) on keybase.
* I have a public key ASAUp9y7UUhQz_r5kpdlt9hLujs3DrT5n_Vlp_4yZ2Hh0Ao
To claim this, I am signing this object:
{
"sun": [
{
"title": "Healin` Good Precure",
"time": "08:30 EX"
},
{
"title": "Kiratto Pri-chan",
"time": "10:00 TX"
},