Skip to content

Instantly share code, notes, and snippets.

View benmcnelly's full-sized avatar
🎯
Focusing

Ben McNelly benmcnelly

🎯
Focusing
View GitHub Profile
@bishboria
bishboria / springer-free-maths-books.md
Last active May 10, 2025 04:28
Springer made a bunch of books available for free, these were the direct links
@apollo13
apollo13 / chromelogger.py
Last active May 12, 2022 01:09
Django logging to Firefox/Chrome devtools
"""
License: MIT - https://opensource.org/licenses/MIT
ChromeLogger is a protocol which allows sending logging messages to the Browser.
This module implements simple support for Django. It consists of two components:
* `LoggingMiddleware` which is responsible for sending all log messages
associated with the request to the browser.
* `ChromeLoggerHandler` a python logging handler which collects all messages.
@jeffreycastro
jeffreycastro / heroku_pg_to_sqlite3.txt
Last active November 4, 2024 12:32
Import Heroku Postgres to SQLite3 in your local Rails
### Disclaimer,
- datetime is not copied with the timezone difference. seems like the dates are saved in UTC so there will be difference with the datetime columns
---
in this guide,
postgres username = "jep"
postgres password = "jepjep"
@Talljoe
Talljoe / starship.toml
Created February 26, 2025 00:59
My Prompt
#palette = "cyberpunk_scarlet"
# palette = "catppuccin_mocha"
palette = "terminal"
format = """
[](text)\
$shell\
$os\
($username$hostname[ ](bg:text))\
[](fg:text bg:overlay2)\