実行条件にはプロセス監視以外にHTTP/TCPやシェルスクリプトで成否を設定することも可能
- Istio
- Linkerd
- Contour
- Ambassador
package main | |
import "fmt" | |
func main() { | |
for i := 0; i <= 100; i++ { | |
if i%15 == 0 { | |
fmt.Printf("FizzBuzz: %d\n", i) | |
} else if i%3 == 0 { | |
fmt.Printf("Fizz: %d\n", i) |
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger (doppelheathen@gmail.com) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
npm i -D eslint eslint-config-airbnb eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-import |
#!/bin/sh | |
PYVER=3.4.3 | |
DL_MECAB=/var/tmp | |
PROJECT=project | |
PROJECT_PATH=/var/work | |
PIP_PACKAGE=require_modules | |
set -e |
'use strict'; | |
let getUniqueArray = (str, delimiter) => { | |
let uniqueStore = new Set(); | |
str.split(delimiter).forEach(function(id) { | |
if (id === '' || id === null) { | |
return; | |
} | |
uniqueStore.add(id); | |
}); |
'use strict'; | |
let getUniqueArrayCreator = () => { | |
let store = new Set(); | |
return ({ | |
add: function(...array) { | |
if (!array) { | |
return; | |
} | |
array.forEach(function(item) { | |
if(!item && item === '') { |
// 基本 | |
// どのくらいの数をどの段階に分けるのか指定し、振り分ける | |
// 応用 | |
// 最低限ここまでは値が合ったほうが良い | |
// 最高でもここまでの値で良い | |
/* | |
下記を目指す。 | |
createParagraph(70, 5); |
var formatter = function(csv) { | |
var lines = csv.split("\n"); | |
var result = []; | |
for (var i=0; i<lines.length;i++) { | |
var array = str.split(","); | |
var lineResult = []; | |
for (var i=0; i<array.length; i++) { | |
var strVal = array[i]; |
{ | |
"extends": "eslint:recommended", | |
"env": { | |
"es6": true, | |
"node": true, | |
"browser": true, | |
}, | |
"ecmaFeatures": { | |
"jsx": true | |
}, |