This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<!-- https://github.com/travis-ci/travis-cookbooks/blob/master/cookbooks/travis_build_environment/files/default/ci_user/maven_user_settings.xml --> | |
<profiles> | |
<profile> | |
<id>standard-with-extra-repos</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> |
This file contains hidden or 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
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/home/patricio/Aplicaciones/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","c3ea38b11f005cf2","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung | |
[AndroidDriver] No app sent in, not parsing package/activity | |
[debug] [AndroidDriver] No app capability. Assuming it is already on the device | |
[debug] [ADB] Getting install status for cl.some.package | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/home/patricio/Aplicaciones/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","c3ea38b11f005cf2","shell","pm","list","packages","cl.some.package"] |
This file contains hidden or 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
[mysqld] | |
server-id=2 | |
innodb_flush_log_at_trx_commit=1 | |
log-bin="C:/ProgramData/MySQL/MySQL Server 5.6/karibu-mysql02-bin.log" | |
sync-binlog=1 | |
binlog-format=row | |
relay-log="C:/ProgramData/MySQL/MySQL Server 5.6/karibu-mysql02-relay.log" | |
replicate-do-table=karibu.parameterr |
This file contains hidden or 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
[mysqld] | |
server-id=1 | |
innodb_flush_log_at_trx_commit=1 | |
log-bin="C:/ProgramData/MySQL/MySQL Server 5.6/karibu-mysql01-bin.log" | |
sync_binlog=1 | |
binlog-format=row | |
relay-log="C:/ProgramData/MySQL/MySQL Server 5.6/karibu-mysql01-relay.log" | |
replicate-do-table=karibu.user |
This file contains hidden or 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
CREATE USER 'srv-repl'@'%' IDENTIFIED BY 'slavepass'; | |
GRANT REPLICATION SLAVE ON *.* TO 'srv-repl'@'%'; |
This file contains hidden or 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
STOP SLAVE; | |
CHANGE MASTER TO MASTER_HOST = '<ip-mysql01>', MASTER_USER = 'srv-repl', MASTER_PASSWORD = 'slavepass', MASTER_LOG_FILE = '<master-log-file>', MASTER_LOG_POS = <master-log-pos>; | |
START SLAVE; |
This file contains hidden or 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
[mysqld] | |
server-id=2 | |
innodb_flush_log_at_trx_commit=1 | |
sync-binlog=1 | |
binlog-format=row | |
relay-log="C:/ProgramData/MySQL/MySQL Server 5.6/karibu-mysql02-relay.log" | |
replicate-do-table=karibu.parameter |
This file contains hidden or 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
[mysqld] | |
server-id=1 | |
innodb_flush_log_at_trx_commit=1 | |
log-bin="C:/ProgramData/MySQL/MySQL Server 5.6/karibu-mysql01-bin.log" | |
sync_binlog=1 | |
binlog-format=row |
This file contains hidden or 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/sh | |
cmd=${1} | |
docker_proxy_file="/etc/systemd/system/docker.service.d/http-proxy.conf" | |
# Installations instructions: | |
# sudo curl https://gist.githubusercontent.com/pascencio/c0b391832a733a9b0fedd1343cadeaab/raw/c38e2f43956668f82c0345aaaa927dfcea3c759e/docker-proxy-env.sh -o /usr/bin/docker-proxy-env && sudo chmod +x /usr/bin/docker-proxy-env | |
reload_docker(){ | |
systemctl daemon-reload | |
systemctl restart docker |
This file contains hidden or 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 | |
LIST_ARCHIVOS="$(egrep -l '\<Jan\ 30\,\ 2017\ 4\:.*PM.*\>' *)" | |
CANT_ARCHIVOS="$(egrep -l '\<Jan\ 30\,\ 2017\ 4\:.*PM.*\>' * | wc -l)" | |
declare -a ARRAY_ARCHIVOS | |
declare -a ARRAY_LINEA_INICIAL | |
declare -a ARRAY_LINEA_FINAL | |
for (( i=1; i<=$CANT_ARCHIVOS; i++ )) | |
do |