class MyWidget extends S.Widget {
constructor(w: S.WidgetInfo) {
super(w)
this.sendEvent("load")
}
}
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
| let data = { "email_address": time.unixNano() + "@prueba.com", "status": "subscribed" }; | |
| let r = http.newRequest("POST", "https://us19.api.mailchimp.com/3.0/lists/1652876acb/members", data) | |
| r.setBasicAuth("xx", "xx") | |
| r.execute() | |
| r = http.newRequest("GET", "https://us19.api.mailchimp.com/3.0/lists/1652876acb/members", data) | |
| r.setBasicAuth("xxx", "xx") | |
| let res = json.unmarshal(r.execute()) | |
| fmt.println(res.total_items) |
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 "stdlib/native" | |
| /** | |
| * ------------------------------------------------------------------ | |
| * Extract databases and tables from dump files | |
| * | |
| * usage: amura extract -f foo.sql -d bardb | |
| * ------------------------------------------------------------------ | |
| */ |
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 "stdlib/native" | |
| import * as cli from "stdlib/cmdline" | |
| /** | |
| * ------------------------------------------------------------------ | |
| * Extract databases and tables from dump files | |
| * | |
| * usage: amura extract -f foo.sql -d bardb | |
| * ------------------------------------------------------------------ | |
| */ |
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
| { | |
| "files": [ | |
| "/public/vendor/Chart.bundle.min.js" | |
| ], | |
| "path": "/crud", | |
| "title": "Entidades", | |
| "mainMenu": "/apps/main/menus/mainMenu.json", | |
| "settingsMenu": "/apps/main/menus/settingsMenu.json", | |
| "type": "amura.adminview", | |
| "children": { |
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
| { | |
| "type": "amura.adminview", | |
| "path": "/timetable2", | |
| "title": "@@Ocupación", | |
| "children": { | |
| "body": { | |
| "type": "dashboard", | |
| "children": [ | |
| { | |
| "type": "row", |
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
| { | |
| "type": "a.adminview", | |
| "path": "/timetable2", | |
| "title": "@@Ocupación", | |
| "children": { | |
| "body": { | |
| "type": "dashboard", | |
| "children": [ | |
| { | |
| "type": "row", |
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": "/cashregister", | |
| "type": "a.adminview", | |
| "title": "@@Caja", | |
| "children": { | |
| "body": { | |
| "type": "dashboard", | |
| "children": [ | |
| { | |
| "type": "row", |
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": "/dashboard", | |
| "type": "a.adminview", | |
| "title": "@@Caja", | |
| "children": { | |
| "body": { | |
| "type": "dashboard", | |
| "children": [ | |
| { | |
| "type": "row", |
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": "/cashregister", | |
| "type": "a.adminview", | |
| "title": "@@Ocupación", | |
| "children": { | |
| "body": { | |
| "type": "dashboard", | |
| "children": [ | |
| { | |
| "type": "row", |