Language | Locale | FULL | LONG | MEDIUM | SHORT | MONTH_DAY | MONTH_DAY_BEST |
---|---|---|---|---|---|---|---|
Arabic | ar | الخميس، ٣٠ مارس ١٩٩٥ | ٣٠ مارس ١٩٩٥ | ٣٠/٠٣/١٩٩٥ | ٣٠/٣/١٩٩٥ | مارس٣٠ | ٣٠ مارس |
Bulgarian | bg | четвъртък, 30 март 1995 г. | 30 март 1995 г. | 30.03.1995 г. | 30.03.95 г. | март30 | 30 март |
Chinese | zh | 1995年3月30日星期四 | 1995年3月30日 | 1995年3月30日 | 1995/3/30 | 三月30 | 3月30日 |
Catalan | ca | dijous, 30 de març de 1995 | 30 de març de 1995 | 30 de març 1995 | 30/3/95 | de març30 | 30 de març |
Czech | cs | čtvrtek 30. března 1995 | 30. března 1995 | 30. 3. 1995 | 30.03.95 | března30 | 30. března |
Danish | da | torsdag den 30. marts 1995 | 30. marts 1995 | 30. mar. 1995 | 30/03/1995 | marts30 | 30. marts |
Dutch | nl | donderdag 30 maart 1995 | 30 maart 1995 | 30 mrt. 1995 | 30-03-95 | maart30 | 30 maart |
English | en | Thursday, March 30, 1995 | March 30, 1995 | Mar 30, 1995 | 3/30/95 | March30 | March 30 |
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
# Helper script that all Jenkins scripts can source in to get step/next/try error checking | |
# Source: https://stackoverflow.com/a/5196220 | |
# Use step(), try(), and next() to perform a series of commands and print | |
# [ OK ] or [FAILED] at the end. The step as a whole fails if any individual | |
# command fails. | |
# | |
# Example: | |
# step "Remounting / and /boot as read-write:" | |
# try mount -o remount,rw / |
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
<paths> | |
<cache-path name="debug" path="/"/> | |
</paths> |
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
<provider | |
android:name="android.support.v4.content.FileProvider" | |
android:authorities="gg.mark.provider" | |
android:exported="false" | |
android:grantUriPermissions="true"> | |
<meta-data | |
android:name="android.support.FILE_PROVIDER_PATHS" | |
android:resource="@xml/file_paths"/> | |
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
val attachmentUris = ArrayList<Uri>().apply { | |
add(FileProvider.getUriForFile(activity, "gg.mark.provider", File.createTempFile("gg", ".txt", context.cacheDir))) | |
add(FileProvider.getUriForFile(activity, "gg.mark.provider", File.createTempFile("hello", ".txt", context.cacheDir))) | |
} | |
val sendEmailIntent = Intent(Intent.ACTION_SEND_MULTIPLE).apply { | |
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) | |
type = "text/plain" |
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
2018-05-18 12:03:05.547 7802-7926/? E/AndroidRuntime: FATAL EXCEPTION: IO-4 | |
Process: com.snapchat.android, PID: 7802 | |
java.lang.RuntimeException: An error occurred while executing doInBackground() | |
at xsw$2.done(SourceFile:140) | |
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) | |
at java.util.concurrent.FutureTask.setException(FutureTask.java:252) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:271) | |
at fwx$a.run(SourceFile:35) | |
at fvk.run(SourceFile:71) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) |
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
# Uninstall existing APKs and install our app APK and test APK | |
./gradlew uninstallAll installDebug installDebugAndroidTest | |
# List all APKs installed with adb shell 'pm list packages -f' | |
# Grant the app APK write and read to external storage permissions | |
adb shell pm grant gg.mark.debug android.permission.WRITE_EXTERNAL_STORAGE | |
adb shell pm grant gg.mark.debug android.permission.READ_EXTERNAL_STORAGE | |
export APK=build/outputs/apk/debug/debug.apk | |
export TEST_APK=build/outputs/apk/androidTest/debug/debug-androidTest.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
<!-- Strip away maxSdkVersion --> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" | |
tools:remove="android:maxSdkVersion"/> | |
<!-- Add the permission with no maxSdkVersion defined --> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
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
#imageLiteral(resourceName: "name") |
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
package: mark.gg | |
uses-permission: name='android.permission.INTERNET' | |
uses-permission: name='android.permission.WAKE_LOCK' | |
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE' |
NewerOlder