tag:blogger.com,1999:blog-83009874673645587612024-03-13T22:59:48.502+07:00tAp's blogTaphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.comBlogger181125tag:blogger.com,1999:blog-8300987467364558761.post-52850004804496659142024-01-09T17:10:00.001+07:002024-01-09T17:10:41.035+07:00Collectd PostgreSQL Plugin<p>I couldn't find this link when searching with google</p><p><a href="https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresql">https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresql</a></p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-3293677151439919892023-06-01T10:44:00.000+07:002023-06-01T10:44:03.924+07:00Prepend line with line length with Linux command<p> <span style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;">awk '{printf "%2d| %s\n",length,$0}' filename</span></p><p><span style="font-size: x-small;">Credit: <a href="https://www.baeldung.com/linux/print-longest-lines-in-file#introduction-to-the-problem">https://www.baeldung.com/linux/print-longest-lines-in-file#introduction-to-the-problem</a></span></p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-86890381611984140772023-05-09T10:27:00.002+07:002023-05-09T10:27:08.629+07:00How to run packer on Apple Silicon machine to create an image targeting x86 server<p>Set this environment variable before running packer command. </p><p><span style="font-family: courier;">DOCKER_DEFAULT_PLATFORM=linux/amd64</span></p><p><br /></p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-66934225261663757142022-02-24T10:09:00.006+07:002022-02-24T10:09:48.449+07:00How to set memory for Solr on MacOS (installed via homebrew)<p>Modify this file <span style="font-family: courier;"><span style="font-size: 13px; font-variant-ligatures: no-common-ligatures;">/opt/homebrew/Cellar/solr/X.XX/</span><span style="font-size: 13px; font-variant-ligatures: no-common-ligatures;">homebrew.mxcl.solr.plist </span></span>to add these lines</p><p class="p1" style="font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span style="font-family: courier;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><key></span><span class="s2" style="font-variant-ligatures: no-common-ligatures;">EnvironmentVariables</span><span class="s1" style="font-variant-ligatures: no-common-ligatures;"></key></span></span></p><p class="p1" style="font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span style="font-family: courier;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"><dict></span></span></p><p class="p1" style="font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span style="font-family: courier;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"> <key></span><span class="s2" style="font-variant-ligatures: no-common-ligatures;">SOLR_JAVA_MEM</span><span class="s1" style="font-variant-ligatures: no-common-ligatures;"></key></span></span></p><p class="p1" style="font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span style="font-family: courier;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"> <string></span><span class="s2" style="font-variant-ligatures: no-common-ligatures;">-Xmx2g</span><span class="s1" style="font-variant-ligatures: no-common-ligatures;"></string></span></span></p><p class="p1" style="font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span style="font-family: courier;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;"></dict></span></span></p><p class="p1" style="font-family: Menlo; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><br /></p><p class="p1" style="font-family: Menlo; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span class="s1" style="color: #2eaebb; font-variant-ligatures: no-common-ligatures;"><span style="color: black; font-family: Times; font-size: medium; font-variant-ligatures: normal;">Save and restart Solr</span></span></p><p class="p1" style="font-family: Menlo; font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span class="s1" style="color: #2eaebb; font-variant-ligatures: no-common-ligatures;"><span style="color: black; font-family: Times; font-size: medium; font-variant-ligatures: normal;"><br /></span></span></p><p class="p1" style="font-size: 13px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span class="s1" style="color: #2eaebb; font-variant-ligatures: no-common-ligatures;"><span style="color: black; font-size: medium; font-variant-ligatures: normal;"><span style="font-family: courier;">$ brew services restart solr</span></span></span></p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-69872359302082761542021-12-02T19:49:00.003+07:002021-12-02T19:49:24.480+07:00How to set Java version for lein<p>To select specific Java (JDK) to use for leiningen, set environment variable JAVA_CMD</p><p>For example,</p><p><span style="font-family: courier;">JAVA_CMD=/path/to/bin/java lein repl</span></p><p>Credit: https://gist.github.com/camsaul/c982019fd915510677236cd4b720a583#gistcomment-3439527 </p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-67977264739704752562021-10-02T10:28:00.006+07:002021-10-02T10:28:31.631+07:00How to print the longest line in a file?<p><span style="font-family: courier;"><span style="color: var(--highlight-color); font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;">awk </span><span class="hljs-string" style="border: 0px; box-sizing: inherit; color: var(--highlight-variable); font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">'length > max_length { max_length = length; longest_line = <span class="hljs-subst" style="border: 0px; box-sizing: inherit; color: var(--highlight-color); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">$0</span> } END { print longest_line }'</span><span style="color: var(--highlight-color); font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"> ./text</span></span></p><p><span style="font-family: courier;"><span style="color: var(--highlight-color); font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;"><br /></span></span></p><p><span style="font-family: courier;"><span style="font-size: 13px;">From: <a href="https://unix.stackexchange.com/a/24510">https://unix.stackexchange.com/a/24510</a></span></span></p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-24271647023520586852021-09-24T10:31:00.002+07:002021-09-24T10:34:03.930+07:00Links related to how force macOS to use integrated/discrete graphics<p></p><ul style="text-align: left;"><li><a href="https://nathansnelgrove.com/how-to-force-your-macbook-pro-to-use-its-discrete-graphics-card-when-its-plugged-in/">How to Force Your MacBook Pro to Use Its Discrete Graphics Card When It’s Plugged In</a></li><li><a href="https://forums.macrumors.com/threads/good-gpu-switching-application-for-mpb-16.2220002/post-28149852">https://forums.macrumors.com/threads/good-gpu-switching-application-for-mpb-16.2220002/post-28149852</a></li></ul><div><br /></div><div>Copied from the above post in case the post is gone</div><div><br /></div><div><br /></div><div>sudo pmset -a gpuswitch 0</div><div><br /></div><div><div>-b when on battery</div><div>-c when on AC power</div><div>-a always</div><div><br /></div><div>0 iGPU only</div><div>1 dGPU only</div><div>2 automatic graphics switching</div><div><br /></div><div>To reset everything back to default:</div><div>sudo pmset -a gpuswitch 2</div></div><p></p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-48280414553458725672020-12-21T11:22:00.004+07:002020-12-21T11:24:17.376+07:00[PostgreSQL] How to check null in jsonb array<div style="text-align: left;"> Use <span style="font-family: courier;">jsonb_array_elements</span> to convert jsonb array to set (queriable similar to normal table) then we can use <span style="font-family: courier;">where x::text = 'null'</span> to match the null value.</div><div style="text-align: left;"><br />Examples:</div><div style="text-align: left;"><br /><span style="font-family: courier;">=> select x->'id' as id <br /></span><span style="font-family: courier;">from jsonb_array_elements(<br /></span><span style="font-family: courier;">'[{"id": 4, "val": [null,1,null]}, <br /></span><span style="font-family: courier;">{"id": 2, "val": [3]}]'::jsonb<br /></span><span style="font-family: courier;">) as x, <br /></span><span style="font-family: courier;">jsonb_array_elements(x->'val') as y <br /></span><span style="font-family: courier;">where y::text = 'null';<br /></span><span style="font-family: courier;"> id <br /></span><span style="font-family: courier;">----<br /></span><span style="font-family: courier;"> 4<br /></span><span style="font-family: courier;"> 4<br /></span><span style="font-family: courier;">(2 rows)</span><span style="font-family: courier;"><br /></span><span style="font-family: courier;"><br /></span><span style="font-family: courier;"><br /></span><span style="font-family: courier;">=> select x->'id' as id<br /></span><span style="font-family: courier;">from jsonb_array_elements(<br /></span><span style="font-family: courier;">'[{"id": 4, "val": [null,1,null]}, <br /></span><span style="font-family: courier;">{"id": 2, "val": [3]}]'::jsonb<br /></span><span style="font-family: courier;">) as x, <br /></span><span style="font-family: courier;">jsonb_array_elements(x->'val') as y <br /></span><span style="font-family: courier;">group by x->'id' <br /></span><span style="font-family: courier;">having count(x) filter (where y::text = 'null') > 1;<br /></span><span style="font-family: courier;"> id <br /></span><span style="font-family: courier;">----------<br /></span><span style="font-family: courier;"> 4<br /></span><span style="font-family: courier;">(1 row)</span></div><div style="text-align: left;"><span style="font-family: courier;"><br /></span></div><div style="text-align: left;"><span style="font-family: courier;"><br /></span></div><div style="text-align: left;"><span style="font-family: inherit; font-size: x-small;">Adapted from: <a href="https://dba.stackexchange.com/a/257799">https://dba.stackexchange.com/a/257799</a></span></div><p><span style="font-family: courier;"></span></p>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-17329990467427067402020-12-21T09:34:00.006+07:002020-12-21T11:22:37.726+07:00[PostgreSQL] How to check if there's a NULL value in array<div style="text-align: left;"><span style="font-family: courier;">WHERE array_position(array_column, NULL) IS NOT NULL</span> </div><div style="text-align: left;"><br /><span style="font-size: x-small;">Credit: <a href="https://stackoverflow.com/a/47984368/1032449">https://stackoverflow.com/a/47984368/1032449</a></span></div>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-10886667469967497922020-06-26T15:51:00.002+07:002020-06-26T15:51:42.427+07:00Some usages of jstat<span style="font-family: "Courier New", Courier, monospace;"><b>-gcutil</b><br /><br />$ jstat -gcutil <pid> <interval></interval></pid></span><br />
<span style="font-family: "Courier New", Courier, monospace;"><br /></span>
<span style="font-family: Times, "Times New Roman", serif;">This command shows utilization percentage of memory spaces of a java process.</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">S0: Survivor space 0</span><br />
<span style="font-family: Courier New, Courier, monospace;">S1</span><span style="font-family: "Courier New", Courier, monospace;">: Survivor space 1</span><br />
<span style="font-family: Courier New, Courier, monospace;">E</span><span style="font-family: "Courier New", Courier, monospace;">: Eden space</span><br />
<span style="font-family: Courier New, Courier, monospace;">O: Old-gen space</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Times, Times New Roman, serif;">GC activities</span><br />
<span style="font-family: Times, Times New Roman, serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">YGC: Young GC count</span><br />
<span style="font-family: Courier New, Courier, monospace;">YGCT: Time spent by Young GC </span><br />
<span style="font-family: Courier New, Courier, monospace;">FGC: Full GC count</span><br />
<span style="font-family: Courier New, Courier, monospace;">FGCT: Time spent by Full GC</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"><b>-gc</b></span><br />
<span style="font-family: Courier New, Courier, monospace;"><b><br /></b></span>
<span style="font-family: "Courier New", Courier, monospace;">$ jstat -gc <pid> <interval></interval></pid></span><br />
<span style="font-family: "Courier New", Courier, monospace;"><br /></span>
<span style="font-family: Times, Times New Roman, serif;">Find the current vm heap size by sum value under </span><span style="font-family: Courier New, Courier, monospace;">S0C, S01, EC, OC</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Times, Times New Roman, serif;">More at</span><span style="font-family: Courier New, Courier, monospace;"> </span><a href="https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jstat.html">https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jstat.html</a>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-84414845854447109152020-06-26T15:41:00.003+07:002020-06-26T15:41:39.453+07:00[Linux] Visualize parent - child process relationship<span style="font-family: Courier New, Courier, monospace;">$ ps -axf -o pid,ppid,tty,stat,cmd</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Times, Times New Roman, serif; font-size: x-small;">Credit: <a href="https://www.gmarik.info/blog/2012/orphan-vs-zombie-vs-daemon-processes/#process-table-example">Orphan vs Zombie vs Daemon processes</a></span>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-32782942481152263502020-05-28T15:18:00.002+07:002020-05-28T15:18:32.822+07:00[Linux] sum memory usage of processes with the same name (or sub process)Use <b>atop</b>. Press <b>p</b> and press <b>m</b>.<br />
<br />
<span style="font-size: x-small;">Credit: <a href="https://unix.stackexchange.com/a/209915">https://unix.stackexchange.com/a/209915</a></span>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com2tag:blogger.com,1999:blog-8300987467364558761.post-52701648989794332962019-07-25T14:47:00.004+07:002022-06-22T13:44:28.008+07:00Compress a file before scp from remote server to local<span style="font-family: "courier new" , "courier" , monospace;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace;">ssh user@host "tar -zcvf - -C /path/to/dir filename" | tar -zxvf -</span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span>
<span style="font-family: "times" , "times new roman" , serif;">Note: only use when it's much faster to transfer a compressed file to your machine than transferring the original one.</span><br />
<span style="font-family: "times" , "times new roman" , serif;"><br /></span>
<span style="font-family: "times" , "times new roman" , serif; font-size: x-small;"><b>Credits:</b></span><br />
<span style="font-family: "times" , "times new roman" , serif; font-size: x-small;"><a href="https://superuser.com/a/1354868">https://superuser.com/a/1354868</a></span><br />
<span style="font-family: "times" , "times new roman" , serif; font-size: x-small;"><a href="https://stackoverflow.com/a/3035446/1032449">https://stackoverflow.com/a/3035446/1032449</a></span>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-91602625374298983092018-09-28T14:13:00.003+07:002018-09-28T14:57:48.827+07:00[PostgreSQL] How to create read-only standby replica (follower)<a href="https://www.opsdash.com/blog/postgresql-streaming-replication-howto.html">This link</a> and <a href="https://wiki.postgresql.org/wiki/Streaming_Replication">this link</a> explain it really well and conciseTaphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-692035225339186252018-08-22T09:55:00.002+07:002018-08-22T09:55:30.718+07:00Useful commands for observe running JVM process<span style="font-family: Courier New, Courier, monospace;">$ jcmd</span><br />
<br />
List running processes<br />
<br />
<span style="font-family: Courier New, Courier, monospace;">$ jinfo <pid></pid></span><br />
<br />
Get details of a process<br />
<br />
<span style="font-family: Courier New, Courier, monospace;">$ jps -lvm</span><br />
<br />
List running processes with paramsTaphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-14084683779962912122018-04-25T13:00:00.004+07:002018-04-25T13:00:59.970+07:00Clojure how to get JVM options from inside application<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean))</span><br />
<br />
<span style="font-family: Times, Times New Roman, serif; font-size: x-small;">Credit: <a href="https://stackoverflow.com/a/1531999">How to get vm arguments from inside of java application?</a></span><br />
<div>
<br /></div>
Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-60152854971619834722017-12-09T06:53:00.000+07:002017-12-09T06:53:01.664+07:00Clojure has lesser typing error problems than the others well-known dynamic typing languagesGive these snippets a try.<br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;"><span style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;">// JS</span><span class="text_exposed_show" style="background-color: white; color: #1d2129; display: inline; font-size: 14px; letter-spacing: -0.12px;"><br />function foo () {<br /> bar(1)<br />}</span></span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;"><span style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;"># Ruby</span><br style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;" /><span style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;">def foo</span><br style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;" /><span style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;"> bar(1)</span><br style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;" /><span style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;">end</span></span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;"><span style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;">; Clojure</span></span>
<br />
<span style="background-color: white; color: #1d2129; font-family: "courier new" , "courier" , monospace; font-size: 14px; letter-spacing: -0.12px;">(defn foo [] </span><span style="background-color: white; color: #1d2129; font-size: 14px; letter-spacing: -0.12px;"><br /><span style="font-family: "courier new" , "courier" , monospace;"> (bar 1))</span></span></blockquote>
<br />
As you can see from the images below, Clojure doesn't allow you to refer to an undeclared symbol. I believe this takes away quite a bit of typing error issues.<br />
<br />
<a href="https://4.bp.blogspot.com/-uAzCFO8SoQg/WisjWmcNdmI/AAAAAAAABW4/JW9V1pArGeM1PFzeuHsR5YvKdfFBAu8XQCLcBGAs/s1600/Screen%2BShot%2B2017-12-09%2Bat%2B6.30.14%2BAM.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="117" data-original-width="272" height="136" src="https://4.bp.blogspot.com/-uAzCFO8SoQg/WisjWmcNdmI/AAAAAAAABW4/JW9V1pArGeM1PFzeuHsR5YvKdfFBAu8XQCLcBGAs/s320/Screen%2BShot%2B2017-12-09%2Bat%2B6.30.14%2BAM.png" width="320" /></a> <a href="https://2.bp.blogspot.com/-uJYUvDmEco4/WisjXufG1jI/AAAAAAAABW8/oamSmI7i9A0D6hicrbaMduQZ3-CBjkkkwCLcBGAs/s1600/Screen%2BShot%2B2017-12-09%2Bat%2B6.29.27%2BAM.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="226" data-original-width="450" height="160" src="https://2.bp.blogspot.com/-uJYUvDmEco4/WisjXufG1jI/AAAAAAAABW8/oamSmI7i9A0D6hicrbaMduQZ3-CBjkkkwCLcBGAs/s320/Screen%2BShot%2B2017-12-09%2Bat%2B6.29.27%2BAM.png" width="320" /></a><a href="https://3.bp.blogspot.com/-1vuq78RS0-I/WisjYjBIqJI/AAAAAAAABXA/DAu_53QhnTE-V3WIS3zHnQmgl3Yx4E0bACLcBGAs/s1600/Screen%2BShot%2B2017-12-09%2Bat%2B6.32.49%2BAM.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="248" data-original-width="740" height="107" src="https://3.bp.blogspot.com/-1vuq78RS0-I/WisjYjBIqJI/AAAAAAAABXA/DAu_53QhnTE-V3WIS3zHnQmgl3Yx4E0bACLcBGAs/s320/Screen%2BShot%2B2017-12-09%2Bat%2B6.32.49%2BAM.png" width="320" /></a>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-39085925966794952722017-07-12T21:36:00.000+07:002017-07-12T21:36:21.345+07:00Config number of file descriptors on LinuxCheck file descriptor limit for a process. Vary depending on owner of the process<br />
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">$ cat /proc/{process-id}/limits</span></blockquote>
Check current number of file descriptors of a process<br />
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">$ sudo ls /proc/{process-id}/fd | wc -l</span></blockquote>
Set file descriptors limit for a user at <b>/etc/security/limits.conf</b><br />
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">* soft nofile 64000<br />* hard nofile 64000<br />root soft nofile 64000<br />root hard nofile 64000</span></blockquote>
Check system file descriptor limit<br />
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">$ cat /proc/sys/fs/file-max</span></blockquote>
Check current number of system file descriptors<br />
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">$ cat /proc/sys/fs/file-nr </span></blockquote>
<br />
<span style="font-size: x-small;">Credits:</span><br />
<br />
<ul>
<li><a href="https://underyx.me/2015/05/18/raising-the-maximum-number-of-file-descriptors"><span style="font-size: x-small;">Raising the Maximum Number of File Descriptors (Open Files) on Ubuntu 14.04 Trusty</span></a></li>
<li><a href="https://unix.stackexchange.com/a/104405"><span style="font-size: x-small;">https://unix.stackexchange.com/a/104405</span></a></li>
</ul>
Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-46431364851184311672016-12-21T14:39:00.002+07:002016-12-21T14:39:44.210+07:00Increase video volume<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">$ ffmpeg -i input -vcodec copy -af "volume=20dB" output</span></blockquote>
<span style="font-size: x-small;">Credit: <a href="http://breakthebit.org/post/53570840966/how-to-increase-volume-in-a-video-without">How to increase volume in a video without re-encoding the video</a> </span>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-42875984642108855132016-12-21T14:37:00.003+07:002016-12-21T14:37:46.592+07:00Convert .ts to .mp4<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">$ ffmpeg -i input.ts -acodec copy -vcodec copy out.mp4</span></blockquote>
<span style="font-size: x-small;">Credit: <a href="http://stackoverflow.com/a/17916418/1032449">http://stackoverflow.com/a/17916418/1032449</a> </span>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-78774302158901705892016-09-01T17:14:00.001+07:002016-09-01T17:14:10.683+07:00[PostgreSQL] How to verify if replication catch up with master change[Run on master] Check master location with<br />
<blockquote class="tr_bq">
SELECT pg_current_xlog_location();</blockquote>
[Run on replica] Check replica replayed location with<br />
<blockquote class="tr_bq">
SELECT pg_last_xlog_replay_location();</blockquote>
[Run on master] Check replica status from master<br />
<blockquote class="tr_bq">
SELECT client_addr, state, sent_location, write_location, flush_location, replay_location FROM pg_stat_replication;</blockquote>
*write, flush, replay are status of replica<br />
<br />
[Run on replica] Check time from the latest reply<br />
<blockquote class="tr_bq">
SELECT now() - pg_last_xact_replay_timestamp() AS replication_delay;</blockquote>
<span style="font-size: xx-small;">Credit:</span><br />
<br />
<ul>
<li><span style="font-size: xx-small;">Bullet 12th of <a href="https://wiki.postgresql.org/wiki/Streaming_Replication">https://wiki.postgresql.org/wiki/Streaming_Replication</a></span></li>
<li><span style="font-size: xx-small;"><a href="https://www.niwi.nz/2013/02/16/replication-status-in-postgresql/">https://www.niwi.nz/2013/02/16/replication-status-in-postgresql/</a></span></li>
</ul>
Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-61512008335469469322016-08-24T17:23:00.002+07:002016-08-24T17:23:43.273+07:00Shorthand for Git upstream (tracked) remote branchIt's <span style="font-family: "courier new" , "courier" , monospace;">@{u}</span><span style="font-family: inherit;">.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">For example, if you are on master branch, and master branch is tracked with origin/master. You can use </span><span style="font-family: "courier new" , "courier" , monospace;">git merge @{u}</span><span style="font-family: inherit;"> instead of </span><span style="font-family: "courier new" , "courier" , monospace;">git merge origin/master</span><span style="font-family: inherit;">.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-size: x-small;">Reference: <a href="https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches#upstream-shorthand-k9UotnHmIO">https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches#upstream-shorthand-k9UotnHmIO</a></span>Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-6772628330517132652016-08-23T17:15:00.000+07:002016-08-23T17:15:05.242+07:00[Solved] An obscure error in case somebody else gets it tooI fixed an error below with `<b>lein clean`</b>. Hope this post can save your time as it used mine.<br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;">#error {</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :cause clojure.core$seq_QMARK___5848</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :via</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [{:type clojure.lang.Compiler$CompilerException</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :message java.lang.NoClassDefFoundError: clojure/core$seq_QMARK___5848, compiling:(clj_gatling/report.clj:1:1)</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :at [clojure.lang.Compiler load Compiler.java 7415]}</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> {:type java.lang.NoClassDefFoundError</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :message clojure/core$seq_QMARK___5848</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :at [clojure.core.cache$lru_cache_factory invokeStatic cache.clj 581]}</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> {:type java.lang.ClassNotFoundException</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :message clojure.core$seq_QMARK___5848</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :at [java.net.URLClassLoader findClass URLClassLoader.java 381]}]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> :trace</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [[java.net.URLClassLoader findClass URLClassLoader.java 381]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.ClassLoader loadClass ClassLoader.java 424]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [sun.misc.Launcher$AppClassLoader loadClass Launcher.java 331]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.ClassLoader loadClass ClassLoader.java 357]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.cache$lru_cache_factory invokeStatic cache.clj 581]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.memoize$lru$fn__2765 invoke memoize.clj 334]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.AFn applyToHelper AFn.java 160]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.AFn applyTo AFn.java 144]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.memoize$build_memoizer invokeStatic memoize.clj 152]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.memoize$lru invokeStatic memoize.clj 332]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.memoize$lru invoke memoize.clj 292]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.memoize$lru invokeStatic memoize.clj 328]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.memoize$lru invoke memoize.clj 292]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.tools.analyzer.jvm.utils__init load nil 79]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.tools.analyzer.jvm.utils__init <clinit> nil -1]</clinit></span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName0 Class.java -2]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName Class.java 348]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2183]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2192]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadClassForName RT.java 2211]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 445]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 421]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load$fn__7645 invoke core.clj 6008]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load invokeStatic core.clj 6007]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load doInvoke core.clj 5991]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invokeStatic core.clj 5812]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invoke core.clj 5807]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib$fn__7590 invoke core.clj 5852]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib invokeStatic core.clj 5851]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib doInvoke core.clj 5832]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 142]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs invokeStatic core.clj 5889]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs doInvoke core.clj 5873]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require invokeStatic core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.tools.analyzer.jvm$loading__7118__auto____2196 invoke jvm.clj 9]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.tools.analyzer.jvm__init load nil 9]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.tools.analyzer.jvm__init <clinit> nil -1]</clinit></span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName0 Class.java -2]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName Class.java 348]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2183]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2192]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadClassForName RT.java 2211]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 445]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 421]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load$fn__7645 invoke core.clj 6008]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load invokeStatic core.clj 6007]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load doInvoke core.clj 5991]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invokeStatic core.clj 5812]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invoke core.clj 5807]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib$fn__7590 invoke core.clj 5852]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib invokeStatic core.clj 5851]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib doInvoke core.clj 5832]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 142]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs invokeStatic core.clj 5889]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs doInvoke core.clj 5873]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require invokeStatic core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.async.impl.ioc_macros$loading__7118__auto____1596 invoke ioc_macros.clj 12]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.async.impl.ioc_macros__init load nil 12]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.async.impl.ioc_macros__init <clinit> nil -1]</clinit></span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName0 Class.java -2]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName Class.java 348]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2183]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2192]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadClassForName RT.java 2211]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 445]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 421]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load$fn__7645 invoke core.clj 6008]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load invokeStatic core.clj 6007]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load doInvoke core.clj 5991]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invokeStatic core.clj 5812]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invoke core.clj 5807]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib$fn__7590 invoke core.clj 5852]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib invokeStatic core.clj 5851]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib doInvoke core.clj 5832]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 142]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs invokeStatic core.clj 5889]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs doInvoke core.clj 5873]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require invokeStatic core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.async$loading__7118__auto____1152 invoke async.clj 9]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.async__init load nil 9]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core.async__init <clinit> nil -1]</clinit></span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName0 Class.java -2]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [java.lang.Class forName Class.java 348]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2183]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT classForName RT.java 2192]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadClassForName RT.java 2211]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 445]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 421]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load$fn__7645 invoke core.clj 6008]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load invokeStatic core.clj 6007]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load doInvoke core.clj 5991]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invokeStatic core.clj 5812]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invoke core.clj 5807]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib$fn__7590 invoke core.clj 5852]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib invokeStatic core.clj 5851]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib doInvoke core.clj 5832]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 142]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs invokeStatic core.clj 5889]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs doInvoke core.clj 5873]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require invokeStatic core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require doInvoke core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 436]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clj_gatling.report$eval47$loading__7531__auto____48 invoke report.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clj_gatling.report$eval47 invokeStatic report.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clj_gatling.report$eval47 invoke report.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6951]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6940]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler load Compiler.java 7403]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadResourceScript RT.java 374]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadResourceScript RT.java 365]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 455]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 421]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load$fn__7645 invoke core.clj 6008]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load invokeStatic core.clj 6007]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load doInvoke core.clj 5991]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invokeStatic core.clj 5812]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invoke core.clj 5807]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib$fn__7590 invoke core.clj 5852]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib invokeStatic core.clj 5851]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib doInvoke core.clj 5832]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 142]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs invokeStatic core.clj 5889]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs doInvoke core.clj 5873]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require invokeStatic core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require doInvoke core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 457]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clj_gatling.core$eval30$loading__7531__auto____31 invoke core.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clj_gatling.core$eval30 invokeStatic core.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clj_gatling.core$eval30 invoke core.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6951]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6940]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler load Compiler.java 7403]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadResourceScript RT.java 374]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadResourceScript RT.java 365]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 455]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 421]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load$fn__7645 invoke core.clj 6008]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load invokeStatic core.clj 6007]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load doInvoke core.clj 5991]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invokeStatic core.clj 5812]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invoke core.clj 5807]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib$fn__7590 invoke core.clj 5852]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib invokeStatic core.clj 5851]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib doInvoke core.clj 5832]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 142]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs invokeStatic core.clj 5889]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs doInvoke core.clj 5873]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require invokeStatic core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require doInvoke core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 551]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [army.core$eval24$loading__7531__auto____25 invoke core.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [army.core$eval24 invokeStatic core.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [army.core$eval24 invoke core.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6951]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6940]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler load Compiler.java 7403]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadResourceScript RT.java 374]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT loadResourceScript RT.java 365]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 455]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RT load RT.java 421]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load$fn__7645 invoke core.clj 6008]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load invokeStatic core.clj 6007]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load doInvoke core.clj 5991]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invokeStatic core.clj 5812]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_one invoke core.clj 5807]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib$fn__7590 invoke core.clj 5852]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib invokeStatic core.clj 5851]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_lib doInvoke core.clj 5832]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 142]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs invokeStatic core.clj 5889]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$load_libs doInvoke core.clj 5873]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$apply invokeStatic core.clj 659]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require invokeStatic core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.core$require doInvoke core.clj 5911]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn invoke RestFn.java 408]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [user$eval15 invokeStatic form-init7134710474813340838.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [user$eval15 invoke form-init7134710474813340838.clj 1]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6951]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6940]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler eval Compiler.java 6940]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler load Compiler.java 7403]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Compiler loadFile Compiler.java 7341]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$load_script invokeStatic main.clj 276]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$init_opt invokeStatic main.clj 278]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$init_opt invoke main.clj 278]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$initialize invokeStatic main.clj 309]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$null_opt invokeStatic main.clj 343]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$null_opt invoke main.clj 340]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$main invokeStatic main.clj 422]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main$main doInvoke main.clj 385]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.RestFn applyTo RestFn.java 137]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.lang.Var applyTo Var.java 700]</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace; font-size: xx-small;"> [clojure.main main main.java 37]]}</span></blockquote>
</blockquote>
Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-90651666375088162452016-08-16T18:50:00.000+07:002016-08-16T18:50:32.779+07:00Tar create/extract inside a specific directoryCreate<br />
<blockquote class="tr_bq">
<div class="p1">
<span class="s1">tar -cf output.tar -</span><span class="s2">C</span><span class="s1"> /path/to/directory</span><span class="s1"> .</span></div>
</blockquote>
The dot at the end is important<br />
<br />
Extract<br />
<blockquote class="tr_bq">
tar -xf input.tar -C /path/to/directory</blockquote>
Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0tag:blogger.com,1999:blog-8300987467364558761.post-31226761858588828092016-07-10T21:26:00.002+07:002016-07-10T21:26:52.586+07:00Why I'm writing in Clojure and RubySandy Metz. Around the 35th minute of <a href="http://bikeshed.fm/70">http://bikeshed.fm/70</a><br />
<br />
<blockquote class="tr_bq">
I came from Smalltalk, and I segued to Java a little bit, hated every minute of it, and then fell saved by Ruby. And so I have spent the last 20 some years writing code in languages that had enormous faith in my ability to do the right thing. And along with that enormous faith in my ability to do the right thing, they gave me the freedom of everything.</blockquote>
...<br />
<br />
(My summary: She talked to a guy after a conference who asked her how using dynamic language could possibly work, and she answered)<br />
<br />
<blockquote class="tr_bq">
You just trust people. And he said they are not trustworthy. And I said well, they shouldn't write Ruby, they should write Java. I really prefer languages that allow me to shoot myself in the foot if I do but give me the power to do that.</blockquote>
-----<br />
<br />
<ul>
<li>Has enormous faith in my ability to do the right thing</li>
<li>Give me the freedom of everything</li>
<li>You just trust people</li>
</ul>
<br />
These are exactly why I'm writing in Clojure and Ruby.Taphttp://www.blogger.com/profile/11187717769038086610noreply@blogger.com0