I hereby claim:
- I am zmarkan on github.
- I am zmarkan (https://keybase.io/zmarkan) on keybase.
- I have a public key whose fingerprint is 8517 B907 4A44 4A05 44B6 5627 A198 C8CF 11DD BA67
To claim this, I am signing this object:
public interface HTTPHelperWrapper { | |
//your methods go here | |
void getRequest(Callback callback); | |
} | |
public class HTTPHelperWrapperImpl overrides HTTPHelperWrapper { | |
@Override | |
public void getRequest(Callback callback){ |
// Sample basket data entity | |
class BasketItem{ | |
int id; | |
String name; | |
String imageUrl; | |
int quantity; | |
float price; | |
} |
I hereby claim:
To claim this, I am signing this object:
private fun hasDefaultFCMIconInMetadata(context: Context): Boolean { | |
try { | |
val appInfo = context.packageManager.getApplicationInfo( | |
context.packageName, PackageManager.GET_META_DATA) | |
if (appInfo.metaData != null) { | |
return appInfo.metaData.getInt(META_DATA_FIREBASE_NOTIFICATION_IMAGE, -1) != -1 | |
} | |
} catch (_: PackageManager.NameNotFoundException) { | |
} |
# Run in empty dir: | |
python3 -m venv .env | |
# Enable venv | |
. .env/bin/activate && python -V |
javascript: (function(){
let location = window.location.href;
let validatorRegex = /https:\/\/github.com\/[a-z][a-zA-z0-9\-\_]+\/[a-z][a-zA-z0-9\-\_]+\/commit\/[a-f0-9]+/g;
let match = location.match(validatorRegex);
if(!match){
# Add this to your BASH or ZSH profile. | |
# Execute with ciffs | |
alias ciffs='branchname=`git rev-parse --abbrev-ref HEAD` && git commit -am "CI FFS" && git push origin $branchname' |
version: '2.1' | |
jobs: | |
install-login-deploy: | |
docker: | |
- image: cimg/base:stable | |
steps: | |
- checkout | |
- run: | |
name: Install Cloud Foundry CLI |