Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am antoniorossi on github.
  • I am antoniorossi ( on keybase.
  • I have a public key ASAX-HTVusgkcSv8v8c8D0OKFW3xbjcQI088eTLzjagUBwo

To claim this, I am signing this object:

AntonioRossi /
Created May 4, 2018 — forked from xahare/
How to run docker on Qubes-OS

Docker on Qubes

(Docker)[] a software container platform. You may have heard of it.

(Qubes-OS)[] "A Reasonably Secure Operating System"

It takes a little work to get Docker running on qubes because you have to modify a templatevm. But, once you do it, you have the ease of compartmentalization qubes is famous for.

As of this writing the versions im using are,

* Created by benny on 14-9-19.
import android.content.Context;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
AntonioRossi / certgen.rb
Created Jun 13, 2016 — forked from sheerun/certgen.rb
Docker TLS certificate generator
View certgen.rb
# Generates necessary certificates to ~/.docker
# Usage:
# bundle install
# ruby certgen.rb <domain>
require 'certificate_authority'
require 'fileutils'
if ARGV.empty?
AntonioRossi / gist:6f4b1025c6dc1d43144a
Created Nov 13, 2015 — forked from djvs/gist:24006c975ff11fd889e3
AngularJS (Angular) HTML5 Audio Player directive from scratch
View gist:6f4b1025c6dc1d43144a

Write your own HTML5 Audio/AngularJS audio player


I tried AudioJS, JPlayer, and a couple of the angular directives. Somehow they all sucked! And yet the HTML5 audio API was totally open and in theory should work fine with Angular. Time to get my hands dirty as usual....


app.directive('aplayer',function($interval) {

# Install ttfautohint on Ubuntu 12.04 LTS
# @author: Jean Lescure
# 2014/04/23
# Clone ttfautohint git repo to 'tmp' dir and cd into resulting repo folder
cd /tmp
git clone git://
cd ttfautohint
# Handle bootstrap's dependency: automake