Skip to content

Instantly share code, notes, and snippets.

@pvo
pvo / hack.sh
Created March 31, 2012 13:53 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
| c94f5e59-0760-467a-ae70-9a37cfa6b94e | Arch 2012.08
| 03318d19-b6e6-4092-9b5c-4758ee0ada60 | CentOS 5.6
| acf05b3c-5403-4cf0-900c-9b12b0db0644 | CentOS 5.8
| a3a2c42f-575f-4381-9c6d-fcd3b7d07d17 | CentOS 6.0
| 0cab6212-f231-4abd-9c70-608d0d0e04ba | CentOS 6.2
| c195ef3b-9195-4474-b6f7-16e5bd86acd0 | CentOS 6.3
| a10eacf7-ac15-4225-b533-5744f1fe47c1 | Debian 6 (Squeeze)
| bca91446-e60e-42e7-9e39-0582e7e20fb9 | Fedora 16 (Verne)
20:35:18 dhcp,info dhcp-client on outside got IP address 24.243.22.246
21:06:42 interface,info outside link down
21:06:43 interface,info outside link up (speed 100M, full duplex)
21:06:50 dhcp,critical,error dhcp-client on outside lost IP address 24.243.22.246 - received NAK from dhcp server 0.0.0.0
21:06:52 dhcp,info dhcp-client on outside got IP address 192.168.100.10
21:07:34 interface,info outside link down
21:07:45 interface,info outside link up (speed 100M, full duplex)
21:07:54 dhcp,critical,error dhcp-client on outside lost IP address 192.168.100.10 - lease expired
21:07:55 system,info dns changed
21:07:55 dhcp,info dhcp-client on outside got IP address 24.243.22.246