- Demo & Pitch
- Repositories
-
- Node.js
- Mongodb
- Integrations
This file contains 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.17; | |
contract Counter { | |
uint public count; | |
address owner; | |
// Modifier that makes sure the caller is the owner | |
modifier onlyOwner() { | |
require(msg.sender == owner); |
This file contains 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.13; | |
contract Counter { | |
uint public count; | |
// Function to get the current count | |
function get() public view returns (uint) { | |
return count; | |
} |
> ava
✖ Add a hash to the notes of alice Rejected promise returned by test
─
Add a hash to the notes of alice
__tests__/index.ava.js:40
Excecuting wasi-stub...
node_modules/near-sdk-js/cli/deps/binaryen/wasi-stub/run.sh build/contract.wasm >/dev/null
> nearwrite-smartcontracts@0.1.0 test
> ava
✖ Add a hash to the notes of alice Rejected promise returned by test
This file contains 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
const nearApi = require("near-api-js"); | |
const { sha256 } = require("js-sha256"); | |
const run = async () => { | |
const keyPairA = nearApi.utils.key_pair.KeyPairEd25519.fromRandom(); | |
const publicKeyAString = keyPairA.getPublicKey(); | |
const keyPairB = nearApi.utils.key_pair.KeyPairEd25519.fromRandom(); | |
const publicKeyA = nearApi.utils.key_pair.PublicKey.from(publicKeyAString); |
Number of stars of the different repositories from https://github.com/toplap/awesome-livecoding, made the 5th of June 2022
Link | Stars |
---|---|
https://github.com/samaaron/sonic-pi | 9130 |
https://github.com/overtone/overtone | 5472 |
https://github.com/alda-lang/alda | 5000 |
https://github.com/supercollider/supercollider | 4271 |
I wrote this guide about how to install firebase analytics in godot because I struggled and it may be useful for the future me and others.
This guide explains how to install the nativelib Addon: https://drmoriarty.github.io/nativelib/guide/gui-usage.html#installation
In short:
- In the top bar of Godot click on
AssetLib
next to2D, 3D, Script
- Look for
NativeLib
and install it
This file contains 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
curl 'https://api.notion.com/v1/pages' \ | |
-H 'Authorization: Bearer '"SECRET_HERE"'' \ | |
-H "Content-Type: application/json" \ | |
-H "Notion-Version: 2021-05-13" \ | |
--data '{ | |
"parent": { | |
"type": "page_id", | |
"page_id": "PAGE_ID_HERE" | |
}, | |
"properties": { |
This file contains 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
// How to build an website/app to send personalized messages with any instant messaging app | |
// 1. Start a project | |
// 2. Design your project using the deep link of your favorite instant messaging app (and using variables to push the right message to the right number) | |
// 3. Code your project | |
// 4. Build it | |
// 5. Test it | |
// 6. Distribute it | |
// 7. Bonus: Leave it open source in case they try to shut it down, at least someone will have a fork somewhere |
NewerOlder