This is a snippet that uses firebase's firebase-admin to initialize multiple firebase projects in one admin application.
import 'firebase';This is a snippet that uses firebase's firebase-admin to initialize multiple firebase projects in one admin application.
import 'firebase';| /** | |
| _____ _____ _ | |
| | __ \ / ____| | | | |
| | | | | ___| | _ __ _ _ _ __ | |_ ___ _ __ | |
| | | | |/ _ \ | | '__| | | | '_ \| __/ _ \| '__| | |
| | |__| | __/ |____| | | |_| | |_) | || (_) | | | |
| |_____/ \___|\_____|_| \__, | .__/ \__\___/|_| | |
| __/ | | | |
| |___/|_| | |
| */ |
| export {} | |
| declare global { | |
| interface Date { | |
| addDays(days: number, useThis?: boolean): Date; | |
| isToday(): boolean; | |
| clone(): Date; | |
| isAnotherMonth(date: Date): boolean; | |
| isWeekend(): boolean; | |
| isSameDate(date: Date): boolean; |
| <android.support.v4.widget.SwipeRefreshLayout | |
| android:id="@+id/refreshLayout" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <android.support.v4.widget.NestedScrollView | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <LinearLayout |
| public class Home extends AppCompatActivity{ | |
| ... | |
| @Override | |
| public boolean onCreateOptionsMenu(Menu menu) { | |
| getMenuInflater().inflate(R.menu.menu_shop, menu); | |
| for (int i = 0; i < menu.size(); i++) { | |
| Drawable drawable = menu.getItem(i).getIcon(); | |
| if (drawable != null) { | |
| drawable.mutate(); | |
| drawable.setColorFilter(getResources().getColor(R.color.white), PorterDuff.Mode.SRC_ATOP); |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.graphics.BitmapShader; | |
| import android.graphics.Canvas; | |
| import android.graphics.PorterDuff; | |
| import android.graphics.Shader; | |
| import android.graphics.drawable.BitmapDrawable; | |
| import android.graphics.drawable.ClipDrawable; | |
| import android.graphics.drawable.Drawable; | |
| import android.graphics.drawable.LayerDrawable; |
| #!/bin/sh | |
| set -e | |
| if [ -z "$1" ]; then | |
| shot_path=$(date +%Y-%m-%d-%H-%M-%S).mp4 | |
| else | |
| shot_path="$*" | |
| fi |
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have:
ssh 10.6.11.62,eu-west-1sudo yum install gccsudo yum install wgetwget http://download.redis.io/redis-stable.tar.gztar xvzf redis-stable.tar.gzcd redis-stablemakesrc/redis-cli -h mycachecluster.eaogs8.0001.usw2.cache.amazonaws.com -p 6379Now run redis commands: