Chocolate Chip Cookies
Ingredients 300g 00 strong flour (substitute AP or half AP and half 00. ~2 3/8 cups) Central Milling Organic Unbleached AP Flour Central Milling Organic 00 Pizza Flour 3/4tsp baking soda 225g room...
View ArticleAutodesk Fusion 360 Using eGPU
Open a Finder window showing the latest version of Fusion 360 in the webdeploy folder. F360_APP=Autodesk\ Fusion\ 360 F360_WEBDEPLOY="~/Applications/$F360_APP.app/Contents/MacOS/$F360_APP"...
View ArticleAlpine Linux PHP + iconv fix
To use PHP with iconv on Alpine Linux – in a Docker container for example – you need to use the preloadable iconv library, which was previously provided with the gnu-libiconv package, but was removed...
View ArticleFantom Lachesis Full Node RPC
Create an Alpine Linux image to run the lachesis node for the Fantom cryptocurrency. [remote_content url="https://raw.githubusercontent.com/doublesharp/fantom-lachesis-docker/main/Dockerfile"...
View ArticleProvable Randomness with VDF
A Verifiable Delay Function (VDF) is a linearly computed function that takes a relatively long time to calculate, however the resulting proof can be verified to be the result of this computation in a...
View ArticleNFT – Mint Random Token ID
The perceived value of many NFTs is based on that item’s rarity making it ideal to mint them fairly. Rarity snipers and bad actors on a team can scoop up rare items from a collection in an attempt to...
View ArticleUnsafeMath for Solidity 0.8.0+
UPDATE: Check out the @0xdoublesharp/unsafe-math module available on NPM for an easy to use, prepackaged, and tested version of this library! UnsafeMath is a Solidity library used to perform unchecked,...
View ArticleSlither & Echidna + Remappings
While testing a project using hardhat and Echidna I was able to run all tests in the project with echidna-test . but was not able to run tests in a specific contract that imported contracts using NPM...
View ArticleNGINX Feature Flag Reverse Proxy
Use NGINX as a reverse proxy to different back-end servers based on feature-flags set in the ngx_http_auth_request_module add-on. In my implementation for Secret Party the subdomain is used to...
View ArticleUsing APK for Alpine Linux with Docker
Some quick tips on how to use apk for Alpine Linux in a Docker environment. Some common use cases might be to install command line tools you will use in scripts, or to compile a PHP extension. In the...
View Article