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
Thought: To create a comment in a Github issue, I need to use the Github API and the createComment action available in the membrane-driver-github program. | |
Action: | |
```json | |
{ | |
"name": "Issue.createComment", | |
"params": [ | |
{"name": "body", "value": "This is a test comment"} | |
], | |
"programName": "github" |
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
❯ node index.mjs "add clean the bed" | |
Thought: I need to add a new task to the list | |
Action: Task.update | |
Action Input: {"title": "Clean the bed", "dueDate": ""} | |
Observation: {"title": "Clean the bed", "dueDate": "", "completed": false} | |
Thought: The task has been added successfully | |
Final Answer: The task "Clean the bed" has been added to the list. | |
❯ node index.mjs "update a task called 'clean the bed'" | |
Thought: I need to provide the new information for the task, such as the new title and due date. |
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
babyagi on main [✘] via 🐍 v2.7.18 took 2m4s | |
❯ ./babyagi.py | |
*****OBJECTIVE***** | |
create a simple web in next.js for my about page | |
*****TASK LIST***** | |
1: Install next.js |
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
babyagi on main [✘] via 🐍 v2.7.18 took 11s | |
❯ ./babyagi.py | |
*****OBJECTIVE***** | |
create a pasta carbonara recipe for me | |
*****TASK LIST***** | |
1: Develop a task list |
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
import { nodes, root, state } from "membrane"; | |
state.game = state.game ?? {}; | |
export const Root = { | |
setup() { | |
const board = Array.from({ length: 3 }, () => Array.from({ length: 3 }, () => "")); | |
const turn = "X"; | |
let winner: any = null; | |
let resolve: any = null; |
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
export const RepositoryCollection = { | |
... | |
allItems: async ({ self, args }) => { | |
// const repo = await $iter2(self, `{ name, description }`, { pageSize: 3 })[Symbol.asyncIterator](); | |
// console.log(JSON.stringify(await repo.next())); | |
// console.log(JSON.stringify(await repo.next())); | |
const repos: any[] = [] | |
for await (const repo of $iter(self, `{ name, description }`, { pageSize: 3 })) { | |
repos.push(repo); |
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.airtable.com/v0/bases/appIsMKU3ivlNSLIY/webhooks/achdi5qXRSsHhWgXa/payloads" \ | |
-H "Authorization: Bearer patlDJbeuJPMIXA0Y.852fddb5d548a37f975e284dc008c7e43af540c2b695d55de2dad96a90b85ca6" | jq | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 13730 100 13730 0 0 15766 0 --:--:-- --:--:-- --:--:-- 15817 | |
{ | |
"payloads": [ | |
{ | |
"timestamp": "2023-01-20T21:40:15.026Z", | |
"baseTransactionNumber": 2573, |
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
// http://stackoverflow.com/questions/7279567/how-do-i-pause-a-window-setinterval-in-javascript | |
function RecurringTimer(callback, delay) { | |
var timerId, start, remaining = delay; | |
this.pause = function() { | |
window.clearTimeout(timerId); | |
remaining -= new Date() - start; | |
}; |
This file has been truncated, but you can view the full file.
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
object(stdClass)#4 (7) { | |
["nombre_cliente"]=> | |
string(4) "dace" | |
["apellido_cliente"]=> | |
string(6) "dasdas" | |
["mail_cliente"]=> | |
string(7) "dasdasd" | |
["telefono_cliente"]=> | |
string(6) "dasdas" | |
["id_tipo_cliente"]=> |
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
ZigzagDownLoader file log: | |
mié 15 jul 2020 13:16:56 -05 | |
k --> It is not a valid URL for ZigzagDownLoader | |
mié 15 jul 2020 13:17:01 -05 | |
kill --> It is not a valid URL for ZigzagDownLoader | |
NewerOlder