<p dir="auto">When I write this code,syntax highlighting is error with too much '</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var http = require('http'),
util = require('util'),
databaseUrl = &quot;***&quot;,
collections = [&quot;files&quot;],
db = require(&quot;mongojs&quot;).connect(databaseUrl, collections);

var spawn = require('child_process').spawn,
ffmpeg    = spawn('./ffmpeg-2.1.3/bin/ffmpeg', ['-i','upload_3481af342dad78be657922eb9f70a87d.MOV','-c:v','libx264','-subq','7','-qcomp','0.6','-qmin','10','-qmax','50','-qdiff','4','-bf','16','-coder','1','-refs','6','-x264opts','b-pyramid:weightb:mixed-refs:8x8dct:no-fast-pskip=0','-vprofile','high','-pix_fmt','yuv420p','-b:v','2500k','-s','720x1280','-r','29.829','-g','60','-vf','transpose=1','-metadata:s:v','rotate=&quot;0&quot;','-c:a','libfdk_aac','-filter_complex','aresample=async=1:min_hard_comp=0.100000:first_pts=0','-b:a','128k','-ar','44100','-ac','2','-f','mp4','-flags','+loop+mv4','-cmp','256','-partitions','+parti4x4+partp8x8+partb8x8','-trellis','1','-refs','6','-me_range','16','-keyint_min','20','-sc_threshold','40','-i_qfactor','0.71','-bt','700k','-maxrate','2500k','-bufsize','5000k','-rc_eq','blurCplx^(1-qComp)','-vsync','1','-threads','4','-y','upload_3481af342dad78be657922eb9f70a87d_720p.mp4']);

ffmpeg.stdout.on('data', function (data) {
  console.log('' + data);
});

ffmpeg.stderr.on('data', function (data) {
  console.log('ffmpeg stderr: ' + data);
});

ffmpeg.on('close', function (code) {
  if (code !== 0) {
    console.log('ffmpeg process exited with code ' + code);
  }
});"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">http</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'http'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">util</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'util'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">databaseUrl</span> <span class="pl-c1">=</span> <span class="pl-s">"***"</span><span class="pl-kos">,</span>
<span class="pl-s1">collections</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">"files"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s1">db</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"mongojs"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-s1">databaseUrl</span><span class="pl-kos">,</span> <span class="pl-s1">collections</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-k">var</span> <span class="pl-s1">spawn</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'child_process'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">spawn</span><span class="pl-kos">,</span>
<span class="pl-s1">ffmpeg</span>    <span class="pl-c1">=</span> <span class="pl-s1">spawn</span><span class="pl-kos">(</span><span class="pl-s">'./ffmpeg-2.1.3/bin/ffmpeg'</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'-i'</span><span class="pl-kos">,</span><span class="pl-s">'upload_3481af342dad78be657922eb9f70a87d.MOV'</span><span class="pl-kos">,</span><span class="pl-s">'-c:v'</span><span class="pl-kos">,</span><span class="pl-s">'libx264'</span><span class="pl-kos">,</span><span class="pl-s">'-subq'</span><span class="pl-kos">,</span><span class="pl-s">'7'</span><span class="pl-kos">,</span><span class="pl-s">'-qcomp'</span><span class="pl-kos">,</span><span class="pl-s">'0.6'</span><span class="pl-kos">,</span><span class="pl-s">'-qmin'</span><span class="pl-kos">,</span><span class="pl-s">'10'</span><span class="pl-kos">,</span><span class="pl-s">'-qmax'</span><span class="pl-kos">,</span><span class="pl-s">'50'</span><span class="pl-kos">,</span><span class="pl-s">'-qdiff'</span><span class="pl-kos">,</span><span class="pl-s">'4'</span><span class="pl-kos">,</span><span class="pl-s">'-bf'</span><span class="pl-kos">,</span><span class="pl-s">'16'</span><span class="pl-kos">,</span><span class="pl-s">'-coder'</span><span class="pl-kos">,</span><span class="pl-s">'1'</span><span class="pl-kos">,</span><span class="pl-s">'-refs'</span><span class="pl-kos">,</span><span class="pl-s">'6'</span><span class="pl-kos">,</span><span class="pl-s">'-x264opts'</span><span class="pl-kos">,</span><span class="pl-s">'b-pyramid:weightb:mixed-refs:8x8dct:no-fast-pskip=0'</span><span class="pl-kos">,</span><span class="pl-s">'-vprofile'</span><span class="pl-kos">,</span><span class="pl-s">'high'</span><span class="pl-kos">,</span><span class="pl-s">'-pix_fmt'</span><span class="pl-kos">,</span><span class="pl-s">'yuv420p'</span><span class="pl-kos">,</span><span class="pl-s">'-b:v'</span><span class="pl-kos">,</span><span class="pl-s">'2500k'</span><span class="pl-kos">,</span><span class="pl-s">'-s'</span><span class="pl-kos">,</span><span class="pl-s">'720x1280'</span><span class="pl-kos">,</span><span class="pl-s">'-r'</span><span class="pl-kos">,</span><span class="pl-s">'29.829'</span><span class="pl-kos">,</span><span class="pl-s">'-g'</span><span class="pl-kos">,</span><span class="pl-s">'60'</span><span class="pl-kos">,</span><span class="pl-s">'-vf'</span><span class="pl-kos">,</span><span class="pl-s">'transpose=1'</span><span class="pl-kos">,</span><span class="pl-s">'-metadata:s:v'</span><span class="pl-kos">,</span><span class="pl-s">'rotate="0"'</span><span class="pl-kos">,</span><span class="pl-s">'-c:a'</span><span class="pl-kos">,</span><span class="pl-s">'libfdk_aac'</span><span class="pl-kos">,</span><span class="pl-s">'-filter_complex'</span><span class="pl-kos">,</span><span class="pl-s">'aresample=async=1:min_hard_comp=0.100000:first_pts=0'</span><span class="pl-kos">,</span><span class="pl-s">'-b:a'</span><span class="pl-kos">,</span><span class="pl-s">'128k'</span><span class="pl-kos">,</span><span class="pl-s">'-ar'</span><span class="pl-kos">,</span><span class="pl-s">'44100'</span><span class="pl-kos">,</span><span class="pl-s">'-ac'</span><span class="pl-kos">,</span><span class="pl-s">'2'</span><span class="pl-kos">,</span><span class="pl-s">'-f'</span><span class="pl-kos">,</span><span class="pl-s">'mp4'</span><span class="pl-kos">,</span><span class="pl-s">'-flags'</span><span class="pl-kos">,</span><span class="pl-s">'+loop+mv4'</span><span class="pl-kos">,</span><span class="pl-s">'-cmp'</span><span class="pl-kos">,</span><span class="pl-s">'256'</span><span class="pl-kos">,</span><span class="pl-s">'-partitions'</span><span class="pl-kos">,</span><span class="pl-s">'+parti4x4+partp8x8+partb8x8'</span><span class="pl-kos">,</span><span class="pl-s">'-trellis'</span><span class="pl-kos">,</span><span class="pl-s">'1'</span><span class="pl-kos">,</span><span class="pl-s">'-refs'</span><span class="pl-kos">,</span><span class="pl-s">'6'</span><span class="pl-kos">,</span><span class="pl-s">'-me_range'</span><span class="pl-kos">,</span><span class="pl-s">'16'</span><span class="pl-kos">,</span><span class="pl-s">'-keyint_min'</span><span class="pl-kos">,</span><span class="pl-s">'20'</span><span class="pl-kos">,</span><span class="pl-s">'-sc_threshold'</span><span class="pl-kos">,</span><span class="pl-s">'40'</span><span class="pl-kos">,</span><span class="pl-s">'-i_qfactor'</span><span class="pl-kos">,</span><span class="pl-s">'0.71'</span><span class="pl-kos">,</span><span class="pl-s">'-bt'</span><span class="pl-kos">,</span><span class="pl-s">'700k'</span><span class="pl-kos">,</span><span class="pl-s">'-maxrate'</span><span class="pl-kos">,</span><span class="pl-s">'2500k'</span><span class="pl-kos">,</span><span class="pl-s">'-bufsize'</span><span class="pl-kos">,</span><span class="pl-s">'5000k'</span><span class="pl-kos">,</span><span class="pl-s">'-rc_eq'</span><span class="pl-kos">,</span><span class="pl-s">'blurCplx^(1-qComp)'</span><span class="pl-kos">,</span><span class="pl-s">'-vsync'</span><span class="pl-kos">,</span><span class="pl-s">'1'</span><span class="pl-kos">,</span><span class="pl-s">'-threads'</span><span class="pl-kos">,</span><span class="pl-s">'4'</span><span class="pl-kos">,</span><span class="pl-s">'-y'</span><span class="pl-kos">,</span><span class="pl-s">'upload_3481af342dad78be657922eb9f70a87d_720p.mp4'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-s1">ffmpeg</span><span class="pl-kos">.</span><span class="pl-c1">stdout</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'data'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">''</span> <span class="pl-c1">+</span> <span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-s1">ffmpeg</span><span class="pl-kos">.</span><span class="pl-c1">stderr</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'data'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'ffmpeg stderr: '</span> <span class="pl-c1">+</span> <span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-s1">ffmpeg</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'close'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">code</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">code</span> <span class="pl-c1">!==</span> <span class="pl-c1">0</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'ffmpeg process exited with code '</span> <span class="pl-c1">+</span> <span class="pl-s1">code</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">atom<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2648873/5568818/2b30eb94-8f9f-11e4-8e4e-cc3280daa802.png"><img src="https://cloud.githubusercontent.com/assets/2648873/5568818/2b30eb94-8f9f-11e4-8e4e-cc3280daa802.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">nodepad++<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2648873/5568819/38c2edb6-8f9f-11e4-8e2e-5b5e6af631a9.png"><img src="https://cloud.githubusercontent.com/assets/2648873/5568819/38c2edb6-8f9f-11e4-8e2e-5b5e6af631a9.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I opened a Python file with the following line (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20976125" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/963" data-hovercard-type="pull_request" data-hovercard-url="/atom/atom/pull/963/hovercard" href="https://github.com/atom/atom/pull/963">#963</a>):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="                    PrintAndLog(u&quot;SSID: &quot; + RememberedNetwork[&quot;SSIDString&quot;].decode(&quot;utf-8&quot;) + u&quot; - BSSID: &quot; + RememberedNetwork[&quot;CachedScanRecord&quot;][&quot;BSSID&quot;] + u&quot; - RSSI: &quot; + str(RememberedNetwork[&quot;CachedScanRecord&quot;][&quot;RSSI&quot;]) + u&quot; - Last connected: &quot; + str(RememberedNetwork[&quot;LastConnected&quot;]) + u&quot; - Security type: &quot; +  RememberedNetwork[&quot;SecurityType&quot;] + u&quot; - Geolocation: &quot; + Geolocation, &quot;INFO&quot;)"><pre class="notranslate">                    <span class="pl-v">PrintAndLog</span>(<span class="pl-s">u"SSID: "</span> <span class="pl-c1">+</span> <span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"SSIDString"</span>].<span class="pl-en">decode</span>(<span class="pl-s">"utf-8"</span>) <span class="pl-c1">+</span> <span class="pl-s">u" - BSSID: "</span> <span class="pl-c1">+</span> <span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"CachedScanRecord"</span>][<span class="pl-s">"BSSID"</span>] <span class="pl-c1">+</span> <span class="pl-s">u" - RSSI: "</span> <span class="pl-c1">+</span> <span class="pl-en">str</span>(<span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"CachedScanRecord"</span>][<span class="pl-s">"RSSI"</span>]) <span class="pl-c1">+</span> <span class="pl-s">u" - Last connected: "</span> <span class="pl-c1">+</span> <span class="pl-en">str</span>(<span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"LastConnected"</span>]) <span class="pl-c1">+</span> <span class="pl-s">u" - Security type: "</span> <span class="pl-c1">+</span>  <span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"SecurityType"</span>] <span class="pl-c1">+</span> <span class="pl-s">u" - Geolocation: "</span> <span class="pl-c1">+</span> <span class="pl-v">Geolocation</span>, <span class="pl-s">"INFO"</span>)</pre></div>
<p dir="auto">Which led to the following bug:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/e06069206d526a16adf21e84cd179f1185d3fb5e0f05fea4d4b4a08a978092f4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f34343737342f323331333737382f37366262346262612d613330642d313165332d396136342d3831663666393163323563342e706e67"><img src="https://camo.githubusercontent.com/e06069206d526a16adf21e84cd179f1185d3fb5e0f05fea4d4b4a08a978092f4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f34343737342f323331333737382f37366262346262612d613330642d313165332d396136342d3831663666393163323563342e706e67" alt="screen shot 2014-03-03 at 2 52 40 pm" data-canonical-src="https://f.cloud.github.com/assets/44774/2313778/76bb4bba-a30d-11e3-9a64-81f6f91c25c4.png" style="max-width: 100%;"></a></p>
<p dir="auto">You can find this as the main file in <a href="https://github.com/jipegit/OSXAuditor/blob/master/osxauditor.py"><code class="notranslate">osxauditor.py</code></a>.</p>