Skip to content

Instantly share code, notes, and snippets.

View atuanpham's full-sized avatar
🏠
Working from home

Tuan Pham atuanpham

🏠
Working from home
View GitHub Profile

CLAUDE.md - Universal Development Principles

This document contains universal development principles and practices for AI assistants working on any project. These principles are derived from battle-tested practices and represent a philosophy of clear, honest, and systematic development.

Required Tools and Research Methods

1. Mandatory MCP Tool Usage

BEFORE ANY ACTION, you MUST use these tools. Tool names use double underscores between segments.

@atuanpham
atuanpham / claude-code-prompts.js
Created March 2, 2025 09:38 — forked from transitive-bullshit/claude-code-prompts.js
Unminified prompts and tool definitions for Claude Code
// Claude Code is a Beta product per Anthropic's Commercial Terms of Service.
// By using Claude Code, you agree that all code acceptance or rejection decisions you make,
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms,
// and may be used to improve Anthropic's products, including training models.
// You are responsible for reviewing any code suggestions before use.
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
// Version: 0.2.9
@atuanpham
atuanpham / ultralearning.md
Created November 17, 2024 09:57 — forked from hlfshell/ultralearning.md
Ultralearning Notes

Ultralearning

The following is the notes I took years ago on the book Ultralearning by Scott Young. The bombastic title and promise to learn virtually anything quickly makes it sound as if its the typical marketing-powered fluff-filled nonfiction book stores are overflowing with, but something about this book stuck with me. After finishing it I quickly went back and wrote these thoughts down. While I don't follow his layout of plans regularly, I have used it to guide a lot of my own self education.

I've successfully utilized it when I needed to refresh on mathematics for my Master's degree (a host of skills that atrophied sigificantly for the dozen years between undergrad and the masters). I've also used it to self-study subjects like Robotics and Deep Learning (though I did decide in the end to go for the Master's accreditation).

I share it here with hopes that someone finds it useful.


Principle 1 - Metalearning

@atuanpham
atuanpham / change username
Created October 8, 2018 14:33
Change username in Ubuntu
groupadd <new_user_name>
usermod -d /home/<new_user_name> -m -g <new_user_name> -l <new_user_name> <old_user_name>
@atuanpham
atuanpham / conda_env.md
Last active August 27, 2018 10:33
Conda tutorial

Change to project directory

cd demo-env

Create a new environment

conda env create
@atuanpham
atuanpham / centering_equations
Last active May 19, 2018 05:41
Centering Equations
---
title: "centering equations"
output:
pdf_document: default
classoption: fleqn
header-includes:
- \setlength{\mathindent}{0pt}
- \setlength{\parindent}{0pt}
---
@atuanpham
atuanpham / config_network.md
Last active May 23, 2018 03:46
Initial Ubuntu Server (16.04)

/etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
@atuanpham
atuanpham / rm_mysql.md
Created April 7, 2018 03:01 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

brew remove mysql

FC00: Raggles, Rageon, Ragore
FC01: Mara, Maradon, Maranasaur
FC02: Cinde, Voladile, Infernus
FC04: Lavabolt, Magmech, Vulcanic
FC05: Rex, Raxillius, Renosaur
FC06: Minya, Minyara, Maximar
FC07: Viking, Viktron, Viktorius
FC08: Feri, Fieri, Fiersun
FC09: Fea, Feanor, Feandroth
FC10: Cretis, Toxicus, Mordroth
@atuanpham
atuanpham / fix_curl_certificate_error.md
Created June 13, 2016 14:10
curl: (77) error setting certificate verify locations
curl: (77) error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none

How to fix? Put the following line into .bashrc:

export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt