This file contains 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
from discord.ext import commands | |
import discord | |
import logging | |
import yaml | |
import sqlite3 | |
import time | |
import random | |
import re | |
logging.basicConfig(level=logging.INFO) |
This file contains 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
# -*- coding: utf-8 -*- | |
import os | |
import time | |
import tkinter | |
from tkinter import filedialog | |
root = tkinter.Tk() | |
root.withdraw() | |
def extract_id(filepath): |
This file contains 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
# -*- coding: utf-8 -*- | |
import asyncio | |
import random | |
import logging | |
import yaml | |
import time | |
import discord | |
import sqlite3 | |
from discord.ext import commands |
This file contains 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 Discord = require("discord.js"); | |
const fs = require('fs'); | |
const schedule = require('node-schedule'); | |
const jsonfile = require('jsonfile'); | |
const sqlite3 = require('sqlite3').verbose(); | |
const config = require("./config.json"); | |
const db = new sqlite3.Database('./data/data.db'); | |
db.serialize(function() { |
This file contains 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
package extraconcentratedjuice.RichPresenceGUI; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import extraconcentratedjuice.RichPresenceGUI.Main; | |
public class EventListener implements ActionListener | |
{ | |
@Override | |
public void actionPerformed(ActionEvent e) |
This file contains 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
use std::fs; | |
#[derive(Copy, Clone, Debug, PartialEq)] | |
struct Point { | |
x: f64, | |
y: f64 | |
} | |
fn main() { | |
part2(); |
This file contains 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
use std::fs; | |
use std::collections::VecDeque; | |
use std::collections::HashMap; | |
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] | |
struct Point { | |
x: isize, | |
y: isize | |
} |