MySQL
Mysql 접속 : mysql -uroot -p
db만들기 : create database something;
usually I work with thinkpad laptop. which has trackpoint and trackpad.
eagle has no pan command. by default, panning needs mouse wheel.
but usually I don't use it. i prefer trackpoint. that's why love thinkpad laptop.
c:\Users\_yourUserName_\AppData\Roaming\Eagle\setrtings\9.6.2\eaglerc~/.local/share/Eagle/settings/9.3.1/eaglerc
9.3.1 to installed eagle version| { | |
| "configurations": [ | |
| { | |
| "name": "Mac", | |
| "includePath": [ | |
| "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1", | |
| "/usr/local/include", | |
| "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/8.1.0/include", | |
| "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include", | |
| "/usr/include", |
| // original | |
| std::list<std::pair<int,double> > nbors; | |
| std::list<std::pair<int,double> >::iterator iter; | |
| //find 'k' closest neighbors of testpoint | |
| double x, y, xT, yT, dist; | |
| // SEARCHING FOR BLOBS | |
| for(int i=0; i < newBlobs->nBlobs; i++){ | |
| x = newBlobs->blobs[i].centroid.x; |
| /* | |
| ofVec3f lastAccel; | |
| ofVec3f speed; | |
| ofVec3f lastSpeed; | |
| ofVec3f distance; | |
| ofVec3f lastDistance; | |
| ofVec3f gyro, lastGyro; |
taskTasks : Configure Task Runner{
"version": "0.1.0",
"command": "processing-java",
"isShellCommand": true,
| const int numReadings = 10; | |
| int readings[numReadings]; // the readings from the analog input | |
| int readIndex = 0; // the index of the current reading | |
| int total = 0; // the running total | |
| int average = 0; // the average | |
| int inputPin = A0; | |
| int distance; |
| void ofApp::setup() { | |
| camWidth = 1280; | |
| camHeight = 800; | |
| cam.initGrabber(camWidth, camHeight); | |
| tracker.setup(); | |
| camImg.allocate(camWidth, camHeight, OF_IMAGE_COLOR); // ofImage camImg - full size | |
| copiedImg.allocate(camWidth/2, camHeight/2, OF_IMAGE_COLOR); // ofImage copiedImg - half size | |
| fbo.allocate(camWidth/2, camHeight/2); // ofFbo fbo - half size |