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
# | |
# Copy the database from its standard location to the sd card | |
# | |
adb -d shell "run-as <app.package.name.here> cat /data/data/<app.package.name.here>/databases/<app.database.name.here> /sdcard/<output.filename.here>" | |
# | |
# Pull the database from the sdcard to a specified local filename or the current directory if not | |
# | |
adb pull /sdcard/<remote.filename.here> [<local.filename.here>] |
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
import Foundation | |
extension NSMutableAttributedString { | |
public func setAsLink(textToFind:String, linkURL:String) -> Bool { | |
let foundRange = self.mutableString.rangeOfString(textToFind) | |
if foundRange.location != NSNotFound { | |
self.addAttribute(NSLinkAttributeName, value: linkURL, range: foundRange) | |
return true |
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
language:java type:issue is:public stars:">=20" |
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
# gimpy mac thingy | |
.DS_Store | |
# IDEA Ignores | |
*.iml | |
*.ipr | |
*.iws | |
.idea/ | |
# Local configuration file (sdk path, etc) |
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
language: android | |
jdk: oraclejdk7 | |
before_install: | |
- chmod +x gradlew | |
script: ./gradlew check |
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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.13.3' | |
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.0' | |
classpath 'org.robolectric:robolectric-gradle-plugin:0.13.0' | |
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' |