Skip to content

Instantly share code, notes, and snippets.

Avatar

Francesco Sullo sullof

View GitHub Profile
@sullof
sullof / Eventron
Last active Jan 10, 2019
A gist to run Eventron — an alternative to Tron Quickstart
View Eventron
### Usage
1. Create `docker-compose.yaml` and `up.sh` on your computer
2. Make `up.sh` executable (`chmod +x up.sh`)
3. Run `./up.sh`
You can force pre-approval of proposals commenting/uncommenting variables in the section
```
environment:
- allowTvmTransferTrc10=1
View Testnet Address
0xB8478bfBBdBf7b226235976917a616F895cd16dD
@sullof
sullof / overflowstack.js
Created Jul 14, 2017
An obscure, inefficient, misterious function to sum two integers
View overflowstack.js
function overflowstack () {
stackoverflow = new (function () { this.array = [[],[]];});
return (function wolfrevokcats () {
var a = stackoverflow.array[Math.pow(2,2)] =
stackoverflow.array[2+2] || [0,0];
for (var j=0;j<arguments[0].length;j++) {
a[2] = stackoverflow.matrix.indexOf(arguments[0][j][0]||'f')
+ (Math.pow(30,2)/(10*Math.pow(3,2)));
a[0] += Math.pow(10,a[1]) *
parseInt(stackoverflow.matrix.substring(a[2],++a[2]),10);
View keybase.md

Keybase proof

I hereby claim:

  • I am sullof on github.
  • I am sullof (https://keybase.io/sullof) on keybase.
  • I have a public key ASCVTEIiscTB5YChsOQznHVPtrCeYsWO90A6SEABxeSRbAo

To claim this, I am signing this object:

View Dockerfile
FROM ubuntu
RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -s /bin/true /sbin/initctl
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get -y install mysql-client mysql-server
You can’t perform that action at this time.