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 os | |
from agno.agent.agent import Agent | |
from agno.models.openai.like import OpenAILike | |
from tools.packt import PacktSearchTool | |
from agno.utils.log import logger | |
logger.info("Initializing agent") |
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
func PutCounter(name, helper string) { | |
mu.Lock() | |
defer mu.Unlock() | |
// Tenta criar um novo coletor. | |
counterOpts := prometheus.CounterOpts{ | |
Name: name, | |
Help: helper, | |
} | |
counter := prometheus.NewCounter(counterOpts) |
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
version: '3.8' | |
services: | |
app: | |
build: . | |
environment: | |
- DBUSER=mysqluser | |
- DBPASS=Mysql2023! | |
- DBHOST=mysql | |
- DBPORT=3306 |
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
version: '3.8' | |
services: | |
app: | |
build: . | |
environment: | |
- DBPATH=./data/mydatabase.db | |
volumes: | |
- ./data:/data | |
ports: |
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
services: | |
app: | |
build: . | |
environment: | |
- DBUSER=postgres | |
- DBPASS=Postgres2023! | |
- DBHOST=postgres | |
- DBPORT=5432 | |
- DBNAME=postgres | |
ports: |
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
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
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
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.css" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.js"></script> | |
</head> | |
<body> | |
<div id="terminal"></div> | |
<script> | |
var term = new Terminal(); |
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
node_modules | |
package-lock.json |
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 | |
/** | |
* categoryForm Form | |
* @author Alexandre E Souza | |
*/ | |
class categoryForm extends TWindow | |
{ | |
protected $form; // form | |
/** |
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
from PySide2 import * | |
from PySide2.QtWidgets import * | |
from PySide2.QtCore import * | |
import sys | |
class MainWindow(QMainWindow): | |
def __init__(self, *args, **kwargs): | |
super(MainWindow,self).__init__(*args,**kwargs) | |
self.setWindowTitle("My Window") |
NewerOlder