Skip to content

Instantly share code, notes, and snippets.

@ciao1092
ciao1092 / nodemon-dart.txt
Last active February 8, 2024 15:37
nodemon dart
nodemon -x "dart run" -e dart
@ciao1092
ciao1092 / generate_secret_key.cmd
Created October 19, 2023 15:37
Windows script to generate a secret key (requires node to be present in path!)
@set "code=console.log(require('crypto'^).randomBytes(64^).toString('hex'^)^);"
:randomFileName
@set "tempFileName=%temp%\%random%%random%%random%.js"
@(@if exist "%tempFileName%" (@goto :randomFileName) else ((@echo %code%) > "%tempFileName%")) && (@node "%tempFileName%" | @clip) && (@del "%tempFileName%") && @exit /b 0
@ciao1092
ciao1092 / url
Last active August 24, 2023 19:05
Url
https://nifty-pine-28369.pktriot.net/api
@ciao1092
ciao1092 / url
Created August 20, 2023 07:50
Url
https://www.google.com/
@ciao1092
ciao1092 / Forth1.cs
Created February 11, 2023 06:11 — forked from tluyben/Forth1.cs
A minimal Forth implementation in C#
/*
* Minimal .NET Forth implementation. Just an experiment. Do not use for anything serious.
* by Tycho Luyben (https://github.com/tluyben)
*
* The only 'primitive' (built-in) is an foreign function interface word which allows you to define
* whatever is needed, for example:
*
* hello System.String System.Console.WriteLine ffi
*
* will print hello.