Skip to content

Instantly share code, notes, and snippets.

View gdomiciano's full-sized avatar

Geisy Domiciano gdomiciano

  • Stockholm, Sweden
View GitHub Profile
@gdomiciano
gdomiciano / .bashrc
Created August 31, 2020 18:22
Bash Aliases
# Project aliases
alias proj="cd && cd c:/ && cd Projects"
alias repo="cd && cd c:/ && cd Projects/repo"
# Git aliases
alias st="git status"
alias add="git add "
alias gb="git branch "
alias com="git commit -am"
alias merge="git merge "
@gdomiciano
gdomiciano / nightwatch.conf.js
Created June 20, 2018 08:22
Nightwatch configuration headless without selenium
const SCREENSHOT_PATH = 'test/integration/screenshots/';
const BINPATH = 'test/integration/libs';
const TIME_OUT = process.env.NODE_ENV !== 'testing' ? 2000 : false;
const CHROME = process.env.NODE_ENV !== 'testing' ? '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' : '/usr/bin/google-chrome';
module.exports = {
src_folders: ['test/integration/specs'],
output_folder: 'test/integration/reports',
selenium: {
start_process: false,
FROM node:8.7.0
#-------------------------- Basic Test Setup ------------------------#
#Chrome dependencies and Yarn installation
RUN apt-get update -y && apt-get -y -q install curl sudo gnupg apt-transport-https dpkg gconf-service libgconf-2-4 fonts-liberation xdg-utils libxss1 libappindicator1 libindicator7 libasound2 libgtk-3-0 libnspr4 libnss3 lsb-release unzip
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update -y && apt-get -y -q install -f yarn
#headless Chrome installation
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
@gdomiciano
gdomiciano / .gitlab-ci.yml
Last active December 20, 2018 17:57
GitLab CI configuration for Nuxt.js Deployment
# Passos que o seu Servidor de CI deverá seguir (test/build/deploy)
stages:
- deploy
# nome da tarefa do CI
deploy_prod:
# Passo a que esta tarefa pertence
stage: deploy
# definição de comandos necessários para essa tarefa
script:
@gdomiciano
gdomiciano / app.json
Last active August 28, 2017 03:35
Dokku file configuration
{
"scripts": {
"dokku": {
"predeploy": "npm run build"
}
}
}