This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <SPI.h> | |
| #include <Adafruit_GFX.h> | |
| #include <Adafruit_PCD8544.h> | |
| #define LOG_PERIOD 15000 //Logging period in milliseconds, recommended value 15000-60000. | |
| #define MAX_PERIOD 60000 //Maximum logging period without modifying this sketch | |
| Adafruit_PCD8544 display = Adafruit_PCD8544(7, 6, 5, 4, 3); | |
| unsigned long counts; //variable for GM Tube events | |
| float cpm; //variable for CPM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo gem uninstall cocoapods-downloader | |
| sudo gem install cocoapods-downloader -v 1.2.0 | |
| sudo gem uninstall cocoapods | |
| sudo gem install cocoapods -v 1.5.3 | |
| pod deintegrate | |
| rm -rf /tmp/openssl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for provisioning_profile in ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision; | |
| do | |
| printf "Checking ${provisioning_profile}... " | |
| # pull the expiration date from the plist | |
| expirationDate=`/usr/libexec/PlistBuddy -c 'Print :ExpirationDate' /dev/stdin <<< $(security cms -D -i "${provisioning_profile}")` | |
| # convert it to a format we can use to see if it is in the past (YYYYMMDD) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mac Network Commands Cheat Sheet | |
| After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty. | |
| Get an ip address for en0: | |
| ipconfig getifaddr en0 | |
| Same thing, but setting and echoing a variable: |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mr Marathi | |
| bs Bosnian | |
| ee_TG Ewe (Togo) | |
| ms Malay | |
| kam_KE Kamba (Kenya) | |
| mt Maltese | |
| ha Hausa | |
| es_HN Spanish (Honduras) | |
| ml_IN Malayalam (India) | |
| ro_MD Romanian (Moldova) |