snipt

Ctrl+h for KB shortcuts

Bash

Twitter update from terminal

curl -u YourUsername:YourPassword -d status="Your status message go here" http://twitter.com/statuses/update.xml
https://snipt.net/embed/fa326d03ee01fcbb4023ddcc64cd396a/
/raw/fa326d03ee01fcbb4023ddcc64cd396a/
fa326d03ee01fcbb4023ddcc64cd396a
bash
Bash
1
2019-06-27T07:59:39
True
False
False
/api/public/snipt/4863/
twitter-update-from-terminal
<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></span><span id="L-1"><a name="L-1"></a>curl -u YourUsername:YourPassword -d <span class="nv">status</span><span class="o">=</span><span class="s2">&quot;Your status message go here&quot;</span> http://twitter.com/statuses/update.xml </span></pre></div> </td></tr></table>
bash, twitter, update

HTML

Twitter Badge HTML

1
2
3
4
5
<div id="twitter_div">
<h2 class="twitter-title">Twitter Updates</h2>
<ul id="twitter_update_list"></ul></div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script text="text/javascript" src="http://twitter.com/statuses/user_timeline/yourtwittername.json?callback=twitterCallback2&count=5"></script>
https://snipt.net/embed/5b6e383ec934fc98926cac098d7125f0/
/raw/5b6e383ec934fc98926cac098d7125f0/
5b6e383ec934fc98926cac098d7125f0
html
HTML
5
2019-07-15T21:38:34
True
False
False
/api/public/snipt/2255/
twitter-badge-html
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="p">&lt;</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">&quot;twitter_div&quot;</span><span class="p">&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">h2</span> <span class="na">class</span><span class="o">=</span><span class="s">&quot;twitter-title&quot;</span><span class="p">&gt;</span>Twitter Updates<span class="p">&lt;/</span><span class="nt">h2</span><span class="p">&gt;</span> </span><span id="L-3"><a name="L-3"></a><span class="p">&lt;</span><span class="nt">ul</span> <span class="na">id</span><span class="o">=</span><span class="s">&quot;twitter_update_list&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">ul</span><span class="p">&gt;&lt;/</span><span class="nt">div</span><span class="p">&gt;</span> </span><span id="L-4"><a name="L-4"></a><span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;text/javascript&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;http://twitter.com/javascripts/blogger.js&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span> </span><span id="L-5"><a name="L-5"></a><span class="p">&lt;</span><span class="nt">script</span> <span class="na">text</span><span class="o">=</span><span class="s">&quot;text/javascript&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;http://twitter.com/statuses/user_timeline/yourtwittername.json?callback=twitterCallback2&amp;count=5&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
html, twitter

HTML+PHP

Share on Twitter

<a href="http://twitter.com/home?status=Currently reading <?php the_permalink(); ?>" title="Click to send this page to Twitter!" target="_blank">Share on Twitter</a>
https://snipt.net/embed/d626d765e4f2199d2a3db8ec46fbad48/
/raw/d626d765e4f2199d2a3db8ec46fbad48/
d626d765e4f2199d2a3db8ec46fbad48
html+php
HTML+PHP
2
2019-07-15T12:35:54
True
False
False
/api/public/snipt/1941/
share-on-twitter-1
<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></span><span id="L-1"><a name="L-1"></a><span class="p">&lt;</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">&quot;http://twitter.com/home?status=Currently reading </span><span class="cp">&lt;?php</span> <span class="nx">the_permalink</span><span class="p">();</span> <span class="cp">?&gt;</span><span class="s">&quot;</span> <span class="na">title</span><span class="o">=</span><span class="s">&quot;Click to send this page to Twitter!&quot;</span> <span class="na">target</span><span class="o">=</span><span class="s">&quot;_blank&quot;</span><span class="p">&gt;</span>Share on Twitter<span class="p">&lt;/</span><span class="nt">a</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
social, twitter, wordpress

Bash

Text filter for Twitterrific

defaults write com.iconfactory.Twitterrific tweetTextFilter -string 'blip\.fm'
https://snipt.net/embed/7b6aeb0adf17d5f9402362465c5e3db5/
/raw/7b6aeb0adf17d5f9402362465c5e3db5/
7b6aeb0adf17d5f9402362465c5e3db5
bash
Bash
1
2019-07-07T04:17:59
True
False
False
/api/public/snipt/1265/
text-filter-for-twitterrific
<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></span><span id="L-1"><a name="L-1"></a>defaults write com.iconfactory.Twitterrific tweetTextFilter -string <span class="s1">&#39;blip\.fm&#39;</span> </span></pre></div> </td></tr></table>
"os x", bash, configuration, filter, mac, twitter, twitterrific

HTML+PHP

Twitter Script

1
2
3
4
<div id="twitter_div">
<ul id="twitter_update_list"></ul></div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/natewhitehill.json?callback=twitterCallback2&count=3"></script>
https://snipt.net/embed/b8cbe69d8a1ed1b09270ceb8fa946365/
/raw/b8cbe69d8a1ed1b09270ceb8fa946365/
b8cbe69d8a1ed1b09270ceb8fa946365
html+php
HTML+PHP
4
2019-07-12T10:06:14
True
False
False
/api/public/snipt/719/
twitter-script
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="p">&lt;</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">&quot;twitter_div&quot;</span><span class="p">&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">ul</span> <span class="na">id</span><span class="o">=</span><span class="s">&quot;twitter_update_list&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">ul</span><span class="p">&gt;&lt;/</span><span class="nt">div</span><span class="p">&gt;</span> </span><span id="L-3"><a name="L-3"></a><span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;text/javascript&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;http://twitter.com/javascripts/blogger.js&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span> </span><span id="L-4"><a name="L-4"></a><span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;text/javascript&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;http://twitter.com/statuses/user_timeline/natewhitehill.json?callback=twitterCallback2&amp;count=3&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
twitter