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 | |
| # Usage: curl https://gist.githubusercontent.com/andreyev/32d175147f7b31e73d1a2b84880e0906/raw/puppet-installer.sh | bash -s -- PUPPETENV | |
| PUPPETENV=$1 | |
| which puppet || { | |
| OS_MAJ_VERSION=$(rpm -qa \*-release | grep -Ei "centos" | cut -d"-" -f3) | |
| [[ -z "$OS_MAJ_VERSION" ]] && { echo "Distro not supported"; exit 1;} | |
| yum install -y https://yum.puppetlabs.com/puppetlabs-release-pc1-el-"$OS_MAJ_VERSION".noarch.rpm | |
| yum install -y puppet |
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 | |
| STRING="$*" | |
| FILE=/tmp/${STRING// /_}.mp3 | |
| test -f $FILE || wget -q -U Mozilla -O ${FILE} "http://translate.google.com/translate_tts?ie=UTF-8&total=1&idx=0&textlen=32&client=tw-ob&q=${1}&h&tl=pt-BR" | |
| mplayer ${FILE} &>/dev/null |
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
| import com.onresolve.scriptrunner.runner.rest.common.CustomEndpointDelegate | |
| import groovy.json.JsonBuilder | |
| import groovy.transform.BaseScript | |
| import com.atlassian.jira.component.ComponentAccessor | |
| import javax.servlet.http.HttpServletRequest | |
| import javax.ws.rs.core.MultivaluedMap | |
| import javax.ws.rs.core.Response | |
| import com.atlassian.jira.component.ComponentAccessor | |
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 | |
| wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb | |
| dpkg -i puppetlabs-release-pc1-trusty.deb | |
| apt-get update | |
| apt-get -q -y install puppet-agent \ | |
| && echo "[main]" > /etc/puppetlabs/puppet/puppet.conf \ | |
| && echo "server=puppet.adtsys.com.br" >>/etc/puppetlabs/puppet/puppet.conf \ | |
| && echo "environment=adtsys_createcloudinfra" >>/etc/puppetlabs/puppet/puppet.conf \ | |
| && echo "certname=srv-app-aws.adtsys.com.br-$(date +%s)" >>/etc/puppetlabs/puppet/puppet.conf |
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"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NerdCast Pirata</title><link>https://jovemnerd.com.br/feed-nerdcast/</link><description>O mundo vira piada no Jovem Nerd</description><image><url>https://jovemnerd.com.br/wp-content/themes/jovemnerd/assets/images/nc-feed.jpg</url><title>NerdCast</title><link>https://jovemnerd.com.br/feed-nerdcast/</link><width>1400</width><height>1400</height></image> | |
| <item><pubDate>2021-08-30T06:00:30-03:00</pubDate><title>05 - E o Aranha, hein?</title><enclosure url="https://nerdcast.jovemnerd.com.br/ladobunker_05.mp3" type="audio/mpeg"/><description><![CDATA[<p>Trailer do Homem-Aranha, Cowboy Bebop, OnlyFans: O Retorno, Elden Ring e Matrix 4</p> | |
| ]]></description></item> | |
| <item><pubDate>2021-08-28T10:50:30-03:00</pubDate><title>17 - BDSM – Bad Ass Modafoca</title><enclosure url="https://nerdcast.jovemnerd.com.br/mamicas_17.mp3" type="audio/mpeg"/><descript |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| require 'yaml' | |
| settings = YAML::load_file(File.join(__dir__, 'vagrant-local-settings.yml')) | |
| ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox' | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "dummy" | |
| config.vm.synced_folder ".", "/vagrant" |
NewerOlder