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
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Net; | |
| using System.Text.RegularExpressions; | |
| using System.Threading.Tasks; | |
| using Newtonsoft.Json; | |
| namespace KHDownload |
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
| namespace HoLLy.DiscordBot.Sandwich.Tools { | |
| public static class GoogleTranslate | |
| { | |
| private const string TranslateEndpoint = "https://translate.google.com/translate_a/single"; | |
| private const string TtsEndpoint = "https://translate.google.com/translate_tts"; | |
| public static readonly Dictionary<string, string> Languages = new Dictionary<string, string> { | |
| {"auto", "Automatic"}, {"af", "Afrikaans"}, {"sq", "Albanian"}, {"am", "Amharic"}, {"ar", "Arabic"}, {"hy", "Armenian"}, | |
| {"az", "Azerbaijani"}, {"eu", "Basque"}, {"be", "Belarusian"}, {"bn", "Bengali"}, {"bs", "Bosnian"}, {"bg", "Bulgarian"}, | |
| {"ca", "Catalan"}, {"ceb", "Cebuano"}, {"ny", "Chichewa"}, {"zh-cn", "Chinese Simp."}, {"zh-tw", "Chinese Trad."}, | |
| {"co", "Corsican"}, {"hr", "Croatian"}, {"cs", "Czech"}, {"da", "Danish"}, {"nl", "Dutch"}, {"en", "English"}, {"eo", "Esperanto"}, |
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
| using System; | |
| using System.Globalization; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Text; | |
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Converters; | |
| using PokeApiDefinitionGenerator; | |
| using QuickType; |
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 json as json_lib | |
| import os | |
| import re | |
| import sys | |
| import requests | |
| # find json link of latest version | |
| game_url = "https://www.crazygames.com/game/bullet-force-multiplayer" | |
| iframe_pattern = re.escape("https://www.crazygames.com/gameframe/bullet-force-multiplayer/CHANGE_ME/index.html").replace("CHANGE_ME", "\\d+") |
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
| use std::{borrow::Cow, collections::BTreeMap}; | |
| use color_eyre::eyre::Context; | |
| use serde::{de::DeserializeOwned, Deserialize, Serialize}; | |
| pub struct DatabaseInstance { | |
| content: DatabaseContent, | |
| } | |
| impl DatabaseInstance { |
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
| { | |
| "experimental.theme_overrides": { | |
| "editor.invisible": "#484848", | |
| "panel.background": "#1d2228", // idk what this is and how it should convert from vsc | |
| "syntax": { | |
| "property": { "color": "#ef596f" } // probably converted wrong | |
| } | |
| } | |
| } |
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
| #pragma author Variant9 | |
| #pragma description Parses SoundFont2 (v2.04) files | |
| #pragma magic [52 49 46 46 ?? ?? ?? ?? 73 66 62 6B] | |
| #pragma endian little | |
| /*! | |
| Describes the SF2 soundfont format. | |
| For more info on SF2: | |
| - Specification: https://www.synthfont.com/sfspec24.pdf | |
| - alt: https://www.polyphone.io/doc/files/sf_specifications_v2.04.pdf |
OlderNewer