create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
// error image in the phone | |
Glide.with(context) | |
.load("yourImageURL") | |
.placeholder(R.drawable.ic_image) | |
.error(R.drawable.ic_error) | |
.into(imageView) | |
// load another image error | |
Glide.with(context) | |
.load("yourImageURL") |
/* | |
* How to effectively use Glide to load Images in both RecyclerView and normal ImageView in layout, when we do not know the image size before hand. | |
* My ImageViews are both wrap-content, also my REST api does not provide size values in responses. | |
* Moreover I have many different image sizes in views. | |
*/ | |
... // Somewhere in my Adapter | |
internal var isImageSizeFound = false | |
inner class ShowsListViewHolder internal constructor(itemView: View) : |
val spanned = spannable{ bold("some") + italic(" formatted") + color(Color.RED, " text") } | |
val nested = spannable{ bold(italic("nested ")) + url("www.google.com", "text") } | |
val noWrapping = bold("no ") + sub("wrapping ) + sup("also ") + "works" | |
text_view.text = spanned + nested + noWrapping |
{ | |
"info": { | |
"name": "Login with Amazon (OAuth)", | |
"_postman_id": "c1a33327-55de-7a7c-0103-44829c86b65a", | |
"description": "A small collection of sample requests in the OAuth flow for LWA authentication.", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "1 LWA Get Authorization Code", |
var db = firebase.firestore(); | |
var content = require("./sourceData.json"); | |
content && | |
Object.keys(content).forEach(contentKey => { | |
const nestedContent = content[contentKey]; | |
if (typeof nestedContent === "object") { | |
Object.keys(nestedContent).forEach(docTitle => { | |
firebase | |
.firestore() |
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). | |
# Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and | |
# run `sudo service procps start` or reboot. | |
# Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit | |
# | |
# More information resources: | |
# -$ man inotify # manpage | |
# -$ man sysctl.conf # manpage | |
# -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use |
# create a launcher on your prefered Desktop Environment, mine is XFCE and add the below line to 'command' section. | |
# next, Select an icon for the launcher and thats it. | |
``` fish | |
/run/media/rinav/sdk/android-sdk/tools/emulator -avd Nexus_6P_API_25 -use-system-libs | |
``` | |
OR | |
you can also add the following environment to your shell. I am using fish shell, so below is the syntax for the same |