Sunday, September 6, 2009

Playstation 3 Power Supply Problems

Skripttipp #11: Kurz-URLs vor dem Besuch auflösen


1link.in

2su.de

3.ly

4url.cc

9mp.com

a.gd

a.nf

a2n.eu

adjix.com

alturl.com

arm.in

b65.us

bit.ly

bloat.me

budurl.com

buk.me

burnurl.com

canurl.com

chilp.it

chod.sk

cli.gs

clop.decenturl.com

clop.in

doiop.com

dwarfurl.com

easyuri.com

easyurl.net

faingai.notlong.com

fhurl.com

fly2.ws

fon.gs

foxyurl.com

fwd4.me

fwdurl.net

g4.ms

g8l.us

get-shorty.com

gonext.org

good.ly

gurl.es

hex.io

idek.net

ilix.in

is.gd

ix.it

j2j.de

jdem.cz

jijr.com

kisa.ch

kl.am

kore.us

kots.nu

krz.ch

kurl.us

LNK.by

lin.cr

linxfix.de

liteurl.net

litturl.com

lnk.in

lnkurl.com

lurl.no

merky.de

memurl.com

micurl.com

migre.me

miklos.dk

min2.me

minilien.com

minurl.fr

minurl.org

moourl.com

muhlink.com

myurl.in

myurl.us

nanoref.com

ndurl.com

ne1.net

nutshellurl.com

ow.ly

Puke.It

pendek.in

pic.gd

plexp.com

plurl.me

pnt.me

poprl.com

pt2.me

qr.cx

qurl.com

qurlyq.com

r.im

rde.me

redir.ec

redirx.com

rnk.me

rubyurl.com

safe.mn

sai.ly

sfu.ca

shorl.com

short.ie

short.to

shorterlink.com

shortlinks.co.uk

shortn.me

shredurl.com

shrinklink.co.uk

shrinkr.com

shrt.st

shrtn.com

shrtnd.com

shurl.net

simurl.com

smallr.com

smallr.net

smarturl.eu

smfu.in

sn.vc

snipr.com

song.ly

srnk.net

starturl.com

su.pr

surl.co.uk

tighturl.com

tini.us

tiny.cc

tiny123.com

tinylink.com

tinyurl.com

to.vg

tobtr.com

tr.im

traceurl.com

tw6.us

twip.us

twirl.at

twitpwr.com

twitthis.com

twurl.nl

u.mavrev.com

u.nu

uiop.me

unfaker.it

ur.ly

ur1.ca

url.co.uk

url.ie

url.lotpatrol.com

url9.com

urlborg.com

urlbrief.com

urlcover.com

urlcut.com

urlcutter.com

urlhawk.com

urlsmash.com

urltea.com

urlvi.be

urlzen.com

virl.com
vl.am
vtc.es
w3t.org
wapurl.co.uk
wlink.us
www.6url.com
www.canurl.com
www . digbig.com
www.ezurl.eu
www.piurl.com
www.shortenurl.com
www.timesurl.at
www.urlpire.com
www.x . se
x.vu
xrl.us
zi.ma
zz.gd

Whether one likes short URL or not, whether one sie für sinnvoll hält oder nicht, immer häufiger begegnet man ihnen. Man kann ihre Benutzung prinzipiell verweigern, dann kann man aber Dienste wie Twitter.com nur eingeschränkt benutzen. Auch Verfügbarkeit und Sicherheit sind diskussionswürdige Punkte, aber all dies soll jetzt hier nicht das Thema sein!


Auf jeden Fall sollte man wissen wie man ggf. zu jeder Kurz-URL die Langform erhält ohne den Link anzuklicken. Zwar bieten viele Kurz-URL-Dienstleister („URL shortener“) inzwischen auch eine Vorschaufunktion an, aber für diese gibt es keinen einheitlichen Standard, jeder kocht hier sein eigenes Süppchen. Drei Beispiele (ohne Wertung des Dienstleisters):


  1. Bit.ly : to + the short URL, hang in http://bit.ly/4LjZ1 http://bit.ly/4LjZ1+
  2. TinyURL.com : "preview" insert http://TinyURL.com/c8yyqr http://preview.TinyURL.com/c8yyqr
  3. Merky.de : - insert before the short form, http:/ / merky.de / prfzff http://merky.de/-prfzff

What is needed is a service independent method to find the destination URL. The possibility schnellse supplies, as is usual, a bash script. The relevant services are based on the standardized response server 301, which states that a page has moved and is now available under a different URL. In the terminal you can easily request by retrieving the header ("header") information to a URL:

 #: ~> curl-Is 'http://bit.ly/4LjZ1' HTTP/1.1 301 Moved Server: nginx/0.7 .42 Date: Mon, 10 Aug 2009 19:55:09 GMT Content-Type: text / html; charset = utf-8 Connection: keep-alive Location: http://kinderpornos.info/ MIME-Version: 1.0 Content- Length: 287 #: ~> 

We are interested here only the line "Location", then there is the transfer destination. Using grep and cut can now create a small bash script which reads the real goal:

 # / usr / bin / env bash # if ["$ 1" =''!] Then curl-Is $ 1  Write function library or directly to the. bashrc. off gain 

For MacOS X users to the command line can do nothing, can be with the mentioned Bashkommandos and put some apple script a small program in the menu bar of Mac OS X, showing which browser and service provider independent of the long form, each short URL. Their advantage is that you can the service provider does not have to know (in detail) and can call always the same sequence of commands: link in any way to copy to the clipboard (select Copy text, context menu via the link, link to the clipboard) . menu item "short URL dissolve" In the Script menu.

See URL resolution, any changes, click away, or a standard browser access.

    open script editor and create the following Skirpt executable and put in "~ / Library / Scripts:
  1. set Cancel to false set result to" "set time to 30 set Kurzurl to the clipboard try reference to (do set shell script" curl-Is "& Kurzurl & ¬" See resolve "default button 2 Cancel button 1 ¬ giving up after time on error number -128 set abort to true end try if then else abort if button returned of result is" OK ... "then open location text returned of result else if gave up of results then display dialog "More than" & Time & ¬ "second answer is no." with title "time out" end if
  2. The script assumes that the correct URL is the Zwischenablge, otherwise it is harmless, However, unexpected error messages. The query works for all the services described based on a system as long as the call is free accessible for everybody and they even work (yet). Is a service turned off, the short URL is worthless to all, since there is no access to the database more.

http://www.hugeurl.com/ ->

 

0 comments:

Post a Comment