// ensure that "id" and "name" are output before other properties @JsonPropertyOrder({ "id", "name" }) // order any properties that don't have explicit setting using alphabetic order <span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span>@JsonPropertyOrder(alphabetic=true)
Year: 2018
Architect
About Docker
Docker for dummies. Microservice. (https://habrahabr.ru/post/346634/)
Почему вы должны обратить внимание на Docker? [https://nuancesprog.ru/p/3161]
Список важнейших команд в Docker
[https://nuancesprog.ru/p/7359/]
Case-sensitive git in Mac OS X like a Pro
Is android app in foreground
https://stackoverflow.com/questions/8489993/check-android-application-is-in-foreground-or-not
class ForegroundCheckTask extends AsyncTask<Context, Void, Boolean> { @Override protected Boolean doInBackground(Context... params) { final Context context = params[0].getApplicationContext(); return isAppOnForeground(context); } private boolean isAppOnForeground(Context context) { ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); List<RunningAppProcessInfo> appProcesses = activityManager.getRunningAppProcesses(); if (appProcesses == null) { return false; } final String packageName = context.getPackageName(); for (RunningAppProcessInfo appProcess : appProcesses) { if (appProcess.importance == RunningAppProcessInfo.IMPORTANCE_FOREGROUND && appProcess.processName.equals(packageName)) { return true; } } return false; } } // Use like this: boolean foregroud = new ForegroundCheckTask().execute(context).get();