I just someone say to use homebrew for converting PDF to HTML. I was able to download everything, but I'm not sure how to execute it. Can someone give me the step-by-step?
Homebrew is a package manager for Mac OS X. You could compare it to Macports, and Fink.
If you want to convert a PDF into HTML, you could install a program or use a free online converter. Just google "PDF to HTML converter" for a handful of converters.
The command to launch Homebrew is
$ brew
The dollar sign means bash, or terminal. Don't include it when writing the command.
Related
Currently, I am working on the Ns3 simulator and now trying to enable the pyviz visualizer. According to the doc, I have downloaded the three dependencies which are
py27-pygtk
py27-pygoocanvas
py27-pygraphviz
Now in order to use this, I still need to enable the python bindings which I used /usr/bin/python2.7 ./waf configure wanna to check what needs for enabling python bindings. The result shows that
Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved)
So I checked the Doc and downloaded PyBindGen (version 0.18.0). The output shows
Installed /Library/Python/2.7/site-packages/PyBindGen-0.18.0-py2.7.egg
Processing dependencies for PyBindGen==0.18.0
Finished processing dependencies for PyBindGen==0.18.0
After I ran the configuration check the results still showed that PyBindGen version not correct and newer version could not be retrieved
So I presume that is that because I installed the wrong version of PyBindGen? If so how can I get the suitable version for enabling Python Binding?
I would appreciate if there is someone who can help me figure it out. Many thanks.
S.
According to the Google Group
Here is the resolution(tested it worked):
follow the instruction
hg clone http://code.nsnam.org/ns-3-allinone
cd ns-3-allinone && ./download.py
This will solve the Python Binding problem
Updated: after downloading this version of ns3. Solving the python binding problem. Then there will be another problem after running
./waf configure
it will show the result like this:
PyViz visualizer: not enabled (Missing python modules: gtk, goocanvas, pygraphviz)
Even though I have installed all of the three dependencies. So after some researches I found that there has another questions post So there is a guy gave the guessing that
" Waf found the standard Python here (/usr/bin/python is the Apple path), and you installed the python libraries using MacPorts.
Most probably you'll need to configure Python to point to the MacPort-based Python, or it will not see what you installed."
So according to How to: Macports select python
here is the solution:
port select --list python
sudo port select --set python python27
Hope it will help anyone come afterwards to use this.
S.
I am using python 2.7 and windows 7 64bit. I want to use scrapy. But It is difficult use this. I referenced this article. But I can't find the lxml installer. In here, it
Download and install lxml-2.3.2.win-amd64-py2.7.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/
But I can't find the exact file in the link. How can I download the file?
If you have pip, you can just call: pip install lxml. (if you want a specific version, you can even request that like so: pip install lxml==2.3.2)
If you do not have pip, please refer to the developer's site on how to build this library, or where to get pre-build versions.
Go to https://pypi.python.org/pypi/lxml/2.3, scroll down to lxml-2.3.win32-py2.7.exe and download/install it.
Direct link: https://pypi.python.org/packages/2.7/l/lxml/lxml-2.3.win32-py2.7.exe#md5=9c02aae672870701377750121f5a6f84
To get 64 bit version use this direct link (link's on the same page as the first link): https://pypi.python.org/packages/2.7/l/lxml/lxml-2.3.win-amd64-py2.7.exe#md5=3db458d2127e68c49d6694d409322d96
Just recently I have begun to review the code for a project produced by a friend roughly 4 years ago. However, to compile this project I need an outdated version of Qt (version 3.3.8). Much of the code used in this project isn't supported in the same style as Qt4. So I'd first like to obtain Qt3 before I transition to Qt4.
Ubuntu has decided to no longer carry "qt3-dev-tools". Ubuntu has limited the selection to "qt4-dev-tools" in its repository. So installing via the command line option (sudo apt-get install qt3-dev-tools) results in an error:
"Unable to locate package qt3-dev-tools."
So, from here I did some digging for a manual installation? I found a great website to help me through the process, but I'm not very knowledgeable about Ubuntu, or Linux in general. Step 1 was simple. But step 2 and onward stumped me. I'm supposed to be both adding the environment variables listed in step two to the .profile file and then setting them, correct?
In step 2, is logging in again just meant for users with the .login shell? When I type in $HOME/.qt-license of step three, I suppose I'm typing this into the terminal?. Same with the ./configure? Both of these commands return no such file exists.
Does anyone know a better walk through to install Qt3 files, or can give a quick breakdown of this tutorial?
The website tutorial:
http://krm.am.gdynia.pl/doc/qt-3.3.8/INSTALL
If u can get .rpm package then open it in ubuntu software centre . It will get installed.
http://download.qt.io/archive/qt/3/ try downloading the package for qt3 from this qt archive & install it.
I have intalled SublimeLinter and sublimelinter-cppcheck packages to my Sublime Text 3.
The problem is that sublime text is saying SublimeLinter: WARNING: cppcheck deactivated, cannot locate 'cppcheck'. I figured out that cppcheck cannot find linter executable, so I decided that I will add path to linter to my system $PATH property. But the thing is that I cannot find linter executable on my system.
At first I thought that it's not installed but that I realised that it has to install with SublimeLinter package. But it did not. I tried to find it using Unix find command the only result is :
/Users/syky/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/cocoapods-core-0.34.2/lib/cocoapods-core/specification/linter
That is not what I am looking for.
I am using Sublime Text 3, Mac OS X Yosemite and ZSH as my shell.
SublimeLinter is looking for the cppcheck executable, which you apparently haven't installed. It is not looking for a file named linter. Please ensure that you have completely read and understood the SublimeLinter-cppcheck documentation before proceeding. The easiest way to install cppcheck is either via Homebrew or MacPorts (my personal favorite). Otherwise, you'll have to download and compile the source, which, if you're programming in C++, I assume you know how to do.
Once you have cppcheck installed, create a symlink to it in /usr/bin so Sublime can find it. Modifying your ZSH PATH won't do anything, unless you always launch Sublime from Terminal, because the PATH for programs launched from the Dock is different.
I need to install the Command Line Tools, in order to be able to compile Node C++ stuff.
Using xcode-select
Trying to use
xcode-select --install
Yields
Looking in Xcode's Preferences, Downloads
Trying to access the Downloads panel in Xcode
Version 5.0.2 (5A3005)
Yields
(no option to install Command Line Tools)
How the hell do I install these tools? Installing them by hand didn't help either
Two possible paths.
1)
Use the "Locations" pane in Xcode Preferences. You're looking for something like this:
2)
You can download the tools from Apple's website, where it's sitting:
Interestingly enough, the description for the Command Line tools lists a date, but not a compatible Xcode version. So the one I've opened up the disclosure triangle for is likely to be the one you want.