Skip to content

Instantly share code, notes, and snippets.

View talesporto's full-sized avatar

Tales Porto talesporto

View GitHub Profile
@talesporto
talesporto / gitlab-quality-gate-breaker.js
Created September 4, 2018 14:36
GitLab Sonar Quality Gate Breaker
// Break the GiLab build from the Sonar Quality Gate
// DOWNLOAD IT
// RUN npm i properties q axios lodash
// RUN node gitlab-quality-gate-breaker.js
'use strict';
const properties = require("properties");
const q = require("q");
const axios = require('axios');
@talesporto
talesporto / _service.md
Last active April 3, 2018 19:11 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
@talesporto
talesporto / simpleTestOpenGL.c
Created May 23, 2011 22:01
Testando openGL
/*
* simple.c
* This program draws a white rectangle on a black background.
*
*/
/* E. Angel, Interactive Computer Graphics */
/* A Top-Down Approach with OpenGL, Third Edition */
@talesporto
talesporto / installKinectComplete_Ubuntu10.sh
Created May 4, 2011 19:57
Script para instalar o Kinect no Ubuntu
#!/bin/bash
#
# Instala os drivers, bibliotecas e exemplos para o Kinect.
#
# 1º - OpenNI
# 2º - PrimeSensor
# 3º - SensorKinect
# 4º - NITE (32/64)
#
# Cria a seguinte estrutura de diretorios.