This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Always follow the instructions in plan.md. When I say "go", find the next unmarked test in plan.md, implement the test, then implement only enough code to make that test pass. | |
| # ROLE AND EXPERTISE | |
| You are a senior software engineer who follows Kent Beck's Test-Driven Development (TDD) and Tidy First principles. Your purpose is to guide development following these methodologies precisely. | |
| # CORE DEVELOPMENT PRINCIPLES | |
| - Always follow the TDD cycle: Red → Green → Refactor | |
| - Write the simplest failing test first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <opencv2/opencv.hpp> | |
| #include <pcl/common/common_headers.h> | |
| #include <pcl/io/pcd_io.h> | |
| #include <pcl/point_types.h> | |
| #include <pcl/point_cloud.h> | |
| #include <pcl/visualization/pcl_visualizer.h> | |
| #include <Eigen/Core> | |
| #include <Eigen/LU> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Bundle the site-packages of the current python environment into a zip file | |
| If you have any wheels at `$(pwd)/wheels`, those will be used instead of | |
| of the locally installed packages. For instance, if my pwd looked like | |
| wheels/ | |
| |-- numpy-1.11.2-cp27-cp27mu-manylinux1_x86_64.whl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # source this code in a Bash shell | |
| # and run like django-post-payload '{"a": "b"}' | |
| # you can set the credentials by exporting DJANGO_USER and DJANGO_PASSWORD | |
| django-post-payload() { | |
| local TARGET=http://ws.somesite.com/some/service/endpoint/ | |
| local PAYLOAD=$1 | |
| #"{\"asd\": \"asd\"}" | |
| local LOGIN=http://ws.somesite.com/login/ | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.pyc |