- Twitter: @apohorecki
- Blog: http://adam.pohorecki.pl
- Company: GunpowderLabs http://gunpowderlabs.com
This file contains 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
#!/usr/bin/env python | |
from llama_index.core.agent import AgentRunner | |
from llama_index.core.base.llms.types import ChatMessage, MessageRole | |
from llama_index.core.tools import FunctionTool | |
from llama_index.llms.openai import OpenAI | |
def weather_tool(city: str): | |
""" |
This file contains 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
[ | |
{ | |
"insertId": "qzv45vopsusy6nv1", | |
"jsonPayload": { | |
"fields": { | |
"message": "Apollo Router v1.4.0 // (c) Apollo Graph, Inc. // Licensed as ELv2 (https://go.apollo.dev/elv2)" | |
}, | |
"target": "apollo_router::executable", | |
"level": "INFO", | |
"timestamp": "2022-11-28T09:34:46.032103Z" |
This file contains 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
module HashConstructor | |
def initialize(attrs = {}) | |
attrs.each do |name, value| | |
send("#{name}=", value) | |
end | |
end | |
end | |
class AwsCli | |
include HashConstructor |
This file contains 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
(ns dojo.core | |
(:require [clojure.test.check :as tc] | |
[clojure.test.check.generators :as gen] | |
[clojure.test.check.properties :as prop] | |
[clojure.test :refer :all])) | |
(def balls identity) | |
(defn add-ball [rack ball] (conj rack ball)) |
This file contains 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
require 'spec_helper' | |
class Foo | |
def initialize(bar) | |
@bar = bar | |
end | |
def foo | |
@bar.bar | |
end |
- Twitter: @apohorecki
- Blog: http://adam.pohorecki.pl
- Company: GunpowderLabs http://gunpowderlabs.com
This file contains 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
require 'minitest/autorun' | |
require 'set' # bummer, I forgot to require set in Bogus | |
require 'bogus' | |
class Foo | |
def bar(x, y) | |
end | |
end | |
module Bogus |
This file contains 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
Tematy: | |
* sckrk workshops (4) | |
- warsztaty z security | |
* open data (4) | |
- jak uwalniać dane z miasta | |
* why we fail in tdd and what we do about it (7) | |
* ddd-krk (7) | |
- nowy meetup dla ludzi z DDD | |
* formuła spotkań (3) | |
- co poza reading club i lean coffee |
This file contains 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
source :rubygems | |
# no leak in version 0.3.3 | |
# gem 'typhoeus', '0.3.3' | |
# memory leaking very fast (1Mb/s) in version 0.4.2 | |
gem 'typhoeus', '0.4.2' |
NewerOlder