A simple demo of boltdb.
Compare prefix and range scans with the levelup approach described in the Rod Vagg's article, LevelDB and Node: Getting Up and Running.
See also the intro articles/talks by ...
package main | |
import ( | |
"reflect" | |
"strconv" | |
"fmt" | |
) | |
func sum(arguments ...interface{}) { |
A simple demo of boltdb.
Compare prefix and range scans with the levelup approach described in the Rod Vagg's article, LevelDB and Node: Getting Up and Running.
See also the intro articles/talks by ...
#!/bin/bash | |
# <http://archlinuxarm.org/platforms/armv6/raspberry-pi> | |
echo -e "\n\nArch Linux ARM for Raspberry Pi to SD Card" | |
echo -e "(Not meant for the Raspberry Pi 2 - " | |
echo -e " check https://gist.github.com/pklaus/9dd4a7bf040788cda501 instead.)\n\n" | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 |
package main | |
import ( | |
"code.google.com/p/go.net/websocket" | |
//"github.com/garyburd/go-websocket/websocket" | |
//"github.com/zhangpeihao/gowebsocket" | |
"net/http" | |
"net/rpc" | |
"net/rpc/jsonrpc" | |
) |
#include <QApplication> | |
#include <QDialog> | |
#include <QHBoxLayout> | |
#include <KPlotWidget> | |
#include <KPlotObject> | |
#include <KPlotAxis> | |
#include <KPlotPoint> | |
#include <itpp/itbase.h> | |
int main(int argn,char *argc[]) |
<html> | |
<head> | |
<title>Simple Line Graph using SVG and d3.js</title> | |
<script src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style> | |
/* tell the SVG path to be a thin blue line without any area fill */ | |
path { | |
stroke: steelblue; | |
stroke-width: 1; | |
fill: none; |