Skip to content

Instantly share code, notes, and snippets.

View Momus's full-sized avatar

Dmitri Brengauz Momus

View GitHub Profile
@Momus
Momus / hostname rDNS
Last active December 11, 2015 21:28
reverse DNS on a hostname
whois `ping -c 1 google.com | awk '/icmp/{sub(":" , "" , $4) ; print $4}'`

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server: