Skip to content

Instantly share code, notes, and snippets.

View ezra-en's full-sized avatar

EzraEn ezra-en

  • Australia
  • 02:57 (UTC +08:00)
View GitHub Profile
<script setup>
// these are imports for the two libraries you need: mupdf, and tauri's filesystem plugin
import * as mupdf from "../../node_modules/mupdf/dist/mupdf.js";
import { readDir, BaseDirectory } from "@tauri-apps/plugin-fs";

// This is the function that fires when you put something into the <input/> element down there, it gets fed the `event.target.files` argument fed by the element and you accept it as the "file" variable in the function scope.
window.openFile = async function openFile(file) {
  console.log("OPEN DOCUMENT", file.name);
  console.log(file);
@ezra-en
ezra-en / shibboleth
Created April 29, 2021 01:02
Shibboleth
CLI: Command Line Interface
GUI: Graphical User Interface
- A way to issue orders by typing in text commands. No clicking here.
Git: A CLI program used for software Source Code and Version Management. Industry-standard, essential to learn.
@ezra-en
ezra-en / modlist.md
Last active November 16, 2020 11:08
Manual Installation

OUTDATED, PLEASE GO TO https://bteguide.rtfd.io FOR REFERENCE INSTEAD

Download and run this first:

Run the .jar and Select Client Install and install. The directory should automatically be configured, so don't touch that.

Then download and put these into your /mods folder