I just downloaded the yuicompressor-master from https://github.com/yui/yuicompressor and am planning on using it in my symfony2 app. The problem is that there is no yuicompressor.jar file.
I am guessing I need to build the .jar file from the files in the yuicompressor-master folder but after some time duckduckgo'in around (i try and avoid google) I can't find instructions on how I am supposed to build the .jar if that's what needs to be done.
I am comfortable on the command line and don't mind reading through some man documents to figure this out. Can anyone point me in the right direction? I apologize if this is a dumb question, I have no experience working with java obviously. Thanks!
I ran these commands from terminal to install the yui compressor:
Mac osx:
brew install yuicompressor
ln -s /usr/local/Cellar/yuicompressor/2.4.7/libexec/yuicompressor-2.4.7.jar ~/htdocs/symfony/app/Resources/java/
ubuntu:
sudo apt-get install yui-compressor
Anyway, would still like to know what to do with the files from https://github.com/yui/yuicompressor
Related
I am completely new to all of this, but I was trying to install https://github.com/MrS0m30n3/youtube-dl-gui, which requires twodict.
Now, the manual simply says:
Install From Source
Download & extract source from here
Change directory into twodict-1.2/
Run sudo python setup.py install
Sorry for the idiotic question, but what is meant by "change directory into twodict-1.2/"?
I downloaded the source file, and when I extract it, where do I put it? If What is meant by the step 2? Which command would I have to run exactly? I don't get it.
Running MacOS.
Thanks!
I downloaded the code of kibana 4.1.3 in GitHub.
I tried to run it, but I don't know how?
Here is the code I used,
sudo npm install
sudo bower install -allow-root
grunt
I am not exactly sure what you are looking at here.
I had a look here,
https://github.com/elastic/kibana
and it says this,
Download: http://www.elastic.co/downloads/kibana
Extract the files
Run bin/kibana on unix, or bin\kibana.bat on Windows.
Visit http://localhost:5601
When I downloaded something from here,
https://www.elastic.co/downloads/past-releases/kibana-4-1-3
The readme.txt file inside says this,
Installation
============
Download: http://www.elastic.co/downloads/kibana
Run bin/kibana on unix, or bin\kibana.bat on Windows.
Visit http://localhost:5601
Which is pretty much the same. In the bin folder there is a script, kibana, and I think that is what it is telling you to run.
Hopefully that helps, but I have no specific knowledge of what you are doing here. Please expand your question if you need further help.
I downloaded GNAT ADA GPL 2014 and now trying to install on my Mac.
The directions below are the ones I am following, but I do not know where to look to find the file called doinstall. I might still need some help after finding it, but can anyone help me out here?
Navigate to the directory that contains a file called: doinstall
Enter: sudo mkdir /usr/local/gnat
Enter: sudo ./doinstall
Update your path as needed for your shell
You should have downloaded gnat-gpl-2014-x86_64-darwin-bin.tar.gz.
Go to some temporary directory (I use ~/tmp):
cd ~/tmp
Unpack the download, which creates a directory gnat-gpl-2014-x86_64-darwin-bin containing the binary distribution to be installed:
tar zxvf ~/Downloads/gnat-gpl-2014-x86_64-darwin-bin.tar.gz
Enter that directory, which contains (amongst others) doinstall:
cd gnat-gpl-2014-x86_64-darwin-bin
Execute doinstall to enter the installation dialog:
sudo ./doinstall
Remove the unpacked download:
cd ..
rm -rf gnat-gpl-2014-x86_64-darwin-bin
Now you can update PATH as needed for your shell.
What Simon Wright said is correct, but if you're running on Yosemite there's an extra problem: for some obscure reason, Adacore GNAT is broken on Yosemite. You have to make it think it's compiling for Mavericks:
export MACOSX_DEPLOYMENT_TARGET=10.9 # Yosemite workaround
That can go in a few different places, but I put it near the top of the /usr/local/gnat/bin/gps script so it doesn't interfere with the xcodebuild environment.
Also, I found GTKAda to be nearly impossible to install from source; if you download the XNAdaLib-GPL package from http://sourceforge.net/projects/gnuada/ you can install that and get everything you need without having to wade through Adacore's mess. (You may want to use the Adacore version of Glade for GUI design though; for some reason the Sourceforge package's version is localized in French and I'm not sure if it can be switched to English.)
Finally, since this is a bit duct-tape-and-baling-wire, I would recommend not shipping any production mission-critical code with this environment; either roll back to Mavericks or wait for GNAT 2015.
I haven't been able to find the help I need on (on dummie level) for installing a new dictionary (danish) in emacs. To be honest I somewhat confused about ispell vs aspell. When typing "M-x ispell-buffer" a spelling control starts using english as default. I can change directory typing "M-x-ispell-change-dictionary" it suggest "dansk" but I get an error saying that the file /.../aspell/dict/danish" can not be opened for reading. I can deduct that the dictionary is not installed - but I cannot seem to finde a guide (step by step) on how to do this.
And then I have a bonus question. I have managed to install flyspell (or is that actually 'installing' as I have just addet the .el file to my emacs load path and loaded in my .emacs file?). This seem to work (wauw), and as I understand it flyspell is using the same dictionaries as ispell/aspell hence solving my probleme above would enable me to use flyspell in danish?
Any help is appreciated.
/Kira
If you are on Ubuntu or Debian system you can install the Danish aspell package from the commandline with
sudo apt-get install aspell-da
I am implementing some idea on sqlite3. Every time I want to test my codes, I have to compile the whole project. The following is exactly what I do :
sudo make uninstall
sudo make clean
./configure
sudo make
sudo make install
some of above commands cost long time. What should I do to save time?
Skip other steps and do only
sudo make
sudo make install
after you changed some source codes.
Also, don't use sudo at all. You should be able to run an instance without actually "installing" it anywhere. This is what developers will normally do, rather than having to keep installing code they're working on into the very system they're using.
If you have a dual-core machine, use make -j2 to compile 2 files at a time in parallel. Quad core: make -j4, etc. This helps a lot if you make header file changes.
And listen to S.Mark: only do the steps you need to do each time. You probably won't need to run the slow ./configure again. If you run/link your tests against the sqlite in your build directory, you don't need make install either, leaving you with just make.
ccache might be your friend.
On Ubuntu (or similar systems), you start with apt-get install ccache and then before you compile, do PATH=/usr/lib/ccache:$PATH. It'll cache stuff in ~/.ccache and likely speed up subsequent compiles.