You need to provide some classes and decorators yourself to maintain the same style as [email protected]
.
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}
↓
You need to provide some classes and decorators yourself to maintain the same style as [email protected]
.
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}
↓
Here's how I configured a GitHub Action so that a new version issued by GitHub's release interface will build a Dockerfile, tag it with the version number and upload it to Google Artifact Registry.
Before you attempt the steps below, you need the following:
Hey Apple users:
If you're now experiencing hangs launching apps on the Mac, I figured out the problem using Little Snitch.
It's trustd connecting to http://ocsp.apple.com >
import { ModuleMetadata, Type } from '@nestjs/common/interfaces' | |
/** | |
* Options that ultimately need to be provided to create a MongoDB connection | |
*/ | |
export interface MongoModuleOptions { | |
connectionName?: string | |
uri: string | |
dbName: string | |
clientOptions?: any |
import { ModuleMetadata, Type } from '@nestjs/common/interfaces' | |
/** | |
* Options that ultimately need to be provided to create a MongoDB connection | |
*/ | |
export interface MongoModuleOptions { | |
connectionName?: string | |
uri: string | |
dbName: string | |
clientOptions?: any |
import math | |
ICO_SUPPLY = 10**9 | |
DECIMALS = 8 | |
FLOAT_FACTOR = 10**DECIMALS | |
IMUSIFY_OPERATION_STACK = (3-1) * ICO_SUPPLY * FLOAT_FACTOR | |
SOME_USER_ADDRESS = 'ASsudg...poor soul' | |
IMUSIFY_MAIN_IMU_ADDRESS = "AXjsdb...much IMU here" | |
IMUSIFY_OPERATION_IMU_ADDRESS = "AKjsdb...less IMU here" |
import { Component, OnInit, OnDestroy } from '@angular/core'; | |
import {Http} from "@angular/http"; | |
import { LocalCacheService } from "./local-cache.service"; | |
@Component({ | |
selector: 'app-example', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.scss'] | |
}) | |
export class ExampleComponent implements OnInit, OnDestroy { |
There is no way to store an empty object/array/null value. | |
There are also no actual arrays. Array values get stored as objects with integer keys. | |
(If all keys are integers, it will be returned as an array.) | |
Basically, it's one giant tree of hashes with string keys. | |
Simply write a value to any location, and the intermediary locations will automatically come into existance. | |
── Classes ── | |
DataSnapshot : Container for a subtree of data at a particular location. |