snipt

Ctrl+h for KB shortcuts
Announcing Snipt for Teams!
Starting at just $49/month.
#140470

Bash

my code

curl -X GET  http://myolx.hn/adminpanel/ajax/moderation/accept/?adID=<ad_id>&action=enable&timestamp=1
https://snipt.net/embed/19c4b1c29825784bf0b6bc28ba9d2bcf/
https://snipt.net/raw/19c4b1c29825784bf0b6bc28ba9d2bcf/
19c4b1c29825784bf0b6bc28ba9d2bcf
bash
Bash
1
2015-07-28T19:53:56
True
False
Jul 27, 2015 at 04:45 PM
/api/public/snipt/140470/
-57e334b4
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>curl -X GET http://myolx.hn/adminpanel/ajax/moderation/accept/?adID<span class="o">=</span>&lt;ad_id&gt;<span class="p">&amp;</span><span class="nv">action</span><span class="o">=</span><span class="nb">enable</span><span class="p">&amp;</span><span class="nv">timestamp</span><span class="o">=</span>1 </span></pre></div> </td></tr></table>
#140466

HTML

AWP

https://www.youtube.com/watch?v=Z7JgGaRFKvI
https://snipt.net/embed/967a12c2b378a991e131e036e7893661/
https://snipt.net/raw/967a12c2b378a991e131e036e7893661/
967a12c2b378a991e131e036e7893661
html
HTML
1
2015-07-28T19:53:55
True
False
Jul 26, 2015 at 11:23 PM
/api/public/snipt/140466/
awp
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>https://www.youtube.com/watch?v=Z7JgGaRFKvI </span></pre></div> </td></tr></table>
#140445

Markdown

Intro to Node on AWS Lambda for S3 and Kinesis

https://snipt.net/embed/d734d37f456766ad41a66be320d54cfe/
https://snipt.net/raw/d734d37f456766ad41a66be320d54cfe/
d734d37f456766ad41a66be320d54cfe
markdown
Markdown
1
2015-07-24T12:39:20
True
True
May 11, 2015 at 12:00 AM
/api/public/snipt/140445/
intro-to-node-on-aws-lambda-for-s3-and-kinesis
<p><a href="http://eng.localytics.com/taming-aws-lambda-for-s3-and-kinesis-at-localytics/">Read on eng.localytics.com &raquo;</a></p>
blog
#140430

Java

Untitled

1
2
3
4
5
6
7
8
private void onInitSDK() {
    boolean initResult = DJIDrone.initWithType(this.getApplicationContext(), DJIDroneTypeDef.DJIDroneType.DJIDrone_Vision);
    boolean connectionResult = DJIDrone.connectToDrone();
}

private void onUnInitSDK() {
    DJIDrone.disconnectToDrone();
}
https://snipt.net/embed/90122c7345fec61fdbf6e4d8dbbbb3e3/
https://snipt.net/raw/90122c7345fec61fdbf6e4d8dbbbb3e3/
90122c7345fec61fdbf6e4d8dbbbb3e3
java
Java
8
2015-07-28T19:53:55
True
False
Jul 23, 2015 at 10:40 PM
/api/public/snipt/140430/
-74f3f9d2
<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> <a href="#L-7">7</a> <a href="#L-8">8</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="kd">private</span> <span class="kt">void</span> <span class="nf">onInitSDK</span><span class="o">()</span> <span class="o">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="kt">boolean</span> <span class="n">initResult</span> <span class="o">=</span> <span class="n">DJIDrone</span><span class="o">.</span><span class="na">initWithType</span><span class="o">(</span><span class="k">this</span><span class="o">.</span><span class="na">getApplicationContext</span><span class="o">(),</span> <span class="n">DJIDroneTypeDef</span><span class="o">.</span><span class="na">DJIDroneType</span><span class="o">.</span><span class="na">DJIDrone_Vision</span><span class="o">);</span> </span><span id="L-3"><a name="L-3"></a> <span class="kt">boolean</span> <span class="n">connectionResult</span> <span class="o">=</span> <span class="n">DJIDrone</span><span class="o">.</span><span class="na">connectToDrone</span><span class="o">();</span> </span><span id="L-4"><a name="L-4"></a><span class="o">}</span> </span><span id="L-5"><a name="L-5"></a> </span><span id="L-6"><a name="L-6"></a><span class="kd">private</span> <span class="kt">void</span> <span class="nf">onUnInitSDK</span><span class="o">()</span> <span class="o">{</span> </span><span id="L-7"><a name="L-7"></a> <span class="n">DJIDrone</span><span class="o">.</span><span class="na">disconnectToDrone</span><span class="o">();</span> </span><span id="L-8"><a name="L-8"></a><span class="o">}</span> </span></pre></div> </td></tr></table>
Copyrighted, illegal, or inappropriate content? Email nick@snipt.net.