Skip to content

Instantly share code, notes, and snippets.

View Redrield's full-sized avatar

Kaitlyn Kenwell Redrield

View GitHub Profile
use wasmtime::*;
use wasmtime_wasi::*;
pub struct PluginInstance {
inst: Instance,
buf_ptr_base: i32,
buf_pool_size: usize,
write_offset: isize,
}
package frc.team4069.saturn.lib.mathematics.statespace
import edu.wpi.first.wpilibj.math.Drake
import edu.wpi.first.wpilibj.math.StateSpaceUtils
import edu.wpi.first.wpiutil.math.Matrix
import edu.wpi.first.wpiutil.math.Nat
import edu.wpi.first.wpiutil.math.Num
import frc.team4069.saturn.lib.mathematics.matrix.Vector
import frc.team4069.saturn.lib.mathematics.matrix.eye
import frc.team4069.saturn.lib.mathematics.matrix.zeros
#![feature(lang_items)] // required for defining the panic handler
#![no_std] // don't link the Rust standard library
#![cfg_attr(not(test), no_main)] // disable all Rust-level entry points
#![cfg_attr(test, allow(dead_code, unused_macros))] // allow unused code in test mode
extern crate spin;
extern crate volatile;
#[macro_use]
extern crate lazy_static;
# Written by com.deepin.daemon.Grub2
GRUB_BACKGROUND="/boot/grub/themes/deepin/background.png"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="" #default quiet
GRUB_DEFAULT="0"
GRUB_DISABLE_RECOVERY=true
GRUB_DISTRIBUTOR="`/usr/bin/lsb_release -d -s 2>/dev/null || echo Deepin`"
GRUB_GFXMODE="auto"
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
✘ redrield@redrield-Acer-V3-575T  ~/IdeaProjects/Remind/daemon   master ●✚  cargo build --verbose
Fresh toml v0.2.1
Fresh cfg-if v0.1.2
Fresh pkg-config v0.3.9
Fresh libc v0.2.32
Fresh num-traits v0.1.40
Fresh rustc-demangle v0.1.5
Fresh cc v1.0.0
Fresh lazy_static v0.2.9
Fresh quick-error v1.2.1
@Redrield
Redrield / JUser.java
Last active September 7, 2017 03:13 — forked from Sxtanna/JUser.java
User Classes
import java.util.Objects;
public final class JUser {
private static final int DEFAULT_AGE = 1;
private static final String DEFAULT_MIDDLE = "";
// start fields
private int age;
//
// Created by redrield on 26/08/17.
//
#include <WPILib.h>
#include <ctrlib/CANTalon.h>
class Robot : public frc::SampleRobot {
public:
void OperatorControl() override {
/*
This Source Code Form is subject to the terms of the Mozilla
Public License, v. 2.0. If a copy of the MPL was not distributed
with this file, You can obtain one at https://mozilla.org/MPL/2.0.
*/
package com.redrield.qrtest;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.MultiFormatWriter;

Keybase proof

I hereby claim:

  • I am Redrield on github.
  • I am redrield (https://keybase.io/redrield) on keybase.
  • I have a public key whose fingerprint is FCF1 8FB9 DE77 C6FB D198 F365 075A 4209 1B61 585D

To claim this, I am signing this object:

@Redrield
Redrield / pom.xml
Created April 16, 2016 22:01
Example Bukkit Pom
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>me.mypackage</groupId>
<artifactId>MyPlugin</artifactId>
<version>1.0-SNAPSHOT</version>