Skip to content

Instantly share code, notes, and snippets.

View fearenales's full-sized avatar

Felipe Arenales fearenales

View GitHub Profile
@fearenales
fearenales / comparison.md
Last active February 26, 2016 19:05
Comparison between azk and Docker Compose

azk is an alternative to Docker Compose but instead of being a container manager, it provides the whole environment orchestration.

When compared to Docker Compose, azk has several advantages, such as:

  • Its manifest file is more verbose and has a greater toolset;
  • You can persist content from inside the container way better than simply mounting volumes using Docker Compose;
  • Fow now, it relies on VirtualBox (usign debian2docker) but it has a built-in function to sync folders into the container using rsync (significantly increasing performance for file sharing). You can still use VirtualBox Shared Folders if you want to;
  • Its built-in DNS server makes you don't worry about port mapping and docker IP issues. You can access your local app running with azk by simply accessing a custom address, like: my-app.dev.azk.i
@fearenales
fearenales / azkfile-counter.sh
Last active June 28, 2016 16:15
How many Azkfile.js in non Azuki's team repo exist?
#! /bin/bash
curl -s "https://github.com/search?utf8=%E2%9C%93&q=Azkfile.js+in%3Apath+-user%3Aazukiapp+-user%3Arun-project+-user%3Amarcusgadbem+-user%3Aheitortsergent+-user%3Asaitodisse+-user%3Agullitmiranda+-user%3Afearenales+-user%3Anuxlli&type=Code&ref=searchresults" | grep counter | sed s/.*counter\"\>//g | sed s/\<\\/.*//g
var msgCount = document.getElementsByClassName('msg').length;
var personName = document.getElementsByTagName("title")[0].innerHTML;
$('#composerInput').onkeypress = function(event){
if(event.which == 13){
event.preventDefault();
$('button._5y14._52cp').click();
}
}