- the rotonde organization
- rotonde spec
- portals from the dat rotonde network
- all portals in the rotonde network
- see if your portal is reachable using http://rotonde.cblgh.org/portal/rotonde.xxiivv.com, replacing rotonde.xxiivv.com with the path to your portal
- the dat beaker browser app
- a nodejs cli
- a python client
- a fully featured self-hosted electron app (OSX/Linux only currently)
- a tool to merge multiple rotonde feeds
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
cd ~ | |
sudo yum update | |
sudo yum install java-1.7.0-openjdk.i686 -y | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.0.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
mv elasticsearch-* elasticsearch | |
sudo mv elasticsearch /usr/local/share |
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
# part of my .zshrc | |
# looks for the pattern $2 in the folder $1 and its subfolders | |
# folder pattern | |
# usage: grepfind ~/.irclogs potato | |
# | |
# use quotes when searching for sentence fragments: | |
# grepfind ~/.irclogs "potato cannon" | |
function goGrepGO() { |
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
A::Send A | |
B::Send A | |
C::Send A | |
D::Send A | |
E::Send A | |
F::Send A | |
G::Send A | |
H::Send A | |
I::Send A | |
J::Send A |
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
import random | |
def geo_print(): | |
void_string = "" | |
for i in xrange(32): | |
for i in xrange(15): | |
rand = random.random() | |
ch = "A" | |
if rand > 0.6: | |
ch = " " | |
void_string += ch |
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
import urllib2 | |
import sys | |
import json | |
import codecs | |
from bs4 import BeautifulSoup | |
sys.setrecursionlimit(2500) | |
html = urllib2.urlopen("http://wordsgalore.com/wordsgalore/languages/spanish/spanish1000.html").read() | |
base_url = "http://wordsgalore.com/wordsgalore/languages/spanish/" | |
soup = BeautifulSoup(html, "html.parser") |
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
// COMPUTER 1 | |
var ram = require("random-access-memory") // store remote db in ram. it's nice for testing bc doesnt create a bunch of files | |
var hyperdiscovery = require("hyperdiscovery") | |
var hyperdb = require("hyperdb") | |
var hypercore = require("hypercore") | |
// local.key is d5d0b189af6b981ab7942c3d71103e9a1cbfa32e203220e830b7a16deac6cc43 | |
var local = hypercore("./local-db", {valueEncoding: "json", sparse: true}) | |
// pass in feeds in same sequence on both machines | |
var db = hyperdb([ |
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
if (process.argv.length < 3) { | |
console.error("usage: alarm.js <time (defaults to seconds)> [optionally: minutes|hours|days|years]") | |
console.error("example:") | |
console.error("\tnode alarm.js 2 // trigger alarm in 2 seconds") | |
console.error("\tnode alarm.js 2 minutes // trigger alarm in 2 minutes") | |
process.exit() | |
} | |
var time = parseInt(process.argv[2]) | |
var unit = "seconds" | |
var factor = 1000 |
- hypercore works with individual posts in an append-only feed
- hyperdrive abstracted filestore / works with files
- hyperdiscovery create p2p swarms for hypercores, hyperdrives, and hyperdbs
- hyperdb key-value database
OlderNewer