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 { Ai } from "partykit-ai"; | |
| import type * as Party from "partykit/server"; | |
| type MessageTypes = 'initialize' | 'fingerprint.get' | 'fingerprint.set' | 'fingerprint.set.success'; | |
| export default class Server implements Party.Server { | |
| ai: Ai; | |
| constructor(public room: Party.Room) { | |
| this.ai = new Ai(room.context.ai); |
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
| /* Dark mode colors. */ | |
| /*https://starlight.astro.build/guides/css-and-tailwind/#theming*/ | |
| :root { | |
| --sl-font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |
| --sl-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | |
| --sl-color-white: #fff; | |
| --sl-color-gray-1: #eeeeee; | |
| --sl-color-gray-2: #c2c2c2; | |
| --sl-color-gray-3: #8b8b8b; | |
| --sl-color-gray-4: #4b5563; |
This file has been truncated, but you can view the full file.
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
| "{12A8BAB6-0186-2125-E063-4804A8C08CC1}","480000","2021-10-11 00:00","CF64 3AW","F","N","L","BRON Y GLYN APARTMENTS, 18","APARTMENT 5","BRIDGEMAN ROAD","","PENARTH","THE VALE OF GLAMORGAN","THE VALE OF GLAMORGAN","A","A" | |
| "{12A8BAB6-01A6-2125-E063-4804A8C08CC1}","163500","2021-08-26 00:00","CF48 1BF","S","N","F","1","","PEN CERRIG RISE","HEOLGERRIG","MERTHYR TYDFIL","MERTHYR TYDFIL","MERTHYR TYDFIL","A","A" | |
| "{12A8BAB6-01C1-2125-E063-4804A8C08CC1}","125000","2021-12-20 00:00","CF81 8SR","T","N","F","69","","PARK ROAD","","BARGOED","CAERPHILLY","CAERPHILLY","A","A" | |
| "{12A8BAB6-0257-2125-E063-4804A8C08CC1}","125000","2021-07-30 00:00","SA44 4PG","D","N","F","PANTYREITHINEN","","","CAPEL DEWI","LLANDYSUL","CEREDIGION","CEREDIGION","A","A" | |
| "{12A8BAB6-0265-2125-E063-4804A8C08CC1}","150000","2021-11-16 00:00","CF11 7JT","F","N","L","64","","FFORDD JAMES MCGHAN","GRANGETOWN","CARDIFF","CARDIFF","CARDIFF","A","A" | |
| "{12A8BAB6-0297-2125-E063-4804A8C08CC1}","400000","2021-12-01 00:00","SA62 5QT","D","N","F","PENLAN","",""," |
This file has been truncated, but you can view the full file.
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
| {12A8BAB6-0186-2125-E063-4804A8C08CC1} 480000 2021-10-11 00:00 CF64 3AW F N L BRON Y GLYN APARTMENTS, 18 APARTMENT 5 BRIDGEMAN ROAD PENARTH THE VALE OF GLAMORGAN THE VALE OF GLAMORGAN A A | |
| {12A8BAB6-01A6-2125-E063-4804A8C08CC1} 163500 2021-08-26 00:00 CF48 1BF S N F 1 PEN CERRIG RISE HEOLGERRIG MERTHYR TYDFIL MERTHYR TYDFIL MERTHYR TYDFIL A A | |
| {12A8BAB6-01C1-2125-E063-4804A8C08CC1} 125000 2021-12-20 00:00 CF81 8SR T N F 69 PARK ROAD BARGOED CAERPHILLY CAERPHILLY A A | |
| {12A8BAB6-0257-2125-E063-4804A8C08CC1} 125000 2021-07-30 00:00 SA44 4PG D N F PANTYREITHINEN CAPEL DEWI LLANDYSUL CEREDIGION CEREDIGION A A | |
| {12A8BAB6-0265-2125-E063-4804A8C08CC1} 150000 2021-11-16 00:00 CF11 7JT F N L 64 FFORDD JAMES MCGHAN GRANGETOWN CARDIFF CARDIFF CARDIFF A A | |
| {12A8BAB6-0297-2125-E063-4804A8C08CC1} 400000 2021-12-01 00:00 SA62 5QT D N F PENLAN SPITTAL HAVERFORDWEST PEMBROKESHIRE PEMBROKESHIRE A A | |
| {12A8BAB6-02A8-2125-E063-4804A8C08CC1} 146250 2021-10-01 00:00 NP19 7ED S N F 2 REDBRICK GARDENS NEWPORT NEWPORT NEWPORT A A |
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 WebsocketClient = require('websocket').client, | |
| colors = require('colors'), | |
| sprintf = require('sprintf-js').sprintf; | |
| var ws = new WebsocketClient(); | |
| var asks = bids = {}; | |
| var now = function () { | |
| var date = new Date(); | |
| return sprintf("%02d:%02d:%02d", date.getHours(), date.getMinutes(), date.getSeconds()); |
NewerOlder