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
[ckearney@s0138 SLIMER_WORK]$ grep "APA91bGSaftw_h4a_llzYqBALqy5moPP9DXNc9wE3P8v7xaGRe6fKpd1NTyxkn5ZhHVnTs1SEXELhQVSAYZ1nVy3ZoYQlnJBGNf1PV9ra8RtyUEfYFXU0rxkMWXbZS-dIf70msSRmsRTz11KW4_qGqAgSNurYslcJj4BuvBDaky7awMPw683UZ0" results.txt | |
5108829f-fb64-4112-9560-9cb0ffa3f6e3|INSTALLED|APA91bGSaftw_h4a_llzYqBALqy5moPP9DXNc9wE3P8v7xaGRe6fKpd1NTyxkn5ZhHVnTs1SEXELhQVSAYZ1nVy3ZoYQlnJBGNf1PV9ra8RtyUEfYFXU0rxkMWXbZS-dIf70msSRmsRTz11KW4_qGqAgSNurYslcJj4BuvBDaky7awMPw683UZ0|1381768815498 | |
6af143ec-d161-4447-9f6f-f76b48a4e0d9|INSTALLED|APA91bGSaftw_h4a_llzYqBALqy5moPP9DXNc9wE3P8v7xaGRe6fKpd1NTyxkn5ZhHVnTs1SEXELhQVSAYZ1nVy3ZoYQlnJBGNf1PV9ra8RtyUEfYFXU0rxkMWXbZS-dIf70msSRmsRTz11KW4_qGqAgSNurYslcJj4BuvBDaky7awMPw683UZ0|1383568383179 | |
fbeb04a3-0251-4a94-837d-16244afb2f48|INSTALLED|APA91bGSaftw_h4a_llzYqBALqy5moPP9DXNc9wE3P8v7xaGRe6fKpd1NTyxkn5ZhHVnTs1SEXELhQVSAYZ1nVy3ZoYQlnJBGNf1PV9ra8RtyUEfYFXU0rxkMWXbZS-dIf70msSRmsRTz11KW4_qGqAgSNurYslcJj4BuvBDaky7awMPw683UZ0|1384191042793 | |
d70787e3-0722-49ac-84be-157368dcd932|INSTALLED|APA91bGSa |
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
Oct 29 22:34:29 frank-5.local apsd[74940]: <APSCourier: 0x7f87eb7268a0>: Received message for enabled topic 'web.com.stickypunch' with payload '<CFBasicHash 0x7f87eb40bda0 [0x7fff7472ceb0]>{type = immutable dict, count = 1, | |
entries => | |
0 : <CFString 0x7f87eb456b00 [0x7fff7472ceb0]>{contents = "aps"} = <CFBasicHash 0x7f87eb408bf0 [0x7fff7472ceb0]>{type = immutable dict, count = 1, | |
entries => | |
0 : <CFString 0x7f87eb44a180 [0x7fff7472ceb0]>{contents = "alert"} = <CFBasicHash 0x7f87eb40be40 [0x7fff7472ceb0]>{type = immutable dict, count = 2, | |
entries => | |
0 : <CFString 0x7fff7471b510 [0x7fff7472ceb0]>{contents = "title"} = <CFString 0x7f87eb4466d0 [0x7fff7472ceb0]>{contents = "Flight A998 Now Boarding"} | |
2 : <CFString 0x7f87eb448de0 [0x7fff7472ceb0]>{contents = "body"} = <CFString 0x7f87eb40f000 [0x7fff7472ceb0]>{contents = "Boarding has begun for Flight A998."} | |
} |
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/bash | |
COUNTIES="clackamas multnomah washington" | |
#Get the pages and print it via STDOUT. | |
#HTTP_GET_COMMAND="wget -qO- " | |
HTTP_GET_COMMAND="curl -s " | |
ALL_OUTAGES_NUM=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
package com.urbanairship.arbiterutil.utility; | |
import com.google.common.base.Charsets; | |
import com.google.common.base.Optional; | |
import com.google.common.io.Files; | |
import com.urbanairship.argon.client.ArgonSynchronousClient; | |
import com.urbanairship.leatherman.LeathermanConfiguration; | |
import com.urbanairship.leatherman.pool.DefaultRecyclingPool; | |
import com.urbanairship.leatherman.pool.RecyclingPool; | |
import com.urbanairship.leatherman.socket.SocketChannelResourceFactory; |
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
IS THIS: | |
if (totalCertCount == 0L) { | |
return 100.0;//bad | |
} else { | |
if (usedCertCount == 0L) { | |
return 0.0; | |
} else { | |
return usedCertCount.doubleValue() / totalCertCount.doubleValue() * 100.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
#!/bin/bash | |
timestamp=$(date +%s) | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
############################################################################### | |
# Configuration - Here is where you configure all of the things. # |
NewerOlder