Skip to content

Instantly share code, notes, and snippets.

View leo60228's full-sized avatar
🦀
🦀

leo60228 leo60228

🦀
🦀
View GitHub Profile
  • ds
  • ds1
  • ds2
  • ds3
  • ds4
  • ds5
  • ds6
  • ds7
  • ds8
  • dsearch
#[cxx_qt::bridge]
mod instances_model {
use helixlauncher_core::config::Config;
use helixlauncher_core::game::{merge_components, prepare_launch, LaunchOptions};
use helixlauncher_core::instance::{Instance, InstanceLaunch, Modloader};
use helixlauncher_core::launcher::launch;
use tokio::runtime::Runtime;
unsafe extern "C++" {
include!(< QAbstractListModel >);
Bulbasaur
Ivysaur
Charmander
Charmeleon
Squirtle
Wartortle
Caterpie
Metapod
Weedle
Kakuna
const {Dex} = require('@pkmn/dex');
const {Generations} = require('@pkmn/data');
const fs = require('fs');
const nonT5File = fs.readFileSync('non_t5.txt').toString().split('\n');
// These species are unobtainable outside of their own generations, but @pkmn/dex doesn't contain
// the artificial 'natDexTier' field which allows Pokémon Showdown to track this so we harcode it.
// If using @pkmn/sim instead, this list can be replaced with a `d.natDexTier !== 'Illegal'` check.
const NATDEX_UNOBTAINABLE_SPECIES = [
Started minecraft-server.service.
Current version is: v0.5.7
New version is: v0.5.7
Already up to date!
Loading manifest file...
Loading pack file...
Loading MultiMC pack file...
MultiMC not detected
Checking local files...
Modpack name: Vriskuilt
Leliel Otterman
Bandit Marama
Mac Haddad
Bernie Tugboat
Jomgy Rolsenthal
Emily Friendo
Lancelot Duduk
Orpheus Wagner
Michael Moreno
Aimee Papadopoulos
use std::env::{consts::EXE_SUFFIX, split_paths, var_os};
use std::path::PathBuf;
use std::process::Command;
#[derive(Clone, Debug, Default)]
pub struct JavaExecutable {
pub path: PathBuf,
pub platform_version: Option<String>,
pub runtime_version: Option<String>,
pub jvm_information: Option<String>,
<!DOCTYPE html>
<html>
<body>
<script>
function prepare() {
var iframe = document.createElement('iframe');
document.body.appendChild(iframe);
var doc = iframe.contentDocument;
doc.body.innerHTML = '<div>hello</div>';
<!DOCTYPE html>
<html>
<head>
<script>
function logEvent(evt)
{
consoleWrite("EVENT(" + evt.type + ")");
}
function startTest()
<!DOCTYPE html>
<html>
<head>
<script>
function startTest()
{
document.getElementsByTagName('track')[0].track.mode = 'showing';
setTimeout(CFcrash, 5000);
}