tab bar in flutter

tab bar in flutter

import 'package:flutter/material.dart' ; import 'package:get/get.dart' ; import 'package:luminary_fashion_customer_app/utils/constants/colors.dart' ; import '../controllers/booking_controller.dart' ; class BookingView extends…

Continue Reading
Promise vs observables

Promise vs observables

function data(){  return 'Hi Ankit';   return 'Hello Murli' // not a executable code.  }   var observable = Rx.Observable.create((observer: any) =>{   observer.next('Hi Ankit');   observer.next( 'Hello Murli');   })   obser…

Continue Reading
No title

No title

db.getCollection ( "orderhistories" ) .aggregate ([ { $match :{ orderId : 9335 }}, { $project :{ "workshop" :{ "addOnService" :{ "serviceId" : 1 , "product" : 1 …

Continue Reading
No title

No title

GROUP BY & SELECT PARTICULAR FIELDS - MONGO db.getCollection("fake_gps_user_records").aggregate([ {$group:{_id:"$userId",userName:{$first:"$userName"}}}, ])

Continue Reading
Hashing in nest js

Hashing in nest js

// // The key length is dependent on the algorithm. // // In this case for aes256, it is 32 bytes. const textToEncrypt = '1008' ; const iv = randomBytes ( 16 ); const password = 'Password used to generate key' ; //…

Continue Reading

server {         root /var/www/foldername/public/;         index index.html index.htm index.nginx-debian.html index.php;        server_name domain/subdoamin www.example.com;          location / {                     try_files $uri $uri/ /index.php?$query_stri…

Continue Reading
Node api nginx config

Node api nginx config

server {    listen 80;    server_name domain/subdomain;    location / {   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;         proxy_set_header Host $host;         proxy_pass http://localhost: port /api/;         proxy_http_version 1.1;      …

Continue Reading

server {    listen 80;    server_name domainname or subdomain;    location / {         root /var/www/vanilla/dist/;  index  index.html index.htm;  proxy_http_version 1.1;  proxy_set_header Upgrade $http_upgrade;  proxy_set_header Connection 'upgrade';…

Continue Reading
Load More That is All