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 | |
} | |
} | |
} |
OlderNewer