Skip to content

Instantly share code, notes, and snippets.

View robertpiosik's full-sized avatar
🤓

Robert Piosik robertpiosik

🤓
  • Poznań, Poland
View GitHub Profile
@cpursley
cpursley / ai_web_search.ex
Last active July 10, 2024 09:20
AI Web Search
# You will need to install https://github.com/cpursley/html2markdown
defmodule Webpage do
@moduledoc false
defstruct [:url, :title, :description, :summary, :page_age]
end
defmodule WebSearch do
@moduledoc """
Web search summarization chain
// Dependencies :
// npm i download jsdom walk replaceall
const path = require('path')
const fsp = require('fs').promises
const download = require('download')
const walk = require('walk')
const replaceAll = require("replaceall");
const { JSDOM } = require('jsdom')
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active July 25, 2024 19:45
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?