Skip to content

Instantly share code, notes, and snippets.

View moncho's full-sized avatar
:bowtie:
I could do this all day

moncho moncho

:bowtie:
I could do this all day
View GitHub Profile
@moncho
moncho / boostrap_faas_arm.md
Last active May 12, 2017 19:33 — forked from alexellis/boostrap_faas_arm.md
FaaS serverless framework bootstrap for Raspberry Pi

FaaS serverless framework bootstrap for Raspberry Pi

This bootstraps FaaS onto your Raspberry Pi or ARM board with Docker.

Any Linux/UNIX process can be made a serverless function. Communication with functions is via an API gateway with an easy to use UI portal.

https://github.com/alexellis/faas

Here's the one-shot equivalent from the TestDrive guide

Keybase proof

I hereby claim:

  • I am moncho on github.
  • I am monch0 (https://keybase.io/monch0) on keybase.
  • I have a public key ASD8pKiICaMo1ieoFQJhMZEj96ZGoaGnNlD8mHbwEuwtsQo

To claim this, I am signing this object:

Verifying that "moncho.id" is my Blockstack ID. https://onename.com/moncho
@moncho
moncho / ssh-tunnel-proxy-digitalocean.md
Created December 28, 2015 10:36 — forked from nathanleclaire/ssh-tunnel-proxy-digitalocean.md
A description of how to get started using SSH tunneling. Intended for subverting network shaping and other nasty things imposed on you by arbitrary networks.

This is a method to create a proxy which is pretty simple and does not involve using shady websites or proprietary applications, etc.

  1. First, create a server, such as a DigitalOcean droplet.

  2. Once the server is created, verify that you can login via SSH:

    $ ssh user@<ip>
    
  3. If that is working, creating a local [SOCKS5] proxy using OpenSSH is just one command. Here is one suggestion:

import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Queue;
class KTreeNode {
Integer value;
Collection<KTreeNode> children = new ArrayList<KTreeNode>();