This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* CSS Inline Transform v0.1 | |
* http://tikku.com/css-inline-transformer-simplified | |
* | |
* Copyright 2010-2012, Nirvana Tikku | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt | |
* | |
* This tool leverages the jQuery library. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.net.URISyntaxException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.security.KeyFactory; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.PrivateKey; | |
import java.security.interfaces.RSAPublicKey; | |
import java.security.spec.InvalidKeySpecException; | |
import java.security.spec.PKCS8EncodedKeySpec; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module } from '@nestjs/common'; | |
import { AppController } from './app.controller'; | |
import { AppService } from './app.service'; | |
import { TenancyModule } from '@app/tenancy'; | |
import { OrderModule } from './order'; | |
import { PaymentModule } from './payment'; | |
import { Request } from 'express'; | |
@Module({ | |
imports: [TenancyModule.forRoot({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# File properties | |
## | |
UPLOAD_LOCATION=/Users/dummyusername/Documents/temp/nvaluate | |
# Max 5Mb allowed | |
MAX_FILE_SIZE=5 | |
MAX_FILE_COUNTS=20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<textarea placeholder="Type a message" (paste)="onPaste($event)"></textarea> | |
<!-- Place to render the image --> | |
<img #imgRenderer /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
</head> | |
<body> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="img-container"> | |
<img class="img-to-fit" src="https://images.pexels.com/photos/8633/nature-tree-green-pine.jpg" /> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set of utility functions | |
export const TimeUtils = { | |
/** | |
* Get the time of day | |
* ========================================================================= | |
* This utility will get the time of day like Morning, Afternoon, Evening. | |
* <br/> | |
* | |
* example: getTimeOfDay() -> morning | |
* example: getTimeOfDay(new Date()) -> afternoon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -------------------------------------------------------------------------- */ | |
// For bootstrap 3 | |
.d-flex { | |
display: flex; | |
/* alignment */ | |
&.flex-row { | |
flex-direction: row; | |
} | |
&.flex-row-reverse { |
NewerOlder