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
ORACLE_LOGON=${ORACLE_LOGON:-scott/P@ssword} | |
#ORACLE_LOGON=${ORACLE_LOGON:-scott/\"P@ssword\"} | |
ORACLE_HOST=test.example.com:1521 | |
ORACLE_SERVICE=pdb1 | |
sqlplus ${ORACLE_LOGON}@${ORACLE_HOST}/${ORACLE_SERVICE} |
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
$ ls -1 ${PATH//:/ } 2>/dev/null | grep -E 'c$' | sort -u | |
abrt-action-analyze-c | |
ac | |
ansible-doc | |
bc | |
cc | |
cgexec | |
chronyc | |
dc | |
dmraid.static |
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
Found one Java-level deadlock: | |
============================= | |
"Handling GET /jenkins/ from 172.31.104.209 : RequestHandlerThread[#64] View/index.jelly View/sidepanel.jelly": | |
waiting to lock monitor 0x00007f5a7557beb8 (object 0x00000000ca9fdc48, a org.jenkinsci.plugins.workflow.job.WorkflowRun), | |
which is held by "WorkflowRun.copyLogs [#2] (HOGEHOGE_JOB #60940)" | |
"WorkflowRun.copyLogs [#2] (HOGEHOGE_JOB #60940)": | |
waiting to lock monitor 0x00007f5a74a33bc8 (object 0x00000000ca9fdd98, a org.jenkinsci.plugins.workflow.cps.CpsFlowExecution), | |
which is held by "Running CpsFlowExecution[Owner[HOGEHOGE_JOB/60940:HOGEHOGE_JOB #60940]]" | |
"Running CpsFlowExecution[Owner[HOGEHOGE_JOB/60940:HOGEHOGE_JOB #60940]]": | |
waiting to lock monitor 0x00007f5a7557beb8 (object 0x00000000ca9fdc48, a org.jenkinsci.plugins.workflow.job.WorkflowRun), |
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
" blockdiag | |
autocmd BufRead,BufNewFile *.diag | |
\ let s:line1 = getline(1) | | |
\ if s:line1 =~ '\<diagram\|blockdiag\>\s*{' | | |
\ set filetype=blockdiag | | |
\ elseif s:line1 =~ '\<seqdiag\>\s*{' | | |
\ set filetype=seqdiag | | |
\ elseif s:line1 =~ '\<actdiag\>\s*{' | | |
\ set filetype=actdiag | | |
\ elseif s:line1 =~ '\<nwdiag\>\s*{' | |
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
@@ -1,7 +1,8 @@ | |
[Unit] | |
Description=Docker Application Container Engine | |
Documentation=https://docs.docker.com | |
-After=network.target firewalld.service | |
+After=network-online.target firewalld.service | |
+Wants=network-online.target | |
[Service] | |
Type=notify |
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
echo -n 1989-01-0{7,8} $(date +%Y-%m-%d) | xargs -d\ -I@ echo -e "set pages 0 feedback off\nselect to_char(to_date('@', 'YYYY-MM-DD'), 'EEYY\"年 \"', 'nls_calendar=''Japanese Imperial''') || '@' from dual;" | NLS_LANG=American_America.AL32UTF8 sqlplus -S / as sysdba |
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
EDITOR='patch -p2' brew edit emacs <<EOM | |
--- a/Formula/emacs.rb | |
+++ b/Formula/emacs.rb | |
@@ -37,6 +37,10 @@ class Emacs < Formula | |
depends_on "imagemagick@6" => :optional | |
depends_on "mailutils" => :optional | |
+ def patches | |
+ "https://gist.github.com/takaxp/3314a153f6d02d82ef1833638d338ecf/raw/156aaa50dc028ebb731521abaf423e751fd080de/emacs-25.2-inline.patch" | |
+ end |
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
2017-09-14 14:48:12.251 +0900 [ERROR] (embulk-output-executor-1): LEAK: ByteBuf.release() was not called before it's garbage-collected. See http://netty.io/wiki/reference-counted-objects.html for more information. | |
Recent access records: 0 | |
Created at: | |
io.netty.util.ResourceLeakDetector.track(ResourceLeakDetector.java:229) | |
io.netty.buffer.PooledByteBufAllocator.newHeapBuffer(PooledByteBufAllocator.java:286) | |
io.netty.buffer.AbstractByteBufAllocator.heapBuffer(AbstractByteBufAllocator.java:158) | |
io.netty.buffer.AbstractByteBufAllocator.heapBuffer(AbstractByteBufAllocator.java:149) | |
io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:107) | |
org.embulk.exec.PooledBufferAllocator.allocate(PooledBufferAllocator.java:37) | |
org.embulk.spi.PageBuilder.newBuffer(PageBuilder.java:51) |
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
2017-09-04 14:08:27.580 +0900: Embulk v0.8.31 | |
2017-09-04 14:08:37.276 +0900 [INFO] (0001:transaction): Loaded plugin embulk-output-elasticsearch (0.4.4) | |
2017-09-04 14:08:37.363 +0900 [INFO] (0001:transaction): Loaded plugin embulk-filter-column (0.7.1) | |
2017-09-04 14:08:37.407 +0900 [INFO] (0001:transaction): Loaded plugin embulk-filter-woothee (0.3.0) | |
2017-09-04 14:08:37.459 +0900 [INFO] (0001:transaction): Loaded plugin embulk-filter-insert (1.1.1) | |
2017-09-04 14:08:37.516 +0900 [INFO] (0001:transaction): Loaded plugin embulk-filter-eval (0.1.0) | |
2017-09-04 14:08:37.587 +0900 [INFO] (0001:transaction): Loaded plugin embulk-decoder-commons-compress (0.4.1) | |
2017-09-04 14:08:37.620 +0900 [INFO] (0001:transaction): Loaded plugin embulk-parser-apache-custom-log (0.4.0) | |
2017-09-04 14:08:37.673 +0900 [INFO] (0001:transaction): Listing local files at directory '/home/hogehoge/work/tmp' filtering filename by prefix 'embulk_run_20170904_140826_hogehoge1' | |
2017-09-04 14:08:37.675 +0900 [INFO] (0001:transaction): "follow_s |
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
curl -s 'localhost:9200/.kibana/_search' -d@- <<EOM | jq '.hits.hits[0]._source.panelsJSON | fromjson | .[].id' | |
{ | |
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"match" : { | |
"_type" : "dashboard" | |
} | |
}, |
NewerOlder