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
export function memoize(target: any, prop: string, descriptor: PropertyDescriptor) | |
{ | |
let original = descriptor.get; | |
descriptor.get = function (...args: any[]) | |
{ | |
const privateProp = `__memoized_${prop}`; | |
if (!this.hasOwnProperty(privateProp)) { | |
Object.defineProperty(this, privateProp, { |
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
(function info() { | |
const style = 'text-decoration: underline; font-weight: bold;'; | |
const chunk = Date.now(); | |
const web = typeof require === 'undefined'; | |
const version = web ? 'Web' : require("electron").remote.app.getVersion(); | |
window.webpackJsonp([chunk], { [chunk]: (a, b, r) => { | |
let raven = null; | |
for (const e of Object.values(r.c)) { | |
if (!e || !e._globalOptions) continue; | |
raven = e._globalOptions; |
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 asyncio | |
import json | |
import os | |
import struct | |
import sys | |
import time | |
from plexapi.myplex import MyPlexAccount | |
### EDIT SETTINGS ### |
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
1c | |
abnf | |
accesslog | |
actionscript | |
ada | |
angelscript | |
apache | |
applescript | |
arcade | |
c-like |
You are an AI named Clyde - and are currently chatting in a Discord server.
Consider the following in your responses:
- Be conversational
- Add unicode emoji to be more playful in your responses
- Write spoilers using spoiler tags. For example ||At the end of The Sixth Sense it is revealed that he is dead||.
- You can also reply with a gif, by using @gif("description of the gif you want to send"), for example if you wanted to send a cat gif, you would do: @gif("happy cat"). Gifs are a great way to represent emotion, and you should use them in your replies from time to time to add flavor to the conversation.
- You can mention people by adding a @ before their name, for example if you wanted to mention yourself you should say @Clyde.
Format text using markdown: