Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pr1ncess-emily
pr1ncess-emily / polynomial.rs
Last active November 12, 2022 00:25
A small proof of concept for evaluating polynomial functions in Rust
struct Polynomial<'a> {
terms: &'a [PolynomialTerm],
}
impl<'a> Polynomial<'a> {
pub fn from_terms(terms: &'a [PolynomialTerm]) -> Self {
Self { terms }
}
pub fn eval_with_value(&self, value: f64) -> f64 {
/* Based on https://piccalil.li/blog/a-modern-css-reset/ */
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Remove default margin */
@pr1ncess-emily
pr1ncess-emily / avkeys.js
Last active July 30, 2022 15:21
Deobfuscated exalphadev keygen
// Deobfuscated code for https://github.com/exalpha-dev/exalpha-dev.github.io
// Commit ae838c4
// useless func that does nothing
// (function (shiyu, jennielee) {
// var sherece = mohmmad, chumani = shiyu();
// while (true) {
// try {
// var lorette = parseInt('527166rkeZox') / 1 +
// parseInt(sherece(370)) / 2 * (-parseInt(sherece(371)) / 3) +