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 / using-uuid-as-pk.md
Created November 25, 2023 16:59 — forked from rponte/using-uuid-as-pk.md
Não use UUID como PK nas tabelas do seu banco de dados

Pretende usar UUID como PK em vez de Int/BigInt no seu banco de dados? Pense novamente...

TL;TD

Não use UUID como PK nas tabelas do seu banco de dados.

Um pouco mais de detalhes

@gullitmiranda
gullitmiranda / Butto.tsx
Created November 17, 2017 18:33 — forked from nuxlli/Butto.jsx
Extend material Button with Typescript
import * as React from 'react';
import * as classNames from 'classnames';
import { Theme } from 'material-ui/styles';
import { withStyles, WithStyles, StandardProps } from 'material-ui';
import MButton, { ButtonProps, ButtonClassKey } from 'material-ui/Button';
export const styles = (theme: Theme) => ({
root: {
borderRadius: 4,

/providers

POST /providers

  {
    id: "paulistana", // ID
    name: "Paulistana",
    standard: "ABRASF",
    version: "1.00",
    actions: [
@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
@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
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: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
/**
* 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: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
*/
systems({
"msmm-front": {
depends: [
'msmm-api'
],
image: { docker: "azukiapp/ruby:2.1"},
provision: [