This file contains hidden or 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
| <head> | |
| <script src="https://player.live-video.net/1.18.0/amazon-ivs-player.min.js"></script> | |
| </head> | |
| <body> | |
| <div id="app"> | |
| <div class="inner"> | |
| <!-- Player wrapper, forcing 16:9 aspect ratio --> | |
| <div class="player-wrapper"> |
This file contains hidden or 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 * as winston from 'winston'; | |
| export class LoggerService { | |
| private static myLogger = winston.createLogger({ | |
| format: winston.format.json(), | |
| transports: [ | |
| new winston.transports.File({filename: process.cwd() + '/project.logs'}), | |
| ], | |
| }); |
This file contains hidden or 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 {LoggerService} from "./LoggerService"; | |
| LoggerService.writeErrorLog('Hello Error Log'); | |
| LoggerService.writeInfoLog('Hello Info Log'); |
This file contains hidden or 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 * as winston from 'winston'; | |
| export class LoggerService { | |
| private static myLogger = winston.createLogger({ | |
| format: winston.format.json(), | |
| transports: [ | |
| new winston.transports.File({filename: process.cwd() + '/project.logs'}), | |
| ], | |
| }); |
This file contains hidden or 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.util.LinkedList; | |
| import java.util.Queue; | |
| import java.util.Scanner; | |
| /*In the name of Allah the Most Merciful. | |
| * Author | |
| * Md. Toufiqul Islam | |
| * Dept. Of CSE | |
| * Ahsanullah University Of Science And Technology | |
| */ |
This file contains hidden or 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
| function getRandomNumber(min,max){ | |
| return Math.floor(Math.random()*(max-min+1))+min; | |
| } | |
| function getChar(){ | |
| var charArray = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]; | |
| var index = getRandomNumber(0,25); | |
| return charArray[index]; | |
| } |
This file contains hidden or 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
| //package Searching; | |
| public class Main { | |
| static int linearSearch(int[] array,int item){ | |
| int position =-1; | |
| for(int i=0;i<array.length;i++){ | |
| if(array[i]==item){ | |
| position =i; | |
| break; | |
| } |