Skip to content

Instantly share code, notes, and snippets.

@gisthero
gisthero / Procfile
Created May 13, 2013 10:54
Restify on Heroku
web: node rest.js
// Restify Server CheatSheet.
// More about the API: http://mcavage.me/node-restify/#server-api
// Install restify with npm install restify
// 1.1. Creating a Server.
// http://mcavage.me/node-restify/#Creating-a-Server
var restify = require('restify');
@rauchg
rauchg / README.md
Last active January 6, 2024 07:19
require-from-twitter
@Vini2
Vini2 / SimpleDemoGA.java
Last active March 27, 2024 15:58
A simple implementation of a genetic algorithm
import java.util.Random;
/**
*
* @author Vijini
*/
//Main class
public class SimpleDemoGA {
@ryan-blunden
ryan-blunden / create_doppler_service_token.sh
Created April 16, 2021 01:20
Crate a Doppler Service Token from the Command Line
#!/usr/bin/env bash
# Requires a CLI token
DOPPLER_TOKEN="$(doppler configure get token --plain)" \
DOPPLER_PROJECT="$(doppler configure get project --plain)" \
DOPPLER_CONFIG="$(doppler configure get config --plain)" \
\
SERVICE_TOKEN=$(curl -sS --request POST \
--url https://api.doppler.com/v3/configs/config/tokens \
# #
# #
# #
# #
# Instalação do Prometheus #
# #
# #
# #
# #
apiVersion: v1