I hereby claim:
- I am holgr on github.
- I am holgr (https://keybase.io/holgr) on keybase.
- I have a public key whose fingerprint is 789D 9F10 91CD 523D CF3A 3436 8ADC 453D 2C25 25BD
To claim this, I am signing this object:
| # cookbooks/chef/attributes/chef.rb | |
| set_unless[:chef][:log_location] = "STDOUT" | |
| set_unless[:chef][:log_level] = "info" | |
| set_unless[:chef][:url_type] = "http" | |
| set_unless[:chef][:server_fqdn] = "your-chef-server" | |
| set_unless[:chef][:server_port] = "4000" | |
| set_unless[:chef][:validation_client_name] = "chef-validator" | |
| set_unless[:chef][:cache_path] = "/var/cache/chef" |
| # Google latitude backup | |
| # | |
| # This is a little helper to backup your location from Google Latitude to local disk. | |
| # It saves data as JSON and as GPX. | |
| # Usage is somewhat annoying: | |
| # | |
| # 1. get OACurl http://code.google.com/p/oacurl/ | |
| # 2. follow the steps in http://code.google.com/apis/latitude/oacurl.html to get strarted | |
| # You will have to register a domain with Google Apps and jump through hoops | |
| # 3. Renerate a Key and a Secret for "installed applications" on the google API console, |
| #!/bin/bash | |
| while true; do | |
| if curl -silent -A "iMacAppStore/1.0.1 (Macintosh; U; Intel Mac OS X 10.6.7; en) AppleWebKit/533.20.25" 'http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewGrouping?id=29526&mt=12' | grep -i "mountain lion" ; then | |
| echo "Available" | |
| growlnotify -m "Mountain Lion is available" -t "App Store" | |
| break | |
| else | |
| echo "Nada" | |
| fi | |
| sleep 120 |
| ioreg -lw0 | grep \"EDID\" | sed "/[^<]*</s///" | xxd -p -r | strings -6 |
| Sample: | |
| [Tue Jul 29 21:25:13.611048 2014] [autoindex:error] [pid 30079] [client 172.16.58.1:52553] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive | |
| Pattern: | |
| \[(?<timestamp>%{DAY:day} %{MONTH:month} %{MONTHDAY} %{TIME} %{YEAR})\] \[%{WORD:module}:%{WORD:errorlevel}\] \[pid %{POSINT:pid}\] \[client %{IPORHOST:http_clientip}:%{POSINT:clientport}\] %{GREEDYDATA:message_remainder} |
I hereby claim:
To claim this, I am signing this object:
| #import <Foundation/Foundation.h> | |
| #include <dlfcn.h> | |
| NSDictionary *FCPrivateBatteryStatus() | |
| { | |
| static mach_port_t *s_kIOMasterPortDefault; | |
| static kern_return_t (*s_IORegistryEntryCreateCFProperties)(mach_port_t entry, CFMutableDictionaryRef *properties, CFAllocatorRef allocator, UInt32 options); | |
| static mach_port_t (*s_IOServiceGetMatchingService)(mach_port_t masterPort, CFDictionaryRef matching CF_RELEASES_ARGUMENT); | |
| static CFMutableDictionaryRef (*s_IOServiceMatching)(const char *name); |
#GoPro HERO4 Black Wifi Hacking, ep 2
By Maelstrom Napalm, @odwdinc and Konrad Iturbe
###Status URL:
http://10.5.5.9/gp/gpControl/status
####Protune EV compensation: Value | URL
If you want iTerm2 to behave like the other Mac OSX applications, so that alt + left moves the previous word, alt + right moves to the next word and alt + backspace deletes the whole word, add these keyboard shortcuts from iTerm > Preferences > Profiles > Keys: