Skip to content

Instantly share code, notes, and snippets.

View Japh's full-sized avatar

Japh Japh

View GitHub Profile
<!DOCTYPE HTML>
<html>
<head>
<title>T11</title>
<style>
body {
margin: 0;
padding: 0;
background-color: #000000;
040d3b68f1151304110099e8abcebb332a1247fd5aa8919b42b804c5d686f422597763e78b8c35dd0bec5d1710135ecd2d5e2a5204ae1a3477b64b4b80e80f1791
@Japh
Japh / neo-response.md
Created November 19, 2017 09:43
Responding to this poorly researched piece: https://storeofvalue.github.io/posts/major-neo-redflags/

Rebuttal

“NEO is incredibly centralized. The entire network only has 13 validating nodes. Developers whitelist who can run validating nodes”

All fully synced blockchain wallets are NEO nodes. There are many. However, NEO works on a different kind of consensus mechanism than currencies like Bitcoin (Proof-of-Work) or NAV (Proof-of-Stake), and uses something called dBFT (delegated Byzantine Fault Tolerance). So there are certain nodes in the network that are like “master” nodes called “Consensus Nodes”, and these need to be voted on by the entire network. Plenty of this information is in the NEO docs.

Currently the Consensus Nodes are run by the NEO Council, which was a deliberate decision while the ecosystem got moving, with plans to decentralise the operation of these nodes in Q1 of 2018. Ironically it was in October’s Monthly Report from the NEO Council that plans were announced to do this even earlier than originally planned.

Almost nothing

@Japh
Japh / spinnaker-tunnel.sh
Created November 24, 2015 04:49
Spinnaker tunnelling
#!/bin/bash
socket=$HOME/.ssh/spinnaker-tunnel.ctl
if [ ! \( -e ${socket} \) ]; then
echo "Opening tunnel to Spinnaker..."
ssh -f -N spinnaker-start && echo "Tunnel open."
else
echo "Closing tunnel to Spinnaker..."
ssh -O "exit" spinnaker-stop && echo "Tunnel closed."
@Japh
Japh / sync-engine-api-proxy.conf
Last active October 10, 2015 11:32
Supervisor for Nylas
# Nginx config for proxying requests on port 80 to 5555, put in /etc/nginx/conf.d/
server {
listen 80;
listen 443 default_server ssl;
server_name example.com; # You should change this to the IP address or domain for your server
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:5555;
}
@Japh
Japh / gist:b1321405540b26d79309
Created March 30, 2015 12:09
onename-verification.txt
Verifying that +japh is my openname (Bitcoin username). https://onename.com/japh
@Japh
Japh / keybase.md
Created August 3, 2014 23:26
keybase.md

Keybase proof

I hereby claim:

  • I am Japh on github.
  • I am japh (https://keybase.io/japh) on keybase.
  • I have a public key whose fingerprint is 8426 E15F CE1D CE53 2CD4 9E18 F9A8 6C01 062E ADEF

To claim this, I am signing this object:

@Japh
Japh / 0_reuse_code.js
Created June 16, 2014 12:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Japh
Japh / qa_wptsr.md
Last active May 14, 2017 11:41
Q & A on WordPress Theme Submission Requirements
<?php
/*
* Plugin Name: Commercial Client
* Plugin URI: http://pento.net/
* Description: A sample client plugin for showing updates for non-WordPress.org plugins
* Author: pento
* Version: 0.1
* Author URI: http://pento.net/
* License: GPL2+
*/