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
export ANDROID_HOME=/Users/$USER/Library/Android/sdk | |
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools |
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
defaults write com.microsoft.VSCode.helper CGFontRenderingFontSmoothingDisabled -bool NO |
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
android:background="?android:attr/selectableItemBackground" | |
android:background="?android:attr/selectableItemBackgroundBorderless" | |
<!--long Press--> | |
android:foreground="?attr/selectableItemBackgroundBorderless" |
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
adb shell pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTINGS |
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
# Built application files | |
*.apk | |
*.ap_ | |
*.aab | |
# Files for the ART/Dalvik VM | |
*.dex | |
# Java class files | |
*.class |
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 java.util.*; | |
import java.text.*; | |
import java.time.LocalDate; | |
import java.time.format.DateTimeFormatter; | |
public class DateDemo { | |
public static void main(String args[]) { | |
Date dNow = new Date("Tue, 05 Feb 2019 00:00:00 GMT"); |
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
adb shell "settings put global captive_portal_http_url http://captive.v2ex.co/generate_204"; | |
adb shell "settings put global captive_portal_https_url https://captive.v2ex.co/generate_204"; |
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 | |
adb shell 'su -c "am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///mnt/sdcard/DCMI/Images_new/"' |
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
Observable | |
.create((ObservableOnSubscribe<Integer>) emitter -> { | |
emitter.onNext(1); | |
emitter.onComplete(); | |
}) | |
.map(integer -> { | |
System.out.println(" =========>>>> " + integer); | |
return integer + 10; | |
}) | |
.flatMap((Function<Integer, ObservableSource<Integer>>) integer -> { |
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
Process: Vivaldi [1994] | |
Path: /Applications/Vivaldi.app/Contents/MacOS/Vivaldi | |
Identifier: com.vivaldi.Vivaldi | |
Version: 2.0.1309.29 (2.0.1309.29) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Vivaldi [1994] | |
User ID: 502 | |
Date/Time: 2018-09-30 09:57:48.491 +0800 |