Skip to content

Instantly share code, notes, and snippets.

View nullmastermind's full-sized avatar
🇳🇴
🅴🆁🆁🅾🆁

Null nullmastermind

🇳🇴
🅴🆁🆁🅾🆁
View GitHub Profile

Showtime Watch Application

1. Purpose

The Showtime Watch application is designed to facilitate the preorder and management of a smartwatch that integrates with cryptocurrency wallets. It includes features such as a leaderboard, profile management, and wallet connection/reset functionalities.

2. Roles

  • User: Can preorder the watch, manage their profile, connect/reset their wallet, and view the leaderboard.
  • Admin: Manages user data, orders, and leaderboard entries (not explicitly mentioned but implied for backend management).

3. User Flow for Each Role

@nullmastermind
nullmastermind / asyncForEach.ts
Last active May 4, 2024 19:58
Lodash async forEach implementation
import { map } from 'lodash';
async function asyncForEach<T>(
items: Array<T> | null | undefined,
iter: (v: T, k: number) => Promise<boolean | void>,
): Promise<void>;
async function asyncForEach<T, K extends string>(
items: Record<K, T> | null | undefined,
iter: (v: T, k: K) => Promise<boolean | void>,
@nullmastermind
nullmastermind / how_to_use.rs
Last active May 7, 2024 20:34
Rust Valorant color aimbot - Yellow (Protanopia) (recommend fov < 128)
fn get_move_value(&mut self, is_trigger_bot: bool) -> Point {
if !is_trigger_bot {
let current_frame_id = self.latest_frame_id.lock().unwrap().clone();
if current_frame_id == self.current_frame_id {
return Point::new(0, 0);
}
self.current_frame_id = current_frame_id;
}
let current_frame = self.latest_frame.lock().unwrap().clone();
if current_frame.is_none() {
@nullmastermind
nullmastermind / ProcessorSyncTransforms.cs
Last active June 7, 2023 10:07
<1ms 10k objects - Hybrid ECS Transform Synchronization https://www.youtube.com/watch?v=5pNEDnXITXw
using System.Collections.Generic;
using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Transforms;
using UnityEngine;
using UnityEngine.Jobs;
namespace _Source.Scripts.DOTS.Systems {
[BurstCompile]
@nullmastermind
nullmastermind / capture.rs
Last active March 7, 2023 23:53
Capture screen windows in rustlang. Speed, memory optimize, opencv mat. This class is utilized within my Valorant cheating tools
use opencv::core::Mat;
use opencv::imgcodecs::{imdecode, IMREAD_COLOR};
pub use opencv::prelude::MatTraitConstManual;
use png::{BitDepth, ColorType, Encoder};
use std::f64;
use std::mem::size_of;
use windows::Win32::Graphics::Gdi::{
BitBlt, CreateCompatibleBitmap, CreateCompatibleDC, CreatedHDC, DeleteObject, GetDC, GetDIBits,
SelectObject, BITMAPINFO, BITMAPINFOHEADER, BI_COMPRESSION, CAPTUREBLT, DIB_RGB_COLORS,
HBITMAP, HDC, SRCCOPY,
@nullmastermind
nullmastermind / frida-spoof.js
Created December 20, 2022 05:01 — forked from jacopo-j/frida-spoof.js
Frida script to spoof and hide several Android identifiers
/* Utilities */
var RANDOM = function() {};
function _randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function _randomHex(len) {
var hex = '0123456789abcdef';
@nullmastermind
nullmastermind / debloatMEmu.md
Created December 5, 2022 12:34 — forked from TameemS/debloatMEmu.md
Debloating & Optimizing MEmu

Inspired by this

Edit 22/8/2021: I have updated MEmu and it seems like it reinstalls the apps and re-enables the services. Repeat steps 5, 7, 8, and 9 if you update MEmu.

Debloating MEmu

In my experience, Nox can be quite slow and choppy, and looks like I'm not the only person with this problem. A lot of people say that MEmu performs better than Nox, and I could agree with that. I have no chopping issues with it so far. But like Nox, there are kinda shady stuff going on. No one has made a guide on this, so I did it.

@nullmastermind
nullmastermind / UDPClient.hpp
Created March 19, 2022 21:37 — forked from kaimallea/UDPClient.hpp
Super simple UDP client using boost
#include <iostream>
#include <boost/array.hpp>
#include <boost/asio.hpp>
using boost::asio::ip::udp;
class UDPClient
{
public:
UDPClient(
1635592960824 $2b$10$wSXHsdh2gV5eDg0h9tSZl.DYgIgFZlqQXxtnINwKEg1JNWjW2Feeq $2b$10$n24hb5fRPbKnhWxnGF751ubmM.w76jCCNp/rwXyZ19phmzte0uNoK $2b$10$AJIaIGHehzr05A/gFmL8d.SEG/SC7pxjYsfdALnvcRa/uUYLyKEpC $2b$10$/0I4kj41pKHHbrhkAoJYherjOwk0zM12oXgGP8os2H7dVGEn6HzOu $2b$10$5PRANlnNRMaDpN2d418uTeu2uJdlzUNjftPH44PsXzIoYQMXQ52EW $2b$10$NUd.wmEp/TifXHP7Moa/HeoSolnEgovVVj/mAlTv5wONqQNDj6Kfy $2b$10$ra5KYWti4.v7/9kzdQ2Q2umod.tud.9CsXNLPn9eEZJXnezg3xBmq $2b$10$uqRceeaiVTXO6NVGVapX8eSpmx4bJunxzA1GHL4AchAbKdJnGnYna $2b$10$B8138oZXfZUNB4vaHo/NkuAM7x6wx5uoaVgtL4gcuTiW/NIemYC0y $2b$10$9AopKrmDrZuxxflvBTAoyOxRXqg8ioeIbtwtPOM7c8DURrNGLph.2 $2b$10$yil9agh/SkaQSFH1e7Ol7O3amC4dZsP3niqOVA7NApZ6Vj.i6JSUW $2b$10$/xDksoCdJeaFZ111WkKVh.LbLw4FoPuWgISR.SM/zidwGfrqzwEge $2b$10$q3i1nBszHAC5eMsNbWGQo.p.2PMc0a8FBhlPxebYTLA23nXAErRLO $2b$10$9ucMbfavSkL3E8n/co5PFe5ZbOsaagX0wuIfHt98BT0NGUUxe2kYq $2b$10$aDAcqOIvqGZvSZTrAuUxzuBQUskXc9RqecEufYlt2gUStQ.ZKeFgm $2b$10$b2gnU5HPDyrWMutfXTl2ousW0PdHQPYXgJPzgQb4hsnux1lMVnEnS $2b$10$3S34l9.Dc6Y0dMRHj3O4kOJTn0K
import 'package:flutter_screenutil/flutter_screenutil.dart';
class Units {
static final md = 1.0;
static final xs = 0.75;
static final sm = 0.875;
static final lg = 1.125;
static final xl = 1.25;
static final xl2 = 1.5;
static final xl3 = 1.875;