A summary on the talks that happened in GDG SG X Kotlin User Group SG - Kotlin/Everywhere Meetup on 24 September 2019.
Talks:
A summary on the talks that happened in GDG SG X Kotlin User Group SG - Kotlin/Everywhere Meetup on 24 September 2019.
Talks:
#!/bin/bash | |
git config --global alias.lg "log --oneline --decorate --all --graph" | |
git config --global alias.s "status -s" | |
git config --global pull.rebase true | |
git config --global rerere.enabled true | |
git config --global user.name "Liew Jun Tung" | |
git config --global user.email [email protected] |
public static void printPermissions(Context context) { | |
PackageInfo android; | |
try { | |
android = context.getPackageManager().getPackageInfo("android", PackageManager.GET_PERMISSIONS); | |
} catch (PackageManager.NameNotFoundException e) { | |
e.printStackTrace(); | |
return; | |
} | |
PermissionInfo[] permissions = android.permissions; |