Skip to content

Instantly share code, notes, and snippets.

@thoonly
thoonly / coffee_recipe_handbook.txt
Last active March 12, 2026 07:38
Coffee Recipe Handbook
Below is a **Coffee Recipe Collection** written in **Markdown format**. It’s structured like a mini **barista recipe handbook** so it can easily be used in documentation, GitHub, Notion, or a menu system.
---
# ☕ Coffee Recipe Handbook
A collection of classic coffee recipes commonly used in coffee shops.
---
@thoonly
thoonly / ir.json
Last active December 18, 2024 09:24
{
"openapi": "3.0.1",
"info": { "title": "AIS-Roaming", "description": "", "version": "1.0.0" },
"tags": [
{ "name": "File" },
{ "name": "CronJob" },
{ "name": "Format" },
{ "name": "Log" },
{ "name": "Packages" },
{ "name": "User" }
@thoonly
thoonly / contracts...Token.sol
Created July 1, 2021 11:12
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&runs=200&gist=
pragma solidity =0.6.6;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
@thoonly
thoonly / contracts...Chainlink_example.sol
Created June 18, 2021 05:31
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.5+commit.a4f2e591.js&optimize=false&runs=200&gist=
@thoonly
thoonly / a-mongodb-replica-set-docker-compose-readme.md
Created February 5, 2021 11:44 — forked from harveyconnor/a-mongodb-replica-set-docker-compose-readme.md
MongoDB Replica Set / docker-compose / mongoose transaction with persistent volume

This will guide you through setting up a replica set in a docker environment using.

  • Docker Compose
  • MongoDB Replica Sets
  • Mongoose
  • Mongoose Transactions

Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!