Skip to content

Instantly share code, notes, and snippets.

View TimoGlastra's full-sized avatar
:octocat:
Hacking

Timo Glastra TimoGlastra

:octocat:
Hacking
View GitHub Profile
description: The JSON Schema for a workflow
type: object
properties:
name:
description: The name of the workflow
type: string
maxLength: 50
examples:
- My new workflow
trigger:
@TimoGlastra
TimoGlastra / create-connection-and-chat.yml
Created October 14, 2023 16:23
Paradym - Chatbot over DIDComm using basic messaging and ChatGPT
name: Create connection and chat
trigger:
type: api
actions:
- id: createConnection
name: didcomm/createConnection@v1
attributes:
label: Ask me anything
import { Agent, HttpOutboundTransporter } from '@aries-framework/core'
import { agentDependencies } from '@aries-framework/react-native'
const agentConfig = {
label: 'My Personal Wallet',
walletConfig: { id: 'walletId' },
walletCredentials: { key: 'SomeSecretKey' },
autoAcceptConnections: true,
mediatorConnectionsInvite: 'https://mediator.animo.id/invitation?c_i=eyJAdHlwZSI6Imh0dHBzOi8vZGlkY29tbS5vcmcvY29ubmVjdGlvbnMvMS4wL2ludml0YXRpb24iLCJAaWQiOiIyY2U2MzY2Yi1jYzgyLTRlYWMtODNlZC02OGY0ZjA0ZTJhYTAiLCJsYWJlbCI6IkFuaW1vIE1lZGlhdG9yIiwicmVjaXBpZW50S2V5cyI6WyJKOW80MkJQYVNhQnBkalFGalViS3hjWW9HdUNwaG5yRk1SZkRmTmFvMkU2bSJdLCJzZXJ2aWNlRW5kcG9pbnQiOiJodHRwczovL21lZGlhdG9yLmFuaW1vLmlkIiwicm91dGluZ0tleXMiOltdfQ'
}

Keybase proof

I hereby claim:

  • I am timoglastra on github.
  • I am timoglastra (https://keybase.io/timoglastra) on keybase.
  • I have a public key ASBZRBiqCLSaQJNX7sTMEFidir4feZGikM7uvj67mtnzvwo

To claim this, I am signing this object:

@TimoGlastra
TimoGlastra / hyperledger-indy-aries-resources.md
Last active January 23, 2020 20:11
An useful list of links to everything Hyperleder Indy / Aries
Verifying my Blockstack ID is secured with the address 1BR6cPMqJCSHYQqrQaT5FCJDmy95s2cboT https://explorer.blockstack.org/address/1BR6cPMqJCSHYQqrQaT5FCJDmy95s2cboT
e2e_ios:
stage: test
tags:
- react-native
- ios
before_script:
- yarn config set cache-folder .yarn
- yarn install
script:
- yarn detox build -c ios.sim.release
<View style={styles.container} testID="app">
<Text style={styles.welcome}>Welcome to React Native!</Text>
<Text style={styles.instructions}>To get started, edit App.tsx</Text>
<Text style={styles.instructions}>{instructions}</Text>
</View>
describe("App", () => {
it("should be visible", async () => {
await device.reloadReactNative();
await expect(element(by.id("app"))).toBeVisible();
});
});
"configurations": {
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"name": "REPLACE WITH EMULATOR NAME FROM ANDROID STUDIO"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",