Skip to content

Instantly share code, notes, and snippets.

View bardusco's full-sized avatar

Danilo Bardusco bardusco

View GitHub Profile
@bardusco
bardusco / claude_3.5_sonnet_artifacts.xml
Created July 7, 2024 17:53 — forked from dedlim/claude_3.5_sonnet_artifacts.xml
Claude 3.5 Sonnet, Full Artifacts System Prompt
<artifacts_info>
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.
# Good artifacts are...
- Substantial content (>15 lines)
- Content that the user is likely to modify, iterate on, or take ownership of
- Self-contained, complex content that can be understood on its own, without context from the conversation
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
- Content likely to be referenced or reused multiple times
Verifying that "bardusco.id" is my Blockstack ID. https://onename.com/bardusco
@bardusco
bardusco / file.rb
Created February 21, 2014 01:34
Documentos
{"scores retornados pelo algoritmo":[{"documentId":"4950541596733587067","score":0.0},{"documentId":"4950541596733587067","score":0.0},{"documentId":"3872635335287880536","score":0.0},{"documentId":"3872635335287880536","score":0.0},{"documentId":"105906180899881357","score":0.0},{"documentId":"3910533690939980741","score":0.0},{"documentId":"5243567943689748060","score":0.0},{"documentId":"7649083354507921856","score":0.0},{"documentId":"2473526669573666646","score":0.0},{"documentId":"2473526669573666646","score":0.0},{"documentId":"1565116212119487298","score":0.0},{"documentId":"2662434494754766739","score":0.0},{"documentId":"1027326133495116831","score":0.0},{"documentId":"1027326133495116831","score":0.0},{"documentId":"1750036596051393429","score":0.0},{"documentId":"1750036596051393429","score":0.0},{"documentId":"7811604824148496080","score":0.0},{"documentId":"6509701128329776046","score":0.0},{"documentId":"8256553764104916769","score":0.0},{"documentId":"8256553764104916769","score":0.0},{"docume
@bardusco
bardusco / gist:5232634
Created March 24, 2013 16:59
flexget config.yaml
presets:
global:
torrent_alive: yes
seen: local # We don't want accepted movies on this feed to affect actual download feed
download:
path: /c/media/BitTorrent/sources
overwrite: no
notifications:
rapidpush:
@bardusco
bardusco / gist:953758
Created May 3, 2011 17:22
calculo de scores
# Recebe um dicionario de questões/notas
# e retorna outro dicionario com questoes/escala de graduação.
def question_grade(list):
takeaction = {
# Server
'objetos': [8, 8, 8, 9, 9, 10],
'arquitetura': [8, 8, 9, 9, 10, 11],
'scm': [8, 8, 8, 9, 10, 11],
'oneclick': [8, 8, 8, 9, 10, 11],
'ci': [8, 8, 8, 9, 9, 10],