Skip to content

Instantly share code, notes, and snippets.

View cupsadarius's full-sized avatar
🙂

Cupsa Darius cupsadarius

🙂
View GitHub Profile
class Registry {
constructor() {
this.db = {}
}
isSlotAvailable(car, start, duration = 60 * 60 * 1000) {
const slots = this.db[car] || [];
const startTimestamp = start.getTime();
let available = true;
let conflictingSlot;
const skills = require('./SkillList.json');
const log = require('./20210920-235546_eyes_fail.json');
// const log = require('./20210921-002357_eyes_fail.json')
const BAD_SKILLS = {
WARRIOR: [
"Disrupting Stab",
"Pommel Bash",
"Skull Grinder",
"Rupturing Smash",

Keybase proof

I hereby claim:

  • I am cupsadarius on github.
  • I am cupsadarius (https://keybase.io/cupsadarius) on keybase.
  • I have a public key ASBx9J10LcZXgajTONhiq-kii4Pxiu-QlYytJOuZkpiktAo

To claim this, I am signing this object:

Setup Raspberry Pi Media Server

Setup RPI instalation

Flash Download Raspbian for Raspberry Pi on an SD Card

Connect the rpi with a keyboard and login, default username and password are rpi:raspberry.

Run sudo raspi-config to do the initial configuration.

  • Change the default password (1st option - Change User Password)