This file contains 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
// external libraries | |
#include "rapidjson/document.h" | |
#include "rapidjson/pointer.h" | |
// standard libraries | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
void parse_json_int(rapidjson::Document &json, const std::string &pointer, int &target) |
This file contains 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
#!/bin/bash | |
# exit on first error | |
set -e | |
function print_synopsis { | |
echo "$0 [options]" | |
echo "" | |
echo "options:" | |
echo " --winecfg start winecfg with the current wine bottle" | |
echo " --regedit start regedit with the current wine bottle" |
This file contains 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
# Sample toolchain file for building for Windows from an Ubuntu Linux system. | |
# | |
# Typical usage: | |
# *) install cross compiler: `sudo apt-get install mingw-w64 g++-mingw-w64` | |
# *) cd build | |
# *) cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-Ubuntu-mingw64.cmake .. | |
set(CMAKE_SYSTEM_NAME Windows) | |
set(TOOLCHAIN_PREFIX x86_64-w64-mingw32) |
This file contains 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
==> default: Mounting shared folders... | |
INFO interface: detail: /vagrant => /home/gc/Downloads/Vagrant/win7_test | |
INFO interface: detail: default: /vagrant => /home/gc/Downloads/Vagrant/win7_test | |
default: /vagrant => /home/gc/Downloads/Vagrant/win7_test | |
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "showvminfo", "dae74697-9457-489d-b155-f339d3997b4e", "--machinereadable"] | |
INFO subprocess: Command not in installer, restoring original environment... | |
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "showvminfo", "dae74697-9457-489d-b155-f339d3997b4e", "--machinereadable"] | |
INFO subprocess: Command not in installer, restoring original environment... | |
INFO ssh: SSH is ready! | |
INFO ssh: Execute: (sudo=false) |