Skip to content

Instantly share code, notes, and snippets.

View OAyomide's full-sized avatar
⛓️
generalist. how may i help you?

Ayomide OAyomide

⛓️
generalist. how may i help you?
View GitHub Profile
[package]
name = "mixer"
version = "0.1.0"
authors = ["Drew Stone <drew@webb.tools>"]
edition = "2021"
rust-version = "1.56.1"
[dependencies]
ink_primitives = { version = "3.0.0-rc8", default-features = false }
ink_metadata = { version = "3.0.0-rc8", default-features = false, features = ["derive"], optional = true }
@OAyomide
OAyomide / criminals.js
Last active February 7, 2020 12:09
Solution to testRigor AI test
const criminals = new Map();
criminals.set("Paul White", "Roger Night, Peter Llong Jr.");
criminals.set("Roger Fedexer", "Rob Ford, Pete Lord, Roger McWire");
criminals.set("Paul White Jr.", null);
criminals.set("Red Fortress", "Roger Rabbit, Ross Winter");
criminals.set("Redford Fort", "Red Strong, Red Fort");
function getCriminal(input) {
const names = [...criminals.keys()]
@OAyomide
OAyomide / content.yml
Last active November 17, 2018 09:27
How to use bp.convo the right way
askName:
- typing: true
text: What is your full name?
askEmail:
- typing: true
text: Please input your email
selectGender:
- typing: true
@OAyomide
OAyomide / persistentMenu.config.yml
Last active April 24, 2018 19:04
Nested persistent menu in Botpress
persistentMenuItems: [
{
"title":"History",
"type":"nested",
"call_to_actions":[ {
"type":"postback",
"title":"Mail Password History",
"payload":"asdffg"
}, {
"type":"postback",