Get full URL via http://untr.im/api/ajax/api
$ URL=[target.URL]; curl -q -d "url=$URL" http://untr.im/api/ajax/api | awk -F 'href="' '{print $3}' | awk -F '" rel="' '{print $1}' Get full url via untr.im View this command to comment, vote or add...
View ArticleShorten url with is.gd using curl, perl
$ curl -s "http://is.gd/api.php?longurl=[long_url]" // This is description for the old command: Unfortunately we to encode the URL. It can't be done with bash (without building it ourselves) so I used...
View ArticleGenerate a shortened URL with is.gd
$ isgd () { curl 'http://is.gd/create.php?format=simple&url='"$1" ; printf "\n" } Check the API. You shouldn't need sed. The print-newline at the end is to prevent zsh from inserting a % after the...
View ArticleShort URLs with is.gd
$ isgd() { /usr/bin/wget -qO - "http://is.gd/create.php?format=simple&url=$1" ;} No curl and no sed, just wget :) View this command to comment, vote or add to favourites View all commands by vando...
View Articlelookup a short url with curl
$ curl -I -L http://t.co/mQUxL6yS View this command to comment, vote or add to favourites View all commands by seen_xu by David Winterbottom (codeinthehole.com)
View Article
More Pages to Explore .....