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
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "weeklyWalletInfo" JSON ; | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "monthlyWalletInfo" JSON; | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "weeklyRewardClaimed" float default 0; | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "weeklyRewardClaimedDate" timestamp default now(); | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "monthlyReward" float default 0; | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "monthlyRewardClaimed" float default 0; | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "monthlyRewardClaimedDate" timestamp default now(); | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "dailyReward" JSON; | |
| ALTER TABLE rewards ADD COLUMN IF NOT EXISTS "weeklyReward" float default 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
| /* eslint-disable no-console */ | |
| const seedrandom = require('seedrandom'); | |
| const { generateDeck } = require('./utils/hilo-utils'); | |
| const { Hilo } = require('../constants'); | |
| const { DECK } = Hilo; | |
| const { Suits, Values } = DECK; | |
| const KING = 'K'; | |
| const ACE = 'A'; | |
| const getRamdonCard = () => { |
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 seedrandom = require('seedrandom'); | |
| const { assert, expect } = require('chai'); | |
| global.assert = Object.freeze(assert); | |
| global.expect = Object.freeze(expect); | |
| const { HiloGame } = require('./hilo'); | |
| const { Hilo } = require('../constants'); | |
| const { DECK, ClickOptions } = Hilo; | |
| const { Values, Suits } = DECK; |
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
| version: "3.9" | |
| services: | |
| mongodb: | |
| image: "mongo" | |
| container_name: mongodb | |
| restart: always | |
| ports: | |
| - "27018:27017" | |
| volumes: | |
| - mongoData:/data/db |
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
| 5 openssl genrsa -out app.rsa 1024 #private | |
| openssl rsa -in app.rsa -pubout > app.rsa.pub #public |
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://teams.microsoft.com/l/meetup-join/19%3ameeting_ZjVjYzhmYTgtNWVjNi00MmI2LWI3NDUtYzNmNTNjODMxYmRk%40thread.v2/0?context=%7b%22Tid%22%3a%223a8d28ab-a537-4277-a9b0-f066a7aeb73f%22%2c%22Oid%22%3a%229fd0aad7-719b-4571-ab97-1b4a643f9373%22%7d |