Skip to content

Instantly share code, notes, and snippets.

@anjijava16
Last active December 20, 2025 05:32
Show Gist options
  • Select an option

  • Save anjijava16/d9badf4e416a942bd01fc0e966e297bb to your computer and use it in GitHub Desktop.

Select an option

Save anjijava16/d9badf4e416a942bd01fc0e966e297bb to your computer and use it in GitHub Desktop.
# Uninstall & Install required psycopg2-binary
(custom-ai-agent) welcome@jaisairams-Laptop production-grade-agentic-system % uv pip uninstall psycopg2 psycopg2-binary
warning: Skipping psycopg2 as it is not installed
Uninstalled 1 package in 65ms
- psycopg2-binary==2.9.10
(custom-ai-agent) welcome@jaisairams-Laptop production-grade-agentic-system % uv pip install "psycopg[binary]"
Resolved 2 packages in 418ms
Prepared 1 package in 232ms
Installed 1 package in 1ms
+ psycopg-binary==3.2.6
# Start Redis in Mac
(moai-zero-to-rag) welcome@jaisairams-Laptop arxiv-paper-curator % redis-server
15531:C 20 Dec 2025 00:29:59.723 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
15531:C 20 Dec 2025 00:29:59.723 * Redis version=8.0.2, bits=64, commit=00000000, modified=1, pid=15531, just started
15531:C 20 Dec 2025 00:29:59.723 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
15531:M 20 Dec 2025 00:29:59.723 * Increased maximum number of open files to 10032 (it was originally set to 256).
15531:M 20 Dec 2025 00:29:59.723 * monotonic clock: POSIX clock_gettime
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis Open Source
.-`` .-```. ```\/ _.,_ ''-._ 8.0.2 (00000000/1) 64 bit
( ' , .-` | `, ) Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 15531
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | https://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
15531:M 20 Dec 2025 00:29:59.724 # WARNING: The TCP backlog setting of 511 cannot be enforced because kern.ipc.somaxconn is set to the lower value of 128.
15531:M 20 Dec 2025 00:29:59.724 * Server initialized
15531:M 20 Dec 2025 00:29:59.724 * Ready to accept connections tcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment