Map [1]
Operation | Time Complexity |
---|---|
Access | O(log n) |
Search | O(log n) |
Insertion | O(n) for <= 32 elements, O(log n) for > 32 elements [2] |
Deletion | O(n) for <= 32 elements, O(log n) for > 32 elements |
package main | |
import ( | |
"context" | |
"time" | |
"go.mongodb.org/mongo-driver/mongo" | |
"go.mongodb.org/mongo-driver/mongo/options" | |
"go.mongodb.org/mongo-driver/mongo/readpref" | |
) |
import struct | |
import ubluetooth as bt | |
from micropython import const | |
MANUFACTURER_ID = const(0x004C) | |
DEVICE_TYPE = const(0x02) | |
DATA_LENGTH = const(0x15) | |
BR_EDR_NOT_SUPPORTED = const(0x04) | |
FLAG_BROADCAST = const(0x01) | |
MANUFACTURER_DATA = const(0xFF) |
package main | |
import ( | |
"fmt" | |
"sync" | |
) | |
type Fetcher interface { | |
// Fetch returns the body of URL and | |
// a slice of URLs found on that page. |
<div class="container" *ngIf="userLoggedIn"> | |
.... visible only to authenticated users | |
<button *ngIf="user.admin">Delete User</button> | |
</div> |
After setting up docker to generate React app without installing node js in https://gist.github.com/przbadu/4a62a5fc5f117cda1ed5dc5409bd4ac1 It was confusing to some of the devs, how to run react app, so I am creating this as second step to the configuration.
cd my-react-app
touch Dockerfile Dockerfile.dev docker-compose.yml .dockerignore
image: node:12.13.0-alpine | |
before_script: | |
- npm i -g firebase-tools | |
test-functions: | |
stage: test | |
script: | |
- cd functions | |
- npm install |
version: '4.5' | |
services: | |
# GITLAB | |
gitlab-web: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
container_name: gitlab-web | |
hostname: '192.168.0.14' | |
environment: |
const nodemailer = require("nodemailer"); | |
const path = require("path"); | |
const hbs = require("nodemailer-express-handlebars"); | |
const exphbs = require("express-handlebars"); | |
const Handlebars = require("handlebars"); | |
const { | |
allowInsecurePrototypeAccess, | |
} = require("@handlebars/allow-prototype-access"); | |
/** Start Mail Helper */ |