This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emulate sh -c 'source /etc/profile' | |
############################## NVM CONFIG START ############################## | |
# NVM bundle | |
export NVM_LAZY_LOAD=true | |
############################## COMPINIT CONFIG START ############################## | |
# it seems that oh-my-zsh already call for it | |
#autoload -Uz compinit | |
#for dump in ~/.zcompdump(N.mh+24); do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source $ZSH/plugins/git/git.plugin.zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: maven:3.6-jdk-8-alpine | |
stages: | |
- prepare | |
- compile | |
- deploy | |
variables: | |
MAVEN_CLI_OPTS: "-s settings-everis.xml -P everis-profile --batch-mode" | |
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" | |
xmlns="http://maven.apache.org/SETTINGS/1.1.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<servers> | |
<server> | |
<id>everis-microservice-chassis</id> | |
<username>${env.MAVEN_REPO_USER}</username> | |
<password>${env.MAVEN_REPO_PASS}</password> | |
</server> | |
<server> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.metadata | |
mongo-data | |
postgres-kong-data | |
postgres-konga-data | |
collection-twitties | |
twitties-country | |
show-twitties-app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
mongodb: | |
image: mongo:latest | |
container_name: "mongodb" | |
environment: | |
- MONGO_DATA_DIR=/data/db | |
- MONGO_LOG_DIR=/dev/null | |
- MONGODB_APPLICATION_DATABASE=twitties | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
rancher: | |
image: rancher/server | |
container_name: rancher-server | |
restart: always | |
nginx: | |
image: nginx:1.11 | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Creates an index if it does not already exist in MySQL. | |
-- Code by RolandoMySQLDBA, minor modifications by Adam Matan. | |
-- License: CC BY-SA, http://creativecommons.org/licenses/by-sa/3.0/ | |
-- Source: http://dba.stackexchange.com/questions/24531/mysql-create-index-if-not-exists/24541#24541 | |
DELIMITER $$ | |
DROP PROCEDURE IF EXISTS `pixels`.`CreateIndex` $$ | |
CREATE PROCEDURE `pixels`.`CreateIndex` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main; | |
public class HelloWorld { | |
public static void main(String[] args) { | |
System.out.println("Hello, World"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -Irl --exclude=*.cache* --exclude=*.{PlayOnLinux} /home/user1/ ./ | while read file; do sed -i s//home/user1///home/usario//g ; done |