I hereby claim:
- I am aklowther on github.
- I am aklowther (https://keybase.io/aklowther) on keybase.
- I have a public key ASCMRUamjhvezGjKnWd8RHGa9_xy_hL55Kv5DfsqRZvW-go
To claim this, I am signing this object:
LOCAL=$(ifconfig | grep -A 1 "en" | grep broadcast | cut -d " " -f 2 | tr "\\n" " ") | |
EXTERNAL6=$(curl --silent http://icanhazip.com -6) | |
EXTERNAL4=$(curl --silent http://icanhazip.com -4) | |
cat<<EOB | |
<?xml version="1.0"?> | |
<items> | |
<item uid="localip" arg="$LOCAL"> | |
<title>Local IP: $LOCAL</title> | |
<subtitle>Press Enter to paste, or Cmd+C to copy</subtitle> |
I hereby claim:
To claim this, I am signing this object:
#ifdef DEBUG | |
# define DLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); | |
#else | |
# define DLog(...) | |
#endif | |
#define ALog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); | |
#ifdef DEBUG | |
# define ULog(fmt, ...) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"%s\n [Line %d] ", __PRETTY_FUNCTION__, __LINE__] message:[NSString stringWithFormat:fmt, ##__VA_ARGS__] delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil]; [alert show]; } | |
#else | |
# define ULog(...) |