Skip to content

Instantly share code, notes, and snippets.

View corn-snake's full-sized avatar
🌲

cornsnake corn-snake

🌲
  • Antarctica
View GitHub Profile
@corn-snake
corn-snake / oak_send_node_shim.js
Created September 6, 2025 18:19
a native implementation of @oak/oak's send() function for NodeJS. just changed the deno function calls to node fs ones, when deployed you should be able to just import this normally
///////////////////////////
// original credit to: the OakJS team and contributors
// their license is as follows:
/*
MIT License
Copyright (c) 2018-2025 the oak authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@corn-snake
corn-snake / balloontip.hpp
Last active April 22, 2019 19:43
C++ translation of wontocc/boppreh's balloontip.py
#ifndef BALLOONTIP_HPP
#define BALLOONTIP_HPP
#include <windows.h>
#include <time>
class WindowsBalloonTip {
WindowsBalloonType::WindowsBalloonTip(title, msg, notifid){
auto message_map = {
onDestroy(WM_DESTROY);