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
# config/environments/development.rb
MyApp::Application.configure do
# Tell Rails to log to STDOUT instead Rails::Rack::LogTailer
config.logger = Logger.new(STDOUT)
config.logger.level = Logger.const_get(
ENV['LOG_LEVEL'] ? ENV['LOG_LEVEL'].upcase : 'DEBUG'
)
end
@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
/**
* 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:20
Azkfile by Magnetis
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
magnetis: {
// Dependent systems
depends: ["postgres", "redis", "elasticsearch"],
// More images: http://images.azk.io
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www;
index index.html index.php;
# Make site accessible from http://localhost/
server_name localhost;
@gullitmiranda
gullitmiranda / Azkfile.js
Last active August 29, 2015 14:21 — forked from marioidival/Azkfile.js
Pyramid with Python 3.4 - Azkfile.js
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
"pyramid": {
// Dependent systems
depends: [],
// More images: http://images.azk.io
@gullitmiranda
gullitmiranda / azkfile-counter.sh
Last active November 6, 2015 13:05 — forked from fearenales/azkfile-counter.sh
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

/providers

POST /providers

  {
    id: "paulistana", // ID
    name: "Paulistana",
    standard: "ABRASF",
    version: "1.00",
    actions: [