- Be a Beeper user
- Python > 3.7
- Docker
- yarn
- following these steps I ran the docker container to create a Maubot server on my local machine
- an unspoken but relevant step here is to create a user that you’ll log into your Maubot Manager interface with. do this line 86 of
config.yaml. For example
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
| /** | |
| * Render CyberBrokers | |
| * Using the on-chain Broker renderer | |
| **/ | |
| // Change these variables as you see fit | |
| const WEB3_PROVIDER_URL = "http://0.0.0.0:8545"; | |
| const TOKEN_ID = 0; | |
| const SVG_SAVE_FILE_NAME = `${__dirname}/CyberBroker_${TOKEN_ID}.svg`; |
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.0; | |
| /* | |
| This code is untested, feel free to use it, but do so at your own risk | |
| */ | |
| contract Random { | |
| uint256[] tokens = new uint256[](100); |
- Go to https://tiny-83.github.io/tiny-83
- Change the min and max fields as shown below:
xMin = 0
xMax = 22
yMin = -1
yMax = 14
- Copy this code, type
1where you want to draw a pixel, then paste the result into they =text field on the website.
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
| ### BASE ### | |
| FROM node:12-buster-slim AS base | |
| RUN apt-get update && apt-get install --no-install-recommends --yes openssl | |
| WORKDIR /app | |
| ### BUILDER ### | |
| FROM base AS builder |
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 UIKit | |
| struct Action { | |
| let title: String | |
| let style: UIAlertAction.Style | |
| let action: () -> Void | |
| } | |
| extension Action { | |
| static func `default`(_ title: String, action: @escaping () -> Void) -> [Action] { |
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
| // path to documents directory to save our usdc file | |
| NSString* usdcPath = [documentsDirectory stringByAppendingPathComponent:@"usdcExample.usdc"]; | |
| NSURL *usdcUrl = [NSURL fileURLWithPath: usdcPath]; | |
| // path to documents directory to save our final usdz file | |
| NSString* usdzPath = [documentsDirectory stringByAppendingPathComponent:@"usdzExample.usdz"]; | |
| NSURL *usdzUrl = [NSURL fileURLWithPath:usdzPath]; | |
| // load the .obj file at filePath as an MDLAsset | |
| NSURL *url = [NSURL fileURLWithPath:filePath]; |
NewerOlder