Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

ActionScript 3

Dump / trace object properties

1
2
3
import mx.utils.ObjectUtil;

ObjectUtil.toString(obj)
https://snipt.net/embed/6b499333ac41f4a54ed1ae4e7726c838/
https://snipt.net/raw/6b499333ac41f4a54ed1ae4e7726c838/
6b499333ac41f4a54ed1ae4e7726c838
as3
ActionScript 3
3
2016-12-03T02:13:53
True
False
False
/api/public/snipt/20073/
dump-trace-object-properties
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="k">import</span> <span class="nn">mx.utils.ObjectUtil</span><span class="o">;</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="n">ObjectUtil</span><span class="o">.</span><span class="na">toString</span><span class="o">(</span><span class="n">obj</span><span class="o">)</span> </span></pre></div> </td></tr></table>
as3, dump, inspect, trace

Bash

apache trace disable

1
2
3
4
5
6
<VirtualHost www.example.com>
# disable TRACE in the www.example.com virtual host
RewriteEngine On 
RewriteCond %{REQUEST_METHOD} ^TRACE 
RewriteRule .* - [F] 
</VirtualHost>
https://snipt.net/embed/0d44f48816226acec48ca23db0777157/
https://snipt.net/raw/0d44f48816226acec48ca23db0777157/
0d44f48816226acec48ca23db0777157
bash
Bash
7
2016-11-16T09:31:24
True
False
False
/api/public/snipt/7509/
apache-trace-disable
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>&lt;VirtualHost www.example.com&gt; </span><span id="L-2"><a name="L-2"></a><span class="c1"># disable TRACE in the www.example.com virtual host</span> </span><span id="L-3"><a name="L-3"></a>RewriteEngine On </span><span id="L-4"><a name="L-4"></a>RewriteCond %<span class="o">{</span>REQUEST_METHOD<span class="o">}</span> ^TRACE </span><span id="L-5"><a name="L-5"></a>RewriteRule .* - <span class="o">[</span>F<span class="o">]</span> </span><span id="L-6"><a name="L-6"></a>&lt;/VirtualHost&gt; </span></pre></div> </td></tr></table>
apache, security, trace
Copyrighted, illegal, or inappropriate content? Email [email protected].