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
| { | |
| "Ansi 5 Color" : { | |
| "Red Component" : 0.99999600648880005, | |
| "Color Space" : "sRGB", | |
| "Alpha Component" : 1, | |
| "Blue Component" : 0.5058789849281311, | |
| "Green Component" : 0.25095921754837036 | |
| }, | |
| "Working Directory" : "\/Users\/dev", | |
| "Prompt Before Closing 2" : false, |
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
| apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| name: birkhe-api-secret-v1 | |
| type: Opaque | |
| data: | |
| api_token: >- | |
| dGhpc19pc19hX2JpcmtoZV9zZWNyZXRfdjEK | |
| --- | |
| apiVersion: v1 |
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
| https://viewer.diagrams.net/?tags=%7B%7D&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Computer%20Basics.drawio#R7V1bc%2BI4Fv41VM08JGX5Co8JdDo9k2xnlqQy%2ByhsAZrYltcXCPPrV%2FINWxLBDNhOYKtTHXyQLPt8R%2BemI2Wgjb337yEMlo%2FEQe5AVZz3gTYZqKpqAZX%2BYpRNRgHANDLKIsROTtsSpvhvlBOVnJpgB0W1hjEhboyDOtEmvo%2FsuEaDYUjW9WZz4tZHDeACCYSpDV2R%2BoqdeJlRh4aypd8jvFgWIwMl%2F8aDReOcEC2hQ9YVkvZtoI1DQuLsk%2Fc%2BRi7jXsGXrN%2Fdjm%2FLBwuRHzfpoEZgZKpX67ffp3Ngr%2F54GU7Nq%2FwuK%2Bgm%2BQvfBIGLbRhj4kf5g8ebghsxeqdj3S5jz6UEQD9GcUje0Ji4JKQUn%2Fi05e0cuy5Hgi5e%2BPTSpk%2BLKP12hcKYjuPe5F942HHYMLfrJY7RNIA2G3NNxYrSQpL4DmIvotCr%2FJnpDdD7TmaAksVUOBHxUBxuaJO8w5Vm5rDkglmgtN6CXLRYVvDVchrMxWpR3nnLefohZ%2F4BQKgCEALzke%2FcMIlmXHRhFGG7DoWMScgRxJtjER2CJKGN9gmJyMoKqwwJqwpaiFwqTav6Y8j4l4%2FwRDB9wApSeh2pcoYV98ieP%2B9WnQDCnTTuTjyaMQwXKBbulAJavvg%2Fx1iTYGy66YSibDEX7NOUzOM1xYi2q8zEoh0ddtu0IDp4xZNmIU%2BhPSXtKqTXJWS8WrORkwg17nfEkN8JWbhsvPEypMxt3O8Zv8XkrXHzO6pKZoR1YCz9BfpOSChObMab0GPqJfufwUeiXxvfdww9FEImPkGwq9PJ9GdEFSL2F5RgbK%2BeCX3uyZWq7FCbhOrIuZtqjCVVr8hvRZXqgJtWhqh |
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
| """ | |
| Central Client for Lookmovie operations | |
| """ | |
| from typing import List | |
| import requests | |
| from ..lib.endpoints import Endpoints |
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
| // const credentials = { | |
| // username: 'testName', | |
| // password: 'testPassword', | |
| // }; | |
| // const exampleProjectId = 'myTestProjectId'; | |
| // const exampleConversationId = 'myTestConversationId'; | |
| // const exampleConsumerId = 'myTestConsumerId'; | |
| // let constructorCalled = 0; | |
| // let authenticateCalled = 0; |
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 { WebSocketServer } from 'ws'; | |
| import httpStatus from 'http-status'; | |
| import { SOCKET_EVENTS } from 'utils/constants'; | |
| import { randomUUID } from 'crypto'; | |
| import first from 'lodash/first'; | |
| class WebSocketController { | |
| constructor(app) { | |
| this.app = app; | |
| this.sockets = new Map(); | |
| this.listeners = new Map(); |
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
| const sessions = [ | |
| { | |
| id: '1', | |
| stepPath: ['a', 'c'] | |
| }, { | |
| id: '2', | |
| stepPath: ['a', 'd', 'g'] | |
| }, { | |
| id: '3', | |
| stepPath: ['a', 'd', 'h'] |
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 crypto from 'crypto'; | |
| import jwt from 'jsonwebtoken'; | |
| import { readFileSync } from 'fs'; | |
| const USER = { | |
| email: 'shankarregmi@gmail.com', | |
| fullName: 'Shankar Regmi', | |
| roles: ['admin'], | |
| } |
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
| class Heap { | |
| constructor() { | |
| this.data = []; | |
| } | |
| insert(val) { | |
| this.data.push(val); | |
| let currIdx = this.data.length - 1; | |
| let parentIndex = this.getParent(currIdx); |
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
| { | |
| "Working Directory" : "\/Users\/shankarregmi", | |
| "Prompt Before Closing 2" : false, | |
| "Selected Text Color" : { | |
| "Red Component" : 0.92549020051956177, | |
| "Color Space" : "sRGB", | |
| "Blue Component" : 0.94509798288345337, | |
| "Alpha Component" : 1, | |
| "Green Component" : 0.93725484609603882 | |
| }, |
NewerOlder