Skip to content

Instantly share code, notes, and snippets.

@filipesoccol
filipesoccol / pico8-sprite-rotation.p8
Created April 25, 2021 19:24
PICO8 - Sprite rotation
pico-8 cartridge // http://www.pico-8.com
version 18
__lua__
-->8
-- rotating sprite adapted from @freds72 code
-- sx - sprite coordinate to be used
-- sy - sprite y coordinate to be used
-- x - sprite x position to be drawn
-- y - sprite y position to be drawn
@filipesoccol
filipesoccol / OtoCorp.sol
Last active June 21, 2021 19:50
OtoCorp Contract Code for Verification
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.10;
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
function _msgSender() internal view virtual returns (address payable) {
@filipesoccol
filipesoccol / AsteroidStream.sol
Created September 26, 2021 19:50
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.0+commit.c7dfd78e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
// STEP 1: Import the right interfaces
import {
ISuperfluid,
ISuperToken,
ISuperApp,
ISuperAgreement,