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
| grep aokp .repo/manifest.xml | cut -f2 -d '"' |
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 | |
| # fuck this shit. | |
| aosp_tag=android-4.1.2_r1 | |
| git remote add aosp https://android.googlesource.com/platform/"${1}"/ | |
| git fetch aosp | |
| git merge $aosp_tag |
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 | |
| # | |
| # Image template creator and thumbnail maker. | |
| # | |
| # USAGE: ./make_lazy $CUSTOM_TITLE_NAME | |
| # If CUSTOM_TITLE_NAME is blank, it will use the actual filename | |
| # (with underscores and all). | |
| # Currently supported formats are .png and .jpg. | |
| # | |
| # In addition to most normal linux apps, this script will |
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 | |
| # Fuck more characters. | |
| # I'm so fucking lazy | |
| #set -x | |
| remote=bcf | |
| # PUSH TO HEAD ONLY IF YOU KNOW WHAT YOU'RE DOING | |
| giggitty=refs/heads/jb-mr1 | |
| # url is usually something like | |
| # ssh://john.doe@http://gerrit.sudoservers.com/:29418 |
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 | |
| # | |
| # For Android Police | |
| # From KhasMek | |
| # I love you guys | |
| # | |
| # To run chmod a+x, move to the topdir of and AOSP build tree and execute | |
| # ./tag_changelog_gen.sh "old tag label" "new tag label" | |
| # example: ./tag_changelog_gen.sh android-4.1.2_r1 android-4.2_r1 |
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 | |
| # | |
| # A quick script to read an xml file from SMSBackup and create a new file | |
| # based on filtering by a wildcard (date/sender/etc). | |
| # ToDo smarter filtering by tags set in xml. | |
| filename= | |
| wildcard= | |
| new_file= | |
| xsl= |
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
| { | |
| "wallpapers": { | |
| "category": [ | |
| { | |
| "name": "Lex", | |
| "wallpaper": [ | |
| { | |
| "author": "By Lex", | |
| "url": "http://www.peripheraldimensions.com/Wedding/Lex/images/wedding_1_100_of_107.jpg", | |
| "thumbUrl": "http://www.peripheraldimensions.com/Wedding/Lex/thumbs/wedding_1_100_of_107_thumb.gif", |
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
| #!/usr/bin/python | |
| """Runs the given command on the given set of machines.""" | |
| import sys | |
| import os | |
| import re | |
| import time | |
| from subprocess import Popen, PIPE | |
| from select import select |
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 | |
| proprietary_vendor_dir= | |
| ls | grep -v '.mk$' | while read line; do | |
| dest=`find $proprietary_vendor_dir -name $line` | |
| cp -v $line $dest | |
| done |
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 | |
| # A script to keep my fucking meme downloads somewhat manageable | |
| # The goal of this script is to comm two dirs (one on my android | |
| # device and the other locally, then sort the new files into a new | |
| # folder to then be uploaded to $social_network. Maybe a final option to | |
| # move the images to the old folder after the upload is complete | |
| # would be good too. And remvoing of (1) files.) | |
| # | |
| # TODO: Make not so ghetto |