Skip to content

Instantly share code, notes, and snippets.

Satinder Grewal satindergrewal

Block or report user

Report or block satindergrewal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rklaehn
rklaehn / ipfs-publish-remote.sh
Last active Jul 23, 2019
Publishing to ipfs/ipns by key
View ipfs-publish-remote.sh
#!/bin/bash
if [ "$#" -ne 3 ]; then
echo "usage:"
echo " ipfs-publish-remote.sh <keyname> <dir> <host>"
echo " example: ipfs-publish-remote.sh keyname output/rootdir user@ipfs.company.net"
exit 1
fi
KEYNAME=$1
DIR=$2
HOST=$3
@lukechilds
lukechilds / get_latest_release.sh
Created Aug 9, 2016
Shell - Get latest release from GitHub
View get_latest_release.sh
get_latest_release() {
curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
grep '"tag_name":' | # Get tag line
sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value
}
# Usage
# $ get_latest_release "creationix/nvm"
# v0.31.4
@svett
svett / sshtunnel.go
Last active Dec 6, 2019
SSH tunnelling in Golang
View sshtunnel.go
package main
import (
"log"
"bufio"
"time"
"os"
"fmt"
"io"
"net"
@campadrenalin
campadrenalin / main.md
Created Jan 25, 2012
Getting started with Meshnet
View main.md

Getting started with Meshnet

This document is for people who want to help but have no technical knowledge. It assumes you won't be getting involved in squabbles over which relay technology to use, etc.

Step 1: Set up CJDNS

One of the few things widely agreed upon at the time of this writing is the use of CJDNS. Currently Windows is not supported, but if you have Linux or can run Linux in a virtual machine, you can follow the step-by-step instructions lower on that page to install and start up an instance of CJDNS on your system. If you're using Ubuntu 11.10 (latest version), you can follow these simplified instructions.

One thing you should know is cjdns currently isn't a wireless meshnet. A physical meshnet consisting of nodes geographically close to each other is a long way off. Instead, cjdns offers a "mixnet"-like system. cjdns is routable over the current Internet, so this means right now its like a giant VPN (virtu

You can’t perform that action at this time.