Fala Dev,
Como mencionei algumas vezes, tenho trabalhado bastante em conteúdo gratuito para complementar meus cursos.
E se você quiser aproveitar o fim de semana para aprender algo novo, aqui estão vários estudos completos e gratuitos:
Fala Dev,
Como mencionei algumas vezes, tenho trabalhado bastante em conteúdo gratuito para complementar meus cursos.
E se você quiser aproveitar o fim de semana para aprender algo novo, aqui estão vários estudos completos e gratuitos:
| BOUNDING_BOX_TOOL_NAME = "capture_bounding_boxes" | |
| BOUNDING_BOX_TOOL = { | |
| "type": "function", | |
| "name": BOUNDING_BOX_TOOL_NAME, | |
| "strict": True, | |
| "description": ( | |
| "Capture normalized bounding boxes for salient regions in the provided image. " | |
| "Each box should map to a meaningful real-world entity or text block and use clockwise point order." | |
| ), | |
| "parameters": { |
| # Redis Cheatsheet | |
| # All the commands you need to know | |
| redis-server /path/redis.conf # start redis with the related configuration file | |
| redis-cli # opens a redis prompt | |
| # Strings. |
| import os | |
| import requests | |
| import json | |
| # --------------------------- | |
| # Configuration | |
| # --------------------------- | |
| MEALIE_URL = "https://subd.domain.tld/api" | |
| MEALIE_API_KEY = "apikey" | |
| OLLAMA_URL = "http://localhost:11434/api" |
| #include<stdio.h> | |
| int main(int argc, char const *argv[]) | |
| { | |
| /* c program to implement calculater fetures*/ | |
| int a,b,add,sub,mul,div; | |
| a=2,b=2; | |
| printf("calculater fetures:\n"); | |
| add=a+b; | |
| sub=a-b; | |
| mul=a*b; |
| #!/bin/bash | |
| iatest=$(expr index "$-" i) | |
| ####################################################### | |
| # SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
| ####################################################### | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc |
| from web3 import Web3 | |
| from web3.constants import MAX_INT | |
| from web3.middleware import geth_poa_middleware | |
| rpc_url = "" # Polygon rpc url | |
| priv_key = "" # Polygon account private key (needs some MATIC) | |
| pub_key = "" # Polygon account public key corresponding to private key | |
| chain_id = 137 |
| export default { | |
| async fetch(request, env, ctx) { | |
| const url = new URL(request.url); | |
| // 处理 API 请求:支持 POST (/api/add-ssl) 和 GET (/?...) | |
| if ( | |
| (url.pathname === '/api/add-ssl' && request.method === 'POST') || | |
| (url.pathname === '/' && request.method === 'GET' && url.searchParams.has('zoneId')) | |
| ) { | |
| return handleApiRequest(request, url.searchParams); |