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
| #include <stdio.h> | |
| #include <string> | |
| #include <iostream> | |
| #include <vector> | |
| int main(){ | |
| auto s = new std::vector<std::string>();s->push_back("udon");s->push_back("ramen");s->push_back("soba"); | |
| auto t = s; s = NULL; | |
| auto u = s; s = NULL; | |
| std::cout << (*s)[0] << std::endl; |
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
| // under construction ... | |
| sealed trait BusinessDaySpec | |
| case object WorkDay extends BusinessDaySpec | |
| case object Holiday extends BusinessDaySpec | |
| sealed trait MovieDaySpec | |
| case object MovieDay extends MovieDaySpec |
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
| // "dependencies": { | |
| // "@google-cloud/pubsub": "^2.3.0", | |
| // "firebase-admin": "^9.8.0", | |
| // "firebase-functions": "^3.14.1" | |
| // }, | |
| import * as functions from "firebase-functions"; | |
| import { PubSub } from '@google-cloud/pubsub'; |
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 glob | |
| import cv2 | |
| import numpy as np | |
| import os | |
| import tqdm | |
| from PIL import Image, ImageChops | |
| def effect_gamma(image): | |
| gamma = 1.5 | |
| gamma_cvt = np.zeros((256,1),dtype = 'uint8') |
OlderNewer