Skip to content

Instantly share code, notes, and snippets.

Avatar
🎉
Happy

Taka ganezasan

🎉
Happy
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am ganezasan on github.
  • I am takayukiito (https://keybase.io/takayukiito) on keybase.
  • I have a public key ASASGZrAP6UC-8-gmrUzrGDnEGVi5x8FGqqp2fQm6DzeKgo

To claim this, I am signing this object:

@ganezasan
ganezasan / debug.md
Created August 23, 2020 14:08
clean-up-nomad-client
View debug.md

enable drain

$ nomad node-drain -self -enable

manually remove nomad client data file

!#/bin/bash
export NOMAD_DATA_ROOT=/opt/nomad
for ALLOC in `ls -d $NOMAD_DATA_ROOT/alloc/*`; do 
 for JOB in `ls ${ALLOC} | grep -v alloc`; do 
@ganezasan
ganezasan / webpack.config.js
Created June 3, 2020 07:58
Select the parallel setting for fixing the OOM issue in webpack4
View webpack.config.js
const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
optimization: {
minimizer: [
new TerserPlugin({
parallel: 2,
}),
],
}
@ganezasan
ganezasan / config.yml
Created January 16, 2020 02:17
shallow clone example
View config.yml
# copy from this orb
# https://circleci.com/orbs/registry/orb/guitarrapc/git-shallow-clone
version: 2.1
commands:
checkout_shallow:
description: checkout with git shallow clone. Support Alpine, Ubuntu, Debian and
others.
parameters:
depth:
@ganezasan
ganezasan / LICENSE.md
Last active December 23, 2017 21:25 — forked from tommaybe/LICENSE.md
Day / Hour Heatmap in v4
View LICENSE.md

Copyright (c) 2016, Tom May

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTH

@ganezasan
ganezasan / .block
Last active October 5, 2016 13:11 — forked from mbostock/.block
Bubble Chart in v4
View .block
license: gpl-3.0
@ganezasan
ganezasan / .block
Last active October 4, 2016 14:47
Treemap in v4
View .block
license: gpl-3.0
@ganezasan
ganezasan / index.html
Last active August 29, 2015 14:07
NEND
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Nend</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1">
<link href="jquery.mobile.structure-1.4.3.min.css" type="text/css" rel="stylesheet">
<link href="jquery.mobile.icons.min.css" type="text/css" rel="stylesheet">
<link href="nend-jqm-theme.css" type="text/css" rel="stylesheet">
</head>
@ganezasan
ganezasan / index.html
Last active August 29, 2015 14:06
retweetnews
View index.html
<!DOCTYPE html>
<head>
<meta charset="utf-8">
</head>
<body>
<h1>ReTweetNews プライバシーポリシー</h1>
ユーザーについての個人情報を含む利用者情報の取扱いについて、以下のとおりプライバシーポリシー(以下「本ポリシー」といいます。)を定めます。
<h2>1. 収集する利用者情報及び収集方法</h2>