Example usage: * `ipwhois http://hackerific.net` -- this runs whois 220.127.116.11 (uses dig to do a forward DNS lookup, then runs whois on the IP). * `dig https://hackerific.net/foo/bar/baz` -- strips the protocol and path components, then runs dig with the result. I've duplicated this for `host` and `nslookup`. Strips the
This will print an error of the destination exists, instead of creating another link within it.
Viscosity is an OpenVPN client. The most useful command here are protbably: • vpnca - which will connect all defiend VPN profiles, and • vpnda - which will disconnect all defiend VPN profiles, and The others will also allow manipulation of named connections. I can't see a way of listing all defined connections, so there's no completion or error checking here.
For now check we're not using linux.
This should make things easier to read.
This should now actually work.
Replace backticks with $(…) for clarity. I don't have 'bundle' installed on my system -- is this a ruby gem? -- so check it exists before trying to run it. Also, remove the massive if/else and replace with a more compact loop. Still todo: editor specific arguments.