Skip to content

Instantly share code, notes, and snippets.

View tgittos's full-sized avatar
🤖
dorking around with LLMs

Tim Gittos tgittos

🤖
dorking around with LLMs
View GitHub Profile
@tripplyons
tripplyons / run-searx.sh
Last active September 26, 2025 14:32
Free web search MCP using a local SearXNG instance
mkdir -p config data
cat > config/settings.yml << 'EOF'
server:
bind_address: "0.0.0.0"
secret_key: "secret"
search:
formats:
- html
- json
EOF
@sobstel
sobstel / nokogiri_install
Created January 3, 2017 17:30
nokogiri -> ERROR: cannot discover where libxml2 is located on your system
# `ERROR: Error installing nokogiri:
# ERROR: Failed to build gem native extension.
#
# current directory: /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ext/nokogiri
# /usr/local/var/rbenv/versions/2.3.1/bin/ruby -r ./siteconf20170103-68488-r71c9j.rb extconf.rb --with-xml=/usr/local/Cellar/libxml2/ --use-system-libraries
# checking if the C compiler accepts ... yes
# checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
# Building nokogiri using system libraries.
# ERROR: cannot discover where libxml2 is located on your system. please make sure `pkg-config` is installed.
# *** extconf.rb failed ***
@bishboria
bishboria / springer-free-maths-books.md
Last active November 28, 2025 17:29
Springer made a bunch of books available for free, these were the direct links
# coding=UTF-8
from __future__ import division
import re
# This is a naive text summarization algorithm
# Created by Shlomi Babluki
# April, 2013
class SummaryTool(object):