Install xutils
sudo apt-get install xutils
Disable any previously listed commands and add the xset
commands below
#include <iostream> | |
#include <assert.h> | |
#include <string> | |
#include "rocksdb/db.h" | |
#include "rocksdb/comparator.h" | |
using namespace std; | |
using namespace rocksdb; | |
class ReverseKeyComparator : public rocksdb::Comparator { |
// Copyright (c) 2013, Facebook, Inc. All rights reserved. | |
// This source code is licensed under the BSD-style license found in the | |
// LICENSE file in the root directory of this source tree. An additional grant | |
// of patent rights can be found in the PATENTS file in the same directory. | |
#include <cstdio> | |
#include <string> | |
#include <iostream> | |
#include "rocksdb/db.h" | |
#include "rocksdb/slice.h" |
// Copyright (c) 2013, Facebook, Inc. All rights reserved. | |
// This source code is licensed under the BSD-style license found in the | |
// LICENSE file in the root directory of this source tree. An additional grant | |
// of patent rights can be found in the PATENTS file in the same directory. | |
#include <cstdio> | |
#include <string> | |
#include "rocksdb/db.h" | |
#include "rocksdb/slice.h" | |
#include "rocksdb/options.h" |
#!/usr/bin/env bash | |
# Ubuntu 14.10 Vagrant Dev machine for RocksDB development | |
# | |
# $> vagrant box add Ubuntu14.10 https://cloud-images.ubuntu.com/vagrant/utopic/current/utopic-server-cloudimg-amd64-vagrant-disk1.box | |
# $> vagrant init Ubuntu14.10 | |
# $> vagrant up | |
# | |
# - Increase RAM to 8048M | |
# | |
# |
Change to LXDE configuration folder:
cd /etc/xdg/lxsession/LXDE/
```
Add application to `autostart` file
@chromium --kiosk --incognito http://webhost:8080/
#!/usr/bin/env bash | |
# Ubuntu 14.10 Vagrant Dev machine for Apache Spark development | |
# | |
# $> vagrant box add Ubuntu14.10 https://cloud-images.ubuntu.com/vagrant/utopic/current/utopic-server-cloudimg-amd64-vagrant-disk1.box | |
# $> vagrant init Ubuntu14.10 | |
# $> vagrant up | |
# | |
# - Increase RAM to 8048M | |
# | |
# |