Skip to content

Instantly share code, notes, and snippets.

View wescleymatos's full-sized avatar
:octocat:
I'm ready!

Wescley Matos wescleymatos

:octocat:
I'm ready!
View GitHub Profile
@wescleymatos
wescleymatos / .gitlab-ci.yml
Created January 12, 2018 12:21 — forked from yetanotherchris/ .gitlab-ci.yml
.NET Core continous integration with Docker, Kubernetes, Gitlab and Google Cloud
# http://docs.gitlab.com/ce/ci/docker/using_docker_build.html#using-the-gitlab-container-registry
# The docker tag is the first 6 letters of the Git commit id
job_build_dotnet:
stage: build
image: microsoft/dotnet:latest
script:
- dotnet restore
- dotnet publish src/MyProject.Web -c Release
artifacts:

Expected Behavior

Current Behavior

Este PR é relacionado a qual issue?

connected to #


Este PR precisa de atenção especial em algum detalhe?

Caso positivo descreva aqui

@wescleymatos
wescleymatos / gitlab-ci.md
Created June 14, 2018 14:29 — forked from yancyn/gitlab-ci.md
Configure Gitlab CI with MSBuild

How To Configure CI With MSBuild

Make sure all required build tools are installed at build server.

  1. Install Runner on build server (download the version for OS).
  2. Configure runner. Enter URL and token from Project > settings > runners page. Choose executor as shell.
  3. Start command prompt with normal (DO NOT start as Administrator).
$ gitlab-runner register
$ gitlab-runner run
== For 64 bit arch
1. Download oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm and oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm from Oracle site
2. install alien: sudo apt-get install alien
3. install oracle instal client:
3.1 sudo alien -i oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
3.2 sudo alien -i oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
4. install php package
4.1 sudo apt-get install php5-dev
4.2 sudo apt-get install libcurl3-openssl-dev
@wescleymatos
wescleymatos / myezbkp.sh
Created June 15, 2018 18:14 — forked from kriansa/myezbkp.sh
Easy MySQL incremental backups
#!/bin/sh
# ========================================================= #
# MyEzBkp
# Easy and simple backup of your entire MySQL Server.
#
# Ver: 1.0
# By: Kriansa
#
# This script requires root privileges to run!
# Tested only in RHEL based distros (Fedora & CentOS)
@wescleymatos
wescleymatos / install_oci8_ubuntu_16.04_php7.1.md
Created June 18, 2018 19:16 — forked from hewerthomn/install_oci8_ubuntu_16.04_php7.1.md
How to install OCI8 on Ubuntu 16.04 and PHP 7.1

Gestão de Projetos

Projeto

Projeto é um esforço temporário empreendido para criar um produto, serviço ou resultado exclusivo.

Operações X Projetos:

@wescleymatos
wescleymatos / JS-LINQ.js
Created February 13, 2019 06:04 — forked from DanDiplo/JS-LINQ.js
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
{ name: "Judy", age: 42 },
{ name: "Tim", age: 8 }
@wescleymatos
wescleymatos / index.html
Created September 20, 2019 02:33 — forked from leedongwei/index.html
Using web workers with pdfmake.js
<html>
<head>
<title>Demo for using web workers with pdfmake.js</title>
<style>
body {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;