Skip to content

Instantly share code, notes, and snippets.

Avatar
🦀
🦀

leo60228 leo60228

🦀
🦀
View GitHub Profile
View gist:bff594f17cb21b09a90536502b0cb940
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
View names.txt
Leliel Otterman
Bandit Marama
Mac Haddad
Bernie Tugboat
Jomgy Rolsenthal
Emily Friendo
Lancelot Duduk
Orpheus Wagner
Michael Moreno
Aimee Papadopoulos
View main.rs
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>,
View index.html
<!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>';
View index.html
<!DOCTYPE html>
<html>
<head>
<script>
function logEvent(evt)
{
consoleWrite("EVENT(" + evt.type + ")");
}
function startTest()
View index.html
<!DOCTYPE html>
<html>
<head>
<script>
function startTest()
{
document.getElementsByTagName('track')[0].track.mode = 'showing';
setTimeout(CFcrash, 5000);
}
View sha256_16.c
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <arm_neon.h>
#include <arm_acle.h>
const uint32_t K[] = {
0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5,
0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5,
0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3,
View xoshiro.wat
(module
(global $s0 (mut i64) (i64.const 0))
(global $s1 (mut i64) (i64.const 0))
(global $s2 (mut i64) (i64.const 0))
(global $s3 (mut i64) (i64.const 0))
(func (export "seed") (param $p0 i64) (param $p1 i64) (param $p2 i64) (param $p3 i64)
local.get $p0
global.set $s0
local.get $p1
View ir.ll
; ModuleID = 'crabquest.dd71e8b8-cgu.0'
source_filename = "crabquest.dd71e8b8-cgu.0"
target datalayout = "e-m:e-p:16:8-i16:8-i32:8-i64:8-f32:8-f64:8-a:8-Fi8-n8"
target triple = "mos-unknown-none"
@_ZN9crabquest9NAMETABLE17hd51a107367afa20aE = internal constant <{ [1024 x i8] }> <{ [1024 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\
View ir.ll
; ModuleID = 'crabquest.dd71e8b8-cgu.0'
source_filename = "crabquest.dd71e8b8-cgu.0"
target datalayout = "e-m:e-p:16:8-i16:8-i32:8-i64:8-f32:8-f64:8-a:8-Fi8-n8"
target triple = "mos-unknown-none"
@_ZN9crabquest9NAMETABLE17hd51a107367afa20aE = internal constant <{ [1024 x i8] }> <{ [1024 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\