Skip to content

Instantly share code, notes, and snippets.

beaker ipfs/dat apps

what I think would be cool: an ipfs/dat site with an index.html that looks like this:

<!doctype html>
<script src="ipfs://mypfs.com/[email protected]"></script>
<script>exploreArchive('ipfs://pauls-public-files.com')</script>
@bcomnes
bcomnes / [email protected]
Last active May 18, 2019 22:45
scuttlebot.service: /etc/systemd/service/[email protected]
[Unit]
Description=sbot
[Service]
ExecStart=/usr/local/bin/sbot server --host example.com --blobs.party
# Track https://github.com/ssbc/patchwork/issues/224 for info on --blobs.party
Restart=on-failure
ReadWriteDirectories=/home/%i/.ssb
User=%i
Hi [represenative name],
As one of your supporting constituents of [town name in district] who is a
worker in the tech community I am very much so hoping that you vote against
Assembly Bill A8093. As a software engineer I can assure you that any effort to
undermine the encryption on devices will have unintended consequences that will
negatively affect our ability to maintain personal privacy and security against
malicious actors (inside and outside of the government/law enforcement).
The proposed bill would require manufacturers to create a backdoor in a

here are the most useful pull streams modules

combining pull streams

a library of simple functions that will be familiar functional programmers.

@reqshark
reqshark / init.coffee
Created November 4, 2015 07:50
atom server
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->

using reputation systems to create shared function-critical datastructures in open networks

Search engines, spam filtration, and p2p protocols - all need to rate the value of information. Search engines need it to provide good results; spam filtration needs it to exclude noise; and p2p networks need it for security and efficiency.

What is "value?" I'll use two dimensions:

  • Quality (how useful the information is). The more permissive participation is, the greater the need for quality-ranking. Term-frequency search alone fails for the Web, because the Web doesn't prefilter for quality.
  • Trust (how safe the information is to use). The more function-critical the information is, the greater the need for trust-ranking. If a DHT's host-lookup can be manipulated to flood an unsuspecting computer (a DDoS) then the DHT is unsound.
@chrismdp
chrismdp / s3.sh
Last active September 13, 2024 12:53
Uploading to S3 in 18 lines of Shell (used to upload builds for http://soltrader.net)
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine
# This is how I upload my new Sol Trader builds (http://soltrader.net)
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
{
path=$1

Experimental Generation of Interpersonal Closeness

Instructions to Subjects Included With Task Slips Packet

This is a study of interpersonal closeness, and your task, which we think will be quite enjoyable, is simply to get close to your partner. We believe that the best way for you to get close to your partner is for you to share with them and for them to share with you. Of course, when we advise you about getting close to your partner, we are giving advice regarding your behavior in this demonstration only, we are not advising you about your behavior outside of this demonstration.

In order to help you get close we've arranged for the two of you to engage in a kind of sharing game. You're sharing time will be for about one hour, after which time we ask you to fill out a questionnaire concerning your experience of getting close to your partner.

You have been given three sets of slips. Each slip has a question or a task written on it. As soon as you both finish reading these instructions, you should

@indiv0
indiv0 / minerap.md
Last active August 26, 2016 17:30
Nikitape's Minerap FAQ

[OUTDATED] Summary

MinerApocalypse is a Minecraft server which intends to present unrestricted gameplay to the player in an apocalyptic environment.

###Goal To provide a balanced, apocalyptic, experience while remaining as light-weight (plug-in-wise) and as close to vanilla Minecraft as possible.

###Server Address(es) The MinerApocalypse server address is minerap.com. The MinerApocalypse development server, where plugin and other testing happens, can be accessed at dev.minerap.com.

how to read and post usenet stuff on tilde.town

  1. run "alpine"
  2. press "s" for Setup
  3. press "c" for Configure
  4. arrow down to "NNTP Servers" and hit enter
  5. input "tilde.town" and hit enter
  6. hit "e" for Exit
  7. hit "y" to save configuration change
  8. You should be back at the main menu. Select "Folder list"