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 | |
package=${1} | |
# test for parent directory | |
if [ -d xml ]; then | |
echo "directory exists" | |
else | |
mkdir xml | |
fi |
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
if [ -f .repo/local_manifest.xml ]; then | |
echo "local manifest already present." | |
echo "merging with kernel manifest for safety." | |
cat platform_manifest/kernel_manifest.xml | while read line | |
do | |
kernel=`grep "$line" .repo/local_manifest.xml` | |
if [ -z "$kernel" ]; then | |
echo " $line" >> .repo/local_manifest.xml | |
fi | |
done |
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 | |
name=${1} | |
location=${2} | |
if [ ! "$location" ]; then | |
location=. | |
fi | |
find $location -name $name | while read line |
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 | |
# | |
# A simple colorizer script for ImageMagick to batch modify | |
# resource images. | |
# -KhasMek | |
file=${1} | |
location=${2} | |
if [ ! "$location" ]; then |
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 | |
# | |
# A simple colorizer script for ImageMagick to batch modify | |
# resource images. | |
# -KhasMek | |
file=${1} | |
location=${2} | |
if [ ! "$location" ]; then |
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 | |
# | |
# A simple colorizer script for ImageMagick to batch modify | |
# resource images. | |
# -KhasMek | |
# | |
# Usage- run in the root folder of your theme directory. profit. | |
file=${1} | |
location=${2} |
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/sh | |
sdate=${1} | |
cdate=`date +"%m_%d_%Y"` | |
rdir=`pwd` | |
# Check the date start range is set | |
if [ -z "$sdate" ]; then | |
echo "!!!!---- Start date not defined ----!!!!" | |
echo "Please define a start date in mm/dd/yyyy format." |
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 | |
# A script to rape ilikevidsdaily.com | |
# By KhasMek lover of free pr0n. | |
# Download (or update) your reference files | |
# Legend: wget -r (recursive) -l2 (go two levels deep) "url" | |
wget -r -l1 -t1 http://ilikevidsdaily.com | |
# Find the embedded videos name | |
grep -ir video_file ilikevidsdaily.com/post/ | cut -f2 -d "'" | while read line |
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 | |
find ./ -exec test ! -e ../aokp/{} ";" -print | while read line | |
do | |
cp --parents -rf $line ../out | |
done | |
echo complete |
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 | |
# Super lazy way to get all the thing together to add | |
# more wallpapers to the SwagPapers (or similar) apps. | |
# | |
# USAGE: ./make_lazy $AUTHORS_NAME $FIELD_TO_REMOVE | |
# FIELD_TO_REMOVE is useful when the original author has | |
# added an aokp prefix to the image. We already know this | |
# will be an aokp related image, and is unneeded. | |
# Currently supported formats are .png and .jpg. | |
# |
OlderNewer