Skip to content

Instantly share code, notes, and snippets.

View gullitmiranda's full-sized avatar
🌎
Working from anywhere

Gullit Miranda gullitmiranda

🌎
Working from anywhere
View GitHub Profile
@gullitmiranda
gullitmiranda / azk_status_views_propose.sh
Last active August 29, 2015 14:11
Propostas para saida do `azk status`.
## Proposta para colunas customizáveis
default_keys: status,system,instances,hostname,instances-ports,provisioned,image
Options:
--table : Imprime em formato tabela
--text : Imprime em formato tabela sem bordas
@gullitmiranda
gullitmiranda / 0_reuse_code.js
Last active August 29, 2015 14:14
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
@gullitmiranda
gullitmiranda / Azkfile.js
Created February 10, 2015 15:22
Azkfile.js result of `azk init`
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
umrum: {
// Dependent systems
depends: [],
// More images: http://images.azk.io
@gullitmiranda
gullitmiranda / azk init.sh
Created February 10, 2015 15:42
`azk init` and add `.azk` to .gitignore
$ azk init
azk: `node` system was detected at '/Users/gullitmiranda/www/umrum' as 'umrum'
azk: 'Azkfile.js' generated
Tip:
Adds the `.azk` in .gitignore
echo '.azk' >> .gitignore
$ echo ‘.azk’ >> .gitignore
@gullitmiranda
gullitmiranda / Azkfile.js
Last active August 29, 2015 14:15
Azkfile.js to UMRUM
systems({
umrum: {
// Dependent systems
depends: ["redis", "mongodb"],
// More images: http://images.azk.io
image: {"docker": "azukiapp/node"},
// Steps to execute before running instances
provision: [
"npm install",
"grunt compile"
@gullitmiranda
gullitmiranda / install azk in mac.sh
Last active August 29, 2015 14:15
Comandos para instalar azk no Mac
$ brew cask install virtualbox —appdir=/Applications
$ brew install azukiapp/azk/azk
# Check install
$ azk version
azk 0.9.2
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
systems({
"msmm-front": {
depends: [
'msmm-api'
],
image: { docker: "azukiapp/ruby:2.1"},
provision: [
@gullitmiranda
gullitmiranda / Azkfile.js
Last active August 29, 2015 14:16 — forked from heitortsergent/Azkfile.js
Feedbin Azkfile.js
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
feedbin: {
// Dependent systems
depends: ["redis", "postgres"],
// More images: http://images.azk.io
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
feedbin: {
// Dependent systems
depends: ["clock", "worker-slow", "worker", "redis", "postgres", "elasticsearch"],
// More images: http://images.azk.io
@gullitmiranda
gullitmiranda / Azkfile.js
Last active August 29, 2015 14:17
Azkfile to PHP with FPM and Mysql.
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
phpSample: {
// Dependent systems
depends: ["mysql"],
// More images: http://images.azk.io