Skip to content

Instantly share code, notes, and snippets.

View titusz's full-sized avatar

Titusz titusz

View GitHub Profile
@titusz
titusz / agent loop
Created March 11, 2025 16:34 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet

Keybase proof

I hereby claim:

  • I am titusz on github.
  • I am titusz (https://keybase.io/titusz) on keybase.
  • I have a public key ASBwX33siP_x7veSQ51EF6mlnHZEz990GPU45j-wKpExrAo

To claim this, I am signing this object:

@titusz
titusz / extendedmodelvalidation.py
Created November 9, 2016 13:47
Extended model validation
class ExtendedValidationModel(models.Model):
"""
Abstract model class that adds conditional field cleaning/validation.
You can create extended field validation with model methods like:
def clean_<fieldname>(self):
# things gone bad
raise ValidationError('whatever')
return self.<fieldname>
@titusz
titusz / suit_multi_admin.py
Last active February 12, 2016 12:41
Monkeypatch for Django Suit to support separate SUIT_CONFIGs for multiple Admin Sites
def suit_multi_admin():
"""Monkeypatch Django Suit to support multiple Admin Sites
Usage:
put this code for example in myapp/monkey.py
Activate the monkeypatch in your models.py:
from monkey import suit_multi_admin
@titusz
titusz / link_area.html
Created December 8, 2012 16:59
kf8 fixed layout drives me crazy