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 path = require('path'); | |
const fs = require('fs'); | |
// CONSTANTS // | |
const STARTING_ENTRY = 40; | |
const ENDING_ENTRY = 89; | |
const CARS = [ | |
['traffic_audi_a4_jp'], | |
['traffic_isuzu_flatbed'], | |
['traffic_isuzu_hauler'], |
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
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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://stackoverflow.com/a/66697096/2006429 | |
import Foundation | |
enum ChangeOp: String, Encodable { | |
case replace | |
case append | |
} | |
enum ChangePath: String, Encodable { |
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 os | |
import time | |
import pickle | |
import urllib3 as urllib | |
import numpy as np | |
import cv2 as cv | |
from keras.models import load_model | |
from keras.applications import VGG16 | |
import tweepy |
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
require('express')() | |
.get('/', (req, res) => res.send('Hello World!')) | |
.listen(3000, () => console.log(`Example app listening on port ${3000}!`)); |
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
var config = { | |
server: 'irc.freenode.net', /**< Server address */ | |
userName: 'jsrunner', /**< Display name */ | |
realName: 'Javascript/Typescript/Coffeescript Runner', /**< Real name */ | |
password: undefined, /**< Password (plaintext string) */ | |
port: 6667, /**< Server port */ | |
debug: false, | |
showErrors: false, | |
autoRejoin: false, | |
autoConnect: false, |