A number of items I have found useful while learning Solidity in 2024.
Soo many bad vids and 12 hour courses out there ... the patterns are yucky and the code is :(
<IfModule mod_rewrite.c> | |
# Issue 410 Gone for all requests except / | |
RewriteEngine On | |
# Allow root and common index file paths | |
RewriteCond %{REQUEST_URI} ^/$ [OR] | |
RewriteCond %{REQUEST_URI} ^/index\.php$ [OR] | |
RewriteCond %{REQUEST_URI} ^/index\.html$ | |
RewriteRule .* - [L] |
A number of items I have found useful while learning Solidity in 2024.
Soo many bad vids and 12 hour courses out there ... the patterns are yucky and the code is :(
export const RateLimitedIterator = ( rate, values ) => { | |
console.log( { rate } ) | |
const delay = ms => | |
new Promise( resolve => setTimeout( resolve, ms ) ) | |
const iterator = { | |
[Symbol.iterator]() { |
# For more information: https://laravel.com/docs/sail | |
version: '3' | |
services: | |
laravel.test: | |
build: | |
context: ./vendor/laravel/sail/runtimes/8.0 | |
dockerfile: Dockerfile | |
args: | |
WWWGROUP: '${WWWGROUP}' | |
image: sail-8.0/app |
This may be a good piece of code to add to your Houdini global python library to allow for easy per project python imports.
Given your project directory name is `foobar`
And your python files are saved in `foobar/lib`
And you want to import code from `foobar/lib/hello.py`
And you want to execute the function `hello()`
# Version: Houdini Apprentice 18.0.287 | |
# Hide the splash page | |
HOUDINI_NO_SPLASH = 1 | |
# | |
# External Editor | |
# | |
# This setup works in, | |
# - Attribute Wrangle via "VEX Expression > Expression > Edit in External Editor" |
#!/usr/bin/env bash | |
usage="usage: pj-run /absolute/path/to/sketch/directory" | |
abspath() { | |
cd "$1" | |
echo "$(pwd -P)" | |
} | |
assert_is_directory() { |
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |