Skip to content

Instantly share code, notes, and snippets.

View chrowe's full-sized avatar

Chris Rowe chrowe

View GitHub Profile
@rjcorwin
rjcorwin / CONTRIBUTING.md
Last active February 11, 2026 02:41
A CONTRIBUTING.md that is particularly useful when working with coding agents.

Contributing

This guide covers the development workflow for contributing to this project.

Lifecycle Stages

  1. Research - Create a plan folder; write research.md with requirements, system architecture, and open questions
  2. Plan - Write decision-XXX.md file(s) based on open questions; write plan.md; write plan-review-XXX.md and iterate on plan
  3. Implement - Write code and then summarize in devlog-XXX.md; write code-review-XXX.md and iterate on code; update main spec and write pr.md; create PR and iterate on peer feedback
@chrowe
chrowe / manual_steps.md
Last active February 12, 2017 04:13
Pi Ansible
@michaelwills
michaelwills / Inno DB ibdata resizing
Last active August 29, 2015 14:04
Inno DB ibdata resizing to reclaim data
# Reducing InnoDB ibdata file, converting from monolithic file to individual files per database. See:
# http://dba.stackexchange.com/questions/8982/what-is-the-best-way-to-reduce-the-size-of-ibdata-in-mysql
# http://stackoverflow.com/questions/3456159/how-to-shrink-purge-ibdata1-file-in-mysql
# http://vitobotta.com/smarter-faster-backups-restores-mysql-databases-with-mysqldump/#sthash.VCU3nJHa.SldueNKm.dpbs
# user, password, host, port opts stored in ~/.my.cnf
# dump databases to one file, streamed compression
/Applications/MAMP/Library/bin/mysqldump --all-databases --routines --opt --verbose | gzip > backup.sql.gz
@chrowe
chrowe / drush dq.txt
Last active December 16, 2015 23:59
My drush qd template
drush qd mahr-content-import admin_menu module_filter devel fpa views views_bulk_operations ctools features strongarm diff date entity entityreference feeds feeds_tamper job_scheduler extlink --yes
drush en module_filter fpa views_ui devel_generate admin_menu_toolbar extlink feeds_tamper feeds_ui features strongarm date diff --yes
drush dis toolbar overlay --yes