Skip to content

Instantly share code, notes, and snippets.

@bedalton
bedalton / EggForge-Updates.json
Last active February 8, 2024 17:09
Update JSON for Tauri Based EggForge app
{
"version": "0.2.2",
"notes": "See the assets to download this version and install.",
"pub_date": "2024-02-08T16:10:39.889Z",
"platforms": {
"linux-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVTd1FLV2J1MnFCSk5SWXMxQlhWejNYWDkzY3U0WDgxeTBxZnk0R08rZHgxYmNkMktSLzR6d3RiZDVYdVVBNXBJRkVaekQ0NitHRXNQYVkxTFZvZEZjVmwza3BJV3g4eVFvPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzA3NDA4NTY1CWZpbGU6ZWdnLWZvcmdlXzAuMi4yX2FtZDY0LkFwcEltYWdlLnRhci5negpCQjB3NDRzQkcxWDI0aGFLK2s4K0FzREFqWVErd3dQbjkxWWRvZlFCMkdvaC9GZjdnbTl6TXhwcVF0Tlo2Y1d5d2NYSlpqTkRMeXpNVDAyTUtjWW1DUT09Cg==",
"url": "https://github.com/bedalton/Creatures-EggForge-Tauri/releases/download/v0.2.2/egg-forge_0.2.2_amd64.AppImage.tar.gz"
},
"darwin-x86_64": {
@bedalton
bedalton / prng.cos
Last active October 31, 2020 19:48
An example CAOS script implementing a PRNG
***** NAME VARS *****
* "prng::seed" = Seed string
* "prng::min" = minimum value for ranged generation
* "prng::max" = maximum value for ranged generation
* "prng::allow-neg" = Allow negative values from seed generator
*********************
****** CREDITS ******
* String hash function: https://stackoverflow.com/a/7616484 by esmiralha
* PRNG method: https://gist.github.com/blixt/f17b47c62508be59987b by blixt
@bedalton
bedalton / mkspr.php
Created June 28, 2020 06:25
A PHP script to generate a Creatures 1 SPR sprite file from a directory or list of images.
<?php
/*
* Creates an Creatures 1 SPR file given a directory or a list of files
* If creating sprite from a complete directory, prefix with -d
* @example php ./mkspr.php -d ./piey
*
* Otherwise give a space separated list of images to use.
* @example php mkspr.php piey pie00.png pie01.png pie02.png
*
* Note> Files in directory are sorted by character not number, meaning that 10.png will come before 2.png
@bedalton
bedalton / designer.html
Last active May 4, 2016 17:49
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<polymer-element name="my-element">