This file contains 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
#pbcopy < ~/.ssh/id_rsa.pub | |
#or | |
cat ~/.ssh/id_rsa.pub | pbcopy |
This file contains 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
2012-12-03 21:35:26 +0000 assistant_service the local store doesn't allow tasks and we have no default calendar :( |
This file contains 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 | |
LINES=`cat $1 | wc -l` | |
LINESB=`echo $((RANDOM % LINES))` | |
WHICH=`echo $((LINESB + 1))` | |
COM=`cat $1 | head -n $WHICH | tail -n 1` | |
eval $COM | |
exit |
This file contains 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
Tue Nov 20 16:47:25 PayPal[30597] <Error>: *** -[__NSCFCalendar components:fromDate:toDate:options:]: fromDate cannot be nil | |
I mean really, what do you think that operation is supposed to mean with a nil fromDate? | |
An exception has been avoided for now. | |
A few of these errors are going to be reported with this complaint, then further violations will simply silently do whatever random thing results from the nil. | |
Here is the backtrace where this occurred this time (some frames may be missing due to compiler optimizations): | |
( | |
0 CoreFoundation 0x3a1d948f <redacted> + 86 | |
1 PayPal 0x0019981b -[PPKBCheckInManager nearbyMerchantRefresh] + 162 | |
2 PayPal 0x0018833f -[PPMerchantListingsViewController viewWillAppear:] + 1414 | |
3 UIKit 0x333cb319 <redacted> + 136 |
This file contains 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
badopts() | |
{ | |
echo -e "Usage: ifchanged [command to check] [number of seconds to wait between checks] [command to execute if not changed] [command to execute if changed]" | |
exit | |
} | |
if [ $# -ne 4 ] | |
then | |
badopts | |
else | |
while true |
NewerOlder