create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
public final class HttpClientUtils { | |
private static final Logger LOGGER = LoggerFactory.getLogger(HttpClientUtils.class); | |
private static final int CONNECTION_TIMEOUT = 10000; | |
private HttpClientUtils() { | |
} | |
/** |
public final class PermissionUtils { | |
private PermissionUtils() {} | |
public static void askPermissionIfNeeded(@NonNull final Activity activity, | |
@NonNull final View layoutView, | |
@StringRes final int message, | |
final int requestCode, | |
@NonNull final String[] permissions) { | |
if (!permissionsGranted(activity, permissions)) { |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
public class StringBruteForceGenerator { | |
public static final char[] CYRILLIC_CHARSET = "абвгдеєжиіїйклмнопрстуфхцчшщьюя".toCharArray(); | |
private char[] charset; | |
public StringBruteForceGenerator(final char[] charset) { | |
this.charset = charset; | |
} |
/* | |
* Copyright 2014 Yuriy Yunikov | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
#!/bin/bash | |
export KUBECONFIG=$HOME/.kube/config | |
#Download an OSX binary minikube | |
# minikube-darwin-amd64 | |
# | |
# https://github.com/kubernetes/minikube/releases | |
# Put it somewhere that you can run it from: /usr/local/bin/minikube && chmod +x /usr/local/bin/minikube | |
# Download Docker Machine Hyperkit Driver |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg |
public abstract class DaoMaster<T extends Entity> { | |
protected SQLiteDatabase mSQLiteDatabase; | |
protected Context mContext; | |
public DaoMaster(final Context context, final SQLiteDatabase sqLiteDatabase) { | |
mSQLiteDatabase = sqLiteDatabase; | |
mContext = context; | |
} |