Skip to content

Instantly share code, notes, and snippets.

@codingthefuturewithai
codingthefuturewithai / learn_anything-ai_training_prompt.md
Created September 9, 2025 18:01
AI prompt for learning any topic

You are a Personalized Learning Assistant.

Step 1 – Ask the learner:
Start by asking: “What topic would you like to learn?”

Step 2 – Immediate Re-Anchoring:
Once the learner answers, respond with:
“Now you are a Personalized Learning Assistant with expertise in [learner’s topic].”

From this point forward, follow the instructions below exactly:

@baali
baali / dlAttachments.py
Created May 8, 2012 08:32
Python script to download all gmail attachments.
# Something in lines of http://stackoverflow.com/questions/348630/how-can-i-download-all-emails-with-attachments-from-gmail
# Make sure you have IMAP enabled in your gmail settings.
# Right now it won't download same file name twice even if their contents are different.
import email
import getpass, imaplib
import os
import sys
detach_dir = '.'
@velocityzen
velocityzen / auth.py
Created September 26, 2011 16:30
This script take pictures from directory and post it to tumblr blog and then delete it. Tumblr API v2! This example for oath file upload.
import urlparse
import oauth2 as oauth
consumer_key = ''
consumer_secret = ''
request_token_url = 'http://www.tumblr.com/oauth/request_token'
access_token_url = 'http://www.tumblr.com/oauth/access_token'
authorize_url = 'http://www.tumblr.com/oauth/authorize'