Top-rated recipes tagged "shortening"http://code.activestate.com/recipes/tags/shortening/top/2011-03-23T05:27:27-07:00ActiveState Code Recipeshexadecimal CSS colors, convert the six-digit to the three-digit notation (Bash)
2010-10-02T14:07:23-07:00Romain Dartigueshttp://code.activestate.com/recipes/users/4167472/http://code.activestate.com/recipes/577416-hexadecimal-css-colors-convert-the-six-digit-to-th/
<p style="color: grey">
Bash
recipe 577416
by <a href="/recipes/users/4167472/">Romain Dartigues</a>
(<a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/css/">css</a>, <a href="/recipes/tags/regex/">regex</a>, <a href="/recipes/tags/rgb/">rgb</a>, <a href="/recipes/tags/sed/">sed</a>, <a href="/recipes/tags/shortening/">shortening</a>).
</p>
<p>Want to replace all six-digit RGB notation (#rrggbb) to the short (three-digit #rgb) form?
Or the opposite?</p>
ur1.ca command-line client (Python)
2011-03-23T05:27:27-07:00Conghttp://code.activestate.com/recipes/users/4167149/http://code.activestate.com/recipes/577236-ur1ca-command-line-client/
<p style="color: grey">
Python
recipe 577236
by <a href="/recipes/users/4167149/">Cong</a>
(<a href="/recipes/tags/scraping/">scraping</a>, <a href="/recipes/tags/shortening/">shortening</a>, <a href="/recipes/tags/url/">url</a>, <a href="/recipes/tags/web/">web</a>).
Revision 2.
</p>
<p>(ur1.ca)[http://ur1.ca/] is the URL shortening services provided by <a href="http://status.net" rel="nofollow">status.net</a>. This script makes it possible to access the service from the command line. This is done by scraping the returned page and look for the shortened URL.</p>