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
<p>Message: <span id="message"></span></p> | |
<p>Encrypted: <span id="encrypted-text"></span></p> | |
<p>Decrypted text: <span id="decrypted-text"></span></p> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/** | |
* Type definitions for express-boom | |
* Definitions by: Sandeep K Nair <https://github.com/sandeepsuvit> | |
* @author: Sandeep K Nair | |
*/ | |
declare namespace Express { | |
interface Boom { | |
// Add boom's properties in here | |
wrap: (error: Error, statusCode?: number, message?: string) => BoomError; | |
create: (statusCode: number, message?: string, data?: any) => BoomError; |
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 CommonUtils = { | |
/** | |
* Get the decades from year | |
* ========================================================================= | |
* This utility will get the nearest decades of a year.<br/> | |
* example: getDecadesFromYear(1965) -> { start: 1960, end: 1970 } | |
* <br/> | |
* | |
* @return {[type]} [description] |
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 { |
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
<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
<!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
<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
## | |
# File properties | |
## | |
UPLOAD_LOCATION=/Users/dummyusername/Documents/temp/nvaluate | |
# Max 5Mb allowed | |
MAX_FILE_SIZE=5 | |
MAX_FILE_COUNTS=20 |
OlderNewer