- pull google image ( see pull command on artifact registry)
- run with:
docker run --rm -it --entrypoint bash <image:tag> - Inside the image execute:
ls /layers/google.python.pip/pip/lib/python3.9/site-packages(Change python version if nessesary)
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
| { | |
| "name": "MCP Demo 1", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "toolDescription": "Retorna un facto sobre perros", | |
| "url": "https://dogapi.dog/api/v2/facts?limit=1", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.httpRequestTool", |
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
| var AdmZip = require("adm-zip"); | |
| var zip = new AdmZip(); | |
| // Agregar archivos (hacer loop por cada archivo en tu lista) | |
| zip.addLocalFile("/home/me/some_picture.png"); | |
| // Escribir el archivo final |
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
| #include <ESP8266WiFi.h> | |
| #include <ESP8266HTTPClient.h> | |
| #include <WiFiClient.h> | |
| #include <SoftwareSerial.h> | |
| #define buzzerPin D4 | |
| // Replace with your SSID and Password | |
| const char *ssid = "NiJo"; | |
| const char *password = "uatguate7"; |
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
| stages: | |
| - build | |
| - deploy | |
| build: | |
| image: aalonzolu/nodeawsdeploy | |
| only: | |
| - master | |
| stage: build | |
| allow_failure: false |
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 onSyncStatusChange = function(status) { | |
| switch (status) { | |
| case SyncStatus.CHECKING_FOR_UPDATE: | |
| // Show "Checking for update" notification | |
| console.log('checking for update'); | |
| break; | |
| case SyncStatus.AWAITING_USER_ACTION: | |
| // Show "Checking for update" notification | |
| console.log('AWAITING_USER_ACTION'); | |
| break; |
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
| wget "https://download.docker.com/linux/ubuntu/dists/disco/pool/stable/amd64/containerd.io_1.2.6-3_amd64.deb" | |
| wget "https://download.docker.com/linux/ubuntu/dists/disco/pool/stable/amd64/docker-ce-cli_19.03.3~3-0~ubuntu-disco_amd64.deb" | |
| wget "https://download.docker.com/linux/ubuntu/dists/disco/pool/stable/amd64/docker-ce_19.03.3~3-0~ubuntu-disco_amd64.deb" | |
| sudo dpkg -i "containerd.io_1.2.6-3_amd64.deb" | |
| sudo dpkg -i "docker-ce-cli_19.03.3~3-0~ubuntu-disco_amd64.deb" | |
| sudo dpkg -i "docker-ce_19.03.3~3-0~ubuntu-disco_amd64.deb" |
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
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: lexo | |
| * Date: 9/13/18 | |
| * Time: 11:49 AM | |
| */ | |
| require_once("ripcord.php"); | |
| /** |
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 requests | |
| import json | |
| domain_name = 'example.com' # Change this | |
| accces_token = 'API_KEY' #Change this | |
| r=requests.get("https://api.vultr.com/v1/dns/records?domain="+domain_name, headers={"API-Key":accces_token,'Content-Type': 'application/json'}) | |
| JSON_DATA = r.json() | |
| if(r.status_code != 200): | |
| print "Error: "+r.text | |
| else: | |
| DNS_TYPE={} |
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
| #include <ESP8266WiFi.h> | |
| const char WiFiAPPSK[] = "holamundo"; | |
| WiFiServer server(80); | |
| void setup() | |
| { | |
| initHardware(); | |
| setupWiFi(); | |
| server.begin(); |
NewerOlder