sudo iw reg set BRiw reg get| #!/bin/bash | |
| # Hey, this is not a mirroring script, but it might taste good for what you need. | |
| # This shell script reads a CSV file, where you can pass an origin repository and makes a backup into another repository. | |
| # Lines of CSV file with 'All branchs' checked (x) will push all origin branches into the backup repository. | |
| # If you pass another value different from ¨x¨, it will push only non-existing branches on the backup repository. | |
| # | |
| # The expected format of the CSV file is below. | |
| # | |
| # +--------------------------------------------+-----------------------------------------------+-------------+ |
| #!/bin/bash | |
| set -e | |
| ## | |
| # Path for the original RDB file | |
| ## | |
| rdbPath=/var/lib/redis | |
| rdbFile=dump.rdb |
| #!/bin/bash | |
| ## Make sure you have set; appendonly 'no' in redis.conf | |
| ## This script is an enhanced copy from https://github.com/msherer/redis_rdb_import/blob/master/redisImport.sh | |
| ## Thanks Matt Sherer, who ever who you are | |
| set -e | |
| ## | |
| # Paths for the original RDB file |
| ## First you need to create a job in crontab, you must execute this with 'sudo' first to guarantee the root user routine | |
| ## $ sudo crontab -e | |
| ## Append a line at the end of the file, here i use a every 1 hour schedulle execution with the path to script. | |
| ## 0 */1 * * * /home/USERNAME/internetIsOn.sh | |
| ## Optional: if you want to create a simple log to count how many hours you lost your connection follow these steps | |
| ## 1 - Create a log directory | |
| ## $ sudo mkdir -p /var/log/internetIsOn | |
| ## 2 - Change ownership of directory to make this available to your user anytime | |
| ## $ sudo chown -R USER:USERGROUP /var/log/internetIsOn |
| #!/bin/bash | |
| ## This works on raspbian with raspberry pi 2b | |
| echo 'deb [trusted=yes] http://ppa.launchpad.net/deluge-team/stable/ubuntu/ xenial main' > /etc/apt/sources.list | |
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C5E6A5ED249AD24C | |
| sudo apt update | |
| sudo apt install deluged deluge-web deluge-console python-mako |
Some people ask me about Scrum.org certifications: what to study, how to apply for the exam and advice for taking it. So I decided to write a guide for those interested in preparing and taking PSM I (Professional Scrum Master) without spending a fortune with training. With discipline, in around a month (or two), you should be ready to take the test.
The advice compiled here came from experienced agile coaches. Worked very well for me and I hope they will also help those who are seeking directions.
| #!/bin/bash | |
| # Because of cd inside script exec with ./ will not work. To exec this you can use . scriptname.sh or source scriptname.sh | |
| # Do not use the exit command because it then closes your connection | |
| # To use this you might update your npm to latest | |
| readFile() { | |
| filename=$1 | |
| dirAtual="$PWD" |
| #!/bin/bash | |
| # Because of cd inside script exec with ./ will not work. To exec this you can use . scriptname.sh or source scriptname.sh | |
| # Do not use the exit command because it then closes your connection | |
| # To use this you might update your npm to latest | |
| updatePackage() { | |
| repoUrl="$1" | |
| repoUrlToRemove="/$2/" | |
| git clone "$repoUrl" |
| #!/bin/bash | |
| # requires sudo | |
| apt-get install libmariadb-client-lgpl-dev | |
| ln -s /usr/bin/mariadb_config /usr/bin/mysql_config |