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 ...
<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; |
#include <QApplication> | |
#include <QDialog> | |
#include <QHBoxLayout> | |
#include <KPlotWidget> | |
#include <KPlotObject> | |
#include <KPlotAxis> | |
#include <KPlotPoint> | |
#include <itpp/itbase.h> | |
int main(int argn,char *argc[]) |
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" | |
) |
#!/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 |
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{}) { |
package main | |
import ( | |
"flag" | |
"fmt" | |
"html/template" | |
"io/ioutil" | |
"net" | |
"net/http" | |
"os" |
Note: There is a lot of information here, but if I have provided a link, it is probably something you should click on and read. OAuth is a complex enough subject on it's own, and hacking these two services together only adds to it.
Even so, I have found Firebase's API to be simpler than almost any other OAuth solution I have explored. When all is said and done, the important bits of code related to authentication is actually less than 10 lines. If you have ever tried to implement your own OAuth flow before, you know how amazing that is.
In the end, it may be worth using Firebase for authentication, even if that's the ONLY thing you use it for.
#!/bin/bash | |
# <http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2> | |
echo -e "\n\nArch Linux ARM to SD Card" | |
echo -e "for the Raspberry Pi 2" | |
echo -e "(and for the Raspberry Pi 3, if you don't need to use the unofficial arm64 variant)\n\n" | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
"golang.org/x/net/context" | |
"github.com/husobee/backdrop" |