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
[ | |
{"code": "AF", "name": "Afganistán"}, | |
{"code": "AX", "name": "Islas Aland"}, | |
{"code": "AL", "name": "Albania"}, | |
{"code": "DZ", "name": "Argelia"}, | |
{"code": "AS", "name": "Samoa Americana"}, | |
{"code": "AD", "name": "Andorra"}, | |
{"code": "AO", "name": "Angola"}, | |
{"code": "AI", "name": "Anguila"}, | |
{"code": "AG", "name": "Antigua y Barbuda"}, |
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 | |
# Script to make and get android application backup (databases-extract purpose) | |
# Use: agentx_get_backup <package_name> | |
# Example: agentx_get_backup com.ltapps.textscanner | |
package_name=$1 | |
echo ">>>>>> Please, accept backup creation (set password when device is encrypted) <<<<<<" | |
# Execute backup create command | |
adb backup -f /var/tmp/backup.ab -noapk $package_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 com.burockgames.timeclocker.shop; | |
import android.app.Dialog; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.support.v7.app.e; | |
import android.support.v7.widget.Toolbar; | |
import android.view.LayoutInflater; |
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
private String d() { | |
try { | |
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("ddMM", Locale.getDefault()); | |
StringBuilder stringBuilder = new StringBuilder(); | |
stringBuilder.append(this.b.k()); | |
stringBuilder.append(simpleDateFormat.format(Long.valueOf(System.currentTimeMillis()))); | |
String stringBuilder2 = stringBuilder.toString(); | |
int i = 0; | |
int parseInt = Integer.parseInt(this.b.k().substring(0, 2)); | |
int parseInt2 = Integer.parseInt(this.b.k().substring(2, 4)); |
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
# Pretty log format | |
logdog = log --all --decorate --oneline --graph | |
# Prune local branches according to remote ones | |
clean-branches = remote prune origin |