terminal

opencv ubuntu 12.04 Cmake error : Source directory does not appear to contain CmakeLists.txt

≡放荡痞女 提交于 2020-01-01 10:47:11
问题 I'm using Ubuntu 12.04. I was trying to install OpenCV using the steps shown in http://karytech.blogspot.in/2012/05/opencv-24-on-ubuntu-1204.html But when it comes to the step for Compiling, i get an error : clive@clive-Aspire-4755:~/OpenCV-2.4.0/build$ cmake -D WITH_QT=ON -D WITH_XINE=ON -D WITH_OPENGL=ON -D WITH_TBB=ON -D BUILD_EXAMPLES=ON .. CMake Error: The source directory "/home/clive" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the

unicharset_extractor: command not found

别来无恙 提交于 2020-01-01 09:14:28
问题 I want create new train data using tesseract. So follow step which mentioned in below website. https://blog.cedric.ws/how-to-train-tesseract-301 I got below error while i execute Unicharset in OS X terminal. Command: unicharset_extractor eng.micrtest.exp.box Error: -bash: unicharset_extractor: command not found I have using below software versions OS: OSX EI caption 10.11.1 tesseract 3.04.01 leptonica-1.72 libjpeg 8d : libpng 1.6.21 : libtiff 4.0.6 : lib 1.2.5 is this possible to execute

When I do pip --version it show the error as ImportError: No module named pyparsing

余生颓废 提交于 2020-01-01 09:04:54
问题 I tried installing/uninstalling pyparsing as well and it does not work. I am stuck with this and I have to install additional libraries as well. Here is the error message: Traceback (most recent call last): File "/usr/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "/home/rachana/.local/lib/python2.7/site-packages/pkg_resour‌​ces/__init__.py", line 72, in <module> import packaging.requirements File "/home/rachana/.local/lib/python2.7/site-packages/packaging/‌

Open Chrome from terminal with developer console open

僤鯓⒐⒋嵵緔 提交于 2020-01-01 07:56:06
问题 I can run Google Chrome from the command line using $ google-chrome , but what flag can I pass to open it with developer console already open, preferably open to the console tab? I checked the man page for google-chrome but it states that Google Chrome has hundreds of undocumented command-line flags that are added and removed at the whim of the developers. I'm hoping one of those undocumented flags does what I want. 回答1: The flag you're looking for is --auto-open-devtools-for-tabs. Please

Make the screen Flash from Mac OS Terminal

浪尽此生 提交于 2020-01-01 07:23:35
问题 I using different build scripts for package my apps. Some of them running a while and it would be great to have a visual notification the script is ready. I already use the notifications center with an Apple Script but something it is not alarming enough. Is it possible to run and Applescript or a command line command to let the screen flashes. A plus would be to flash in different colors (green for OK and red for build failed). 回答1: I have a couple of ideas... Easiest: Go to Terminal-

laravel 4 installation problems

拜拜、爱过 提交于 2020-01-01 06:22:51
问题 i have been struggling with this for about 20 hours now and i cannot move forward. I am hopeless and tired from all that searching. Dont know where else should i try to find the solution. At the begining i should probably say that i am not a terminal/composer/git user. I am trying to install the laravel 4 framework. I have been googling a lot and found some tutorials, some of the even here on stackoverflow but noting really helped me. I have the basic github master zip package extracted at my

laravel 4 installation problems

拜拜、爱过 提交于 2020-01-01 06:21:54
问题 i have been struggling with this for about 20 hours now and i cannot move forward. I am hopeless and tired from all that searching. Dont know where else should i try to find the solution. At the begining i should probably say that i am not a terminal/composer/git user. I am trying to install the laravel 4 framework. I have been googling a lot and found some tutorials, some of the even here on stackoverflow but noting really helped me. I have the basic github master zip package extracted at my

Is there a command line framework for ruby? [closed]

喜夏-厌秋 提交于 2020-01-01 04:47:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . So, there are web frameworks, there are GUI frameworks, I was just wondering if there was a console/command line framework for ruby? Specifically, I would like to be able to: Have a particular view wherein I could tab to different input segments. Exactly like you can do with forms on a web page. I would like the

Copy a string to clipboard from Mac OS command line

老子叫甜甜 提交于 2020-01-01 04:42:15
问题 is there a way to copy a string to clipboard from command line? To be more specific, I want to make a script which copies my email address to clipboard, so that when I need to insert it several times for logging in / register, I just run the script once and then CMD+V it whenever I need. I heard of pbcopy , but I think this is not my case. Any suggestion? Many thanks! 回答1: You need to pipe the output of your script to pbcopy For example: ./somescript.sh | pbcopy 回答2: echo 'your-email@example

How do I find out what escape sequence my terminal needs to send?

大城市里の小女人 提交于 2020-01-01 04:24:07
问题 I am using the terminal application on osX to connect to ubuntu (12.04 i think). I have the terminal at it's default setting of xerm-256. In this mode the terminal sends the sequence of \033OQ when F2 is pressed. There is no mapping however for Shift-F2 or Control-F2. There is also no sequences set for Shift-Left, Shift-Right, Control-Left, Control-Right, etc. I need some of these keys to operate features from time to time in various programs. Take for example byobu. Shift-F2 and Control-F2