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
| pdfunite in-1.pdf in-2.pdf in-n.pdf out.pdf |
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
| #User downloads a pdf but it's an image only document and the text cannot be searched | |
| #open a terminal | |
| #brew install tesseract (unless you already have it installed) | |
| #open the document in Preview and export to a Tiff document (multipage is supported, 150dpi seems ok | |
| #change to the file directory in terminal to save you the bother of putting the full path in | |
| #tesseract filename.tiff outputfilename pdf | |
| #tesseract then crunches through your file and creates an output file with the specified name and filetype |
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
| force quit the following daemon | |
| com.apple.SpeechRecognitionCore.speechrecognitiond | |
| or in the terminal | |
| killall -9 com.apple.SpeechRecognitionCore.speechrecognitiond | |
| that then restarts the failed daemon | |
| test oh yeah |
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
| #pragma once | |
| #include "ofMain.h" | |
| ofMesh generatePieMesh( float radius, float segments ) { | |
| // Create our mesh. | |
| ofMesh mesh; | |
| mesh.setMode( OF_PRIMITIVE_TRIANGLE_FAN ); | |
| // Add the center point |
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
| This means you have two files which have a function called "main" in them -- the compiler compiles all the code fine, but when it goes to link, it sees two object symbols that have the same name. | |
| This usually happens when you include the example code from the an addon (by dragging the addon into a project, for example, but neglecting to remove the addon's example code). |
NewerOlder