This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity >=0.7.0 <0.9.0; | |
| import "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/token/ERC721/presets/ERC721PresetMinterPauserAutoId.sol"; | |
| interface TreeToken { | |
| function burnFrom(address, uint) external; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.7; | |
| import "@chainlink/contracts/src/v0.8/ChainlinkClient.sol"; | |
| contract APIConsumer is ChainlinkClient { | |
| using Chainlink for Chainlink.Request; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import openai | |
| import os | |
| from halo import Halo | |
| # Get the openai token from the OPENAI_TOKEN env variable and store it in openai_token | |
| openai.api_key = os.environ.get('OPENAI_TOKEN') | |
| system_prompt="""You are an expert golang microservice engineer. You will be given a description of a microservice to create and your output should be something we can pipe into bash such that it creates all the files required. | |
| For example, if you wanted to create a directory and two files you would output: | |
| mkdir user-service; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Airux Setup Notes | |
| Fedora Asahi (M1 MacBook Air) running niri Wayland compositor. | |
| ## VoxType (v0.6.2) | |
| Push-to-talk voice-to-text. Hold Right Alt to record, release to transcribe. Text is typed at the cursor via wtype. | |
| - Config: `~/.config/voxtype/config.toml` | |
| - Service: `~/.config/systemd/user/voxtype.service` |
OlderNewer