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 | |
apk_file=$1 | |
if [ -z $apk_file ]; then | |
apk_file_num=`ls *.apk | wc -l | tr -d ' '` | |
if [ $apk_file_num -gt 1 ]; then | |
echo "Ambiguous apk_files. Please enter one APK to inspect." | |
exit -1 | |
fi | |
apk_file=`ls *.apk` |
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
// | |
// CGPathBevel.h | |
// | |
// Created by Aaron Hayman on 6/21/12. | |
// Copyright (c) 2012 FlexileSoft, LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
void bevelPath(CGPathRef path, CGContextRef context, CGFloat bevelDepth, CGColorRef highlight, CGColorRef shadow, BOOL eofFill); |
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 | |
# Schedule this to run once a day with cron. Doesn't matter what time since it parses yesterday's hits (by default). | |
# I only tested this on the Marco.org server, which runs CentOS (RHEL). No idea how it'll work on other distributions, but it's pretty basic. | |
# Required variables: | |
RSS_URI="/rss" | |
MAIL_TO="[email protected]" | |
LOG_FILE="/var/log/httpd/access_log" |