Skip to content

Instantly share code, notes, and snippets.

View purofle's full-sized avatar
🎯
Focusing

purofle purofle

🎯
Focusing
View GitHub Profile
@purofle
purofle / fragmentShader.glsl
Created August 31, 2025 05:16
Junie shader
// --- Utility Functions (Noise, Bayer) ---
float random (in vec2 st) {
return fract(sin(dot(st.xy, vec2(12.9898,78.233))) * 43758.5453123);
}
float noise (in vec2 st) {
vec2 i = floor(st);
vec2 f = fract(st);
float a = random(i);
@purofle
purofle / uartbase.c
Created July 2, 2025 16:55
uartbase.dll 在稳定版windows下逆向的结果
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
double __cdecl pow(double _X,double _Y)
{
ulonglong uVar1;
uint uVar2;
uint uVar3;
int iVar4;
@purofle
purofle / ucrtbase.c
Created July 2, 2025 15:29
ucrtbase.dll 在 Windows Insider 27881 下逆向的结果
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
double __cdecl pow(double _X,double _Y)
{
ulonglong uVar1;
uint uVar2;
int iVar3;
double dVar4;
@purofle
purofle / main.cpp
Created June 28, 2025 16:12
RISC-V in GPU!
#include "info/info_desc.hpp"
#include "stream.hpp"
#include <cstring>
#include <elf.h>
#include <fcntl.h>
#include <gelf.h>
#include <iostream>
#include <libelf.h>
#include <sycl/sycl.hpp>
#include <unistd.h>
@purofle
purofle / phigros.py
Last active September 12, 2022 03:52
telegram phigros bot
"""
Copyright 2022-2022 Purofle and contributors.
此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
https://www.gnu.org/licenses/gpl-3.0.html
需要在运行目录下载json: https://github.com/ssmzhn/Phigros/raw/main/Phigros.json
运行需要传入API_TOKEN作为环境变量
Kotlin 2 mins █████████████████████ 100.0%
@purofle
purofle / info
Last active May 19, 2025 17:50
Hello?
☻/ This is bob. Copy and paste him so he can take over GitHub.
/▌
/\