Shorten your github URL (git.io)

Shorten your URL to make it easy to work. Actually, I post this to get that info when I need it right away. I use it to execute some scripts to install my apps:

curl -fsSL https://git.io/vQkzV > download.sh; chmod 755 download.sh; ./download.sh

Then, just need to execute the following

curl -i https://git.io  -F "url=https://github.com/p1nrojas/pk-nuage-multi" -F code="Nu4g30"
HTTP/1.1 100 Continue

HTTP/1.1 201 Created
Server: Cowboy
Connection: keep-alive
Date: Thu, 29 Jun 2017 17:20:39 GMT
Status: 201 Created
Content-Type: text/html;charset=utf-8
Location: https://git.io/Nu4g30
Content-Length: 42
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Runtime: 0.090459
X-Node: 8e563b52-4146-476b-b290-06fa8fe36f9c
X-Revision: 392798d237fc1aa5cd55cada10d2945773e741a8
Strict-Transport-Security: max-age=31536000; includeSubDomains
Via: 1.1 vegur

And now you have https://git.io/Nu4g30 to access https://github.com/p1nrojas/pk-nuage-multi

See ya!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s