http://blog.qt.io/blog/2017/06/22/using-compiler-explorer-qt/
git clone https://github.com/mattgodbolt/compiler-explorer.git
Requires Node >= 8
#!/usr/bin/env ruby | |
require 'rubygems' | |
# sudo gem install ruby-graphviz | |
# sudo port install graphviz | |
require 'graphviz' | |
# NB: The following line deals with the case where your iPhoto library is not in the usual place. | |
# If you have more than one iPhoto libraries, please set this manually. | |
IPHOTO_LIBRARY = `mdfind "kMDItemKind == 'iPhoto Library' && kMDItemContentTypeTree == com.apple.package"`.strip | |
LIBRARY = File.join(IPHOTO_LIBRARY, "Database", "Library.apdb") |
#include <iostream> | |
#include <hdf5.h> | |
// Constants | |
const char saveFilePath[] = "test.h5"; | |
const hsize_t ndims = 2; | |
const hsize_t ncols = 3; | |
int main() |
git clean -xfd | |
git submodule foreach --recursive git clean -xfd | |
git reset --hard | |
git submodule foreach --recursive git reset --hard | |
git submodule update --init --recursive |
These commands are based on a askubuntu answer http://askubuntu.com/a/581497 | |
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below. | |
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING. | |
ABSOLUTELY NO WARRANTY. | |
If you are still reading let's carry on with the code. | |
sudo apt-get update && \ | |
sudo apt-get install build-essential software-properties-common -y && \ | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ |
http://blog.qt.io/blog/2017/06/22/using-compiler-explorer-qt/
git clone https://github.com/mattgodbolt/compiler-explorer.git
Requires Node >= 8