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 | |
| # -*- ENCODING: UTF-8 -*- | |
| # | |
| # ------------------------------------------------------------------ | |
| # [Jorge Andrada Prieto] [jandradap@gmail.com] | |
| # Title: install_docker-ce_redhat7.sh | |
| # Description: instala docker-ce en redhat7 | |
| # recomendable usar CentOS ya que puede ser deprecated en el futuro | |
| # https://docs.docker.com/engine/installation/#server | |
| # https://docs.docker.com/engine/installation/linux/docker-ce/centos/#install-from-a-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
| # https://vt4help.service-now.com/kb_view_customer.do?sysparm_article=KB0010740#linux | |
| wget https://secure.nis.vt.edu/resources/downloads/pulse-8.2R5.i386.deb | |
| sudo dpkg –i pulse-8.2R5.i386.deb | |
| /usr/local/pulse/PulseClient.sh install_dependency_packages |
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
| class::parameter::name: null | |
| class::parameter::name: Null | |
| class::parameter::name: NULL | |
| class::parameter::name: ~ |
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
| from itertools import chain | |
| def parse_range(rng): | |
| parts = rng.split('-') | |
| if 1 > len(parts) > 2: | |
| raise ValueError("Bad range: '%s'" % (rng,)) | |
| parts = [int(i) for i in parts] | |
| start = parts[0] | |
| end = start if len(parts) == 1 else parts[1] | |
| if start > end: |