$ cat package.json
{
"dependencies": {
"config": "^3.3.6"
}
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(llnode) v8 bt | |
* thread #1: tid = 1190, 0x00001d21df54a4b0, name = 'node', stop reason = signal SIGSTOP | |
* frame #0: 0x00001d21df54a4b0 (anonymous)(this=0x21d2a68404b1:<undefined>) at /app/dist/bundle.js:7:243 fn=0x000030184bba2ab1 | |
frame #1: 0x000000000138cafc <adaptor> | |
frame #2: 0x00000000013934a4 (this=0x30184bba2d71:<Object: s>, 0x3735bb9eab21:<Object: IncomingMessage>, 0x3735bb9ebce9:<Object: ServerResponse>, 0x3735bb9edc71:<function: s at /app/dist/bundle.js:2:57364>) at /app/dist/bundle.js:2:56122 fn=0x00001f7fec213249 | |
frame #3: 0x00000000013934a4 s(this=0x21d2a68404b1:<undefined>, 0x21d2a68404b1:<undefined>) at /app/dist/bundle.js:2:57364 fn=0x00003735bb9edc71 | |
frame #4: 0x00000000013934a4 (this=0x30184bba2ae9:<Object: p>, 0x3735bb9eab21:<Object: IncomingMessage>, 0x3735bb9ebce9:<Object: ServerResponse>, 0x3735bb9ec2e9:<function: w at /app/dist/bundle.js:2:52407>) at /app/dist/bundle.js:2:57215 fn=0x000003c67bd9e051 | |
frame #5: 0x00000000013934a4 (this=0x30184bba2be1:<Object: s>, 0x3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const f = () => { | |
const arr = new Array(); | |
for (let i = 0; i < 1000000; i++) { | |
arr.push((Math.random() * 100) | 0); | |
} | |
let sum = 0; | |
for (let i = 0; i < arr.length; i++) { | |
const value = arr[i]; | |
sum += value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: argoproj.io/v1alpha1 | |
kind: Rollout | |
metadata: | |
name: app1 | |
labels: | |
project: app1 | |
spec: | |
replicas: 1 | |
selector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# JMH 1.17.4 (released 5 days ago) | |
# VM version: JDK 1.8.0_111, VM 25.111-b14 | |
# VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/bin/java | |
# VM options: <none> | |
# Warmup: 10 iterations, 1 s each | |
# Measurement: 5 iterations, 1 s each | |
# Timeout: 10 min per iteration | |
# Threads: 1 thread, will synchronize iterations | |
# Benchmark mode: Throughput, ops/time | |
# Benchmark: me.geso.avans.jackson.JacksonJsonParamReaderBenchmark.bench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# JavaEE7 | |
http://www.slideshare.net/OracleMiddleJP/java-ee-7-detail/6 | |
# Maven | |
http://www.techscore.com/tech/Java/ApacheJakarta/Maven/3/ | |
# Thymeleaf | |
http://www.thymeleaf.org/doc/html/Using-Thymeleaf.html | |
http://bufferings.hatenablog.com/entry/2013/04/04/013817 | |
http://tech.nulab.co.jp/2012/02/thymeleaf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define contentdir /var/www | |
%define suexec_caller apache | |
%define mmn 20051115 | |
%define vstring Scientific Linux | |
%define mpms worker event | |
Summary: Apache HTTP Server | |
Name: httpd | |
Version: 2.2.15 | |
Release: 28.sl6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
■デバイス・パーティションを確認 | |
$ cat /proc/partitions | |
■パーティション作成 | |
$ sudo fdisk /dev/xvdg | |
$ sudo fdisk /dev/xvdh | |
$ sudo fdisk /dev/xvdi | |
$ sudo fdisk /dev/xvdj | |
$ sudo fdisk /dev/xvdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% diff fluent_aggregate_rewrite.conf fluent_aggregate_rewrite-tag-filter.conf | |
6,23c6,11 | |
< type rewrite | |
< add_prefix rewrited | |
< <rule> | |
< key path | |
< pattern \.(gif|jpe?g|png|ico|css|js)$ | |
< ignore true | |
< </rule> | |
< <rule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
type tail | |
path /var/log/httpd/access_log | |
pos_file /var/lib/fluent/access_log.pos | |
# apacheのログフォーマットは以下 (デフォルトの末尾に%Dを付けただけ) | |
# LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" combined | |
format /^(?<host>[^ ]*) [^ ]* (?<user>[^ ]*) \[(?<time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^ ]*) +\S*)?" (?<status>[^ ]*) (?<size>[^ ]*)(?: "(?<referer>[^\"]*)" "(?<agent>[^\"]*)" (?<response>[^ ]*))?$/ | |
time_format %d/%b/%Y:%H:%M:%S %z |
NewerOlder