files
- http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-5.0.23-01.noarch.rpm
- http://ftp.otrs.org/pub/otrs/itsm/bundle5/ITSM-latest.opm
setenforce 0
firewall-cmd --set-default-zone=trusted
| <VirtualHost *:80> | |
| ServerName hom.sgps.fortaleza.ce.gov.br | |
| DocumentRoot /var/www/meusistema | |
| ErrorLog ${APACHE_LOG_DIR}/meusistema_error.log | |
| CustomLog ${APACHE_LOG_DIR}/meusistema_access.log combined | |
| <Directory /var/www/meusistema/public> | |
| DirectoryIndex index.html index.php | |
| Options -Indexes | |
| AllowOverride All |
| #!/bin/bash | |
| SOURCE_DIR="$1" | |
| if [ "${SOURCE_DIR}x" = "x" ]; then | |
| SOURCE_DIR="/home/${USER}/Downloads/Fortaleza2040/" # the last / is important! | |
| fi | |
| [ ! -d "${SOURCE_DIR}" ] && echo "${SOURCE_DIR} is not a dir. Usage: $0 <dir>" && exit 2 | |
| for mount_point in $(find /media/${USER}/ -maxdepth 1 -type d); do |
| #!/bin/bash | |
| [ "${USER}" != "root" ] && echo "Rode como root"; exit 2 | |
| for dev in $(find /dev/ -maxdepth 1 -name "sd*1" ! -name "*sda1"); do | |
| mkfs.fat -F32 -v -I "$dev" & | |
| done | |
| wait # Expects all jobs finished second plan. |
| #!/bin/bash | |
| # Bash script to play a song when a process ends. | |
| # License MIT <https://opensource.org/licenses/MIT> | |
| # Author: @samirfor | |
| PID=$1 | |
| SONGFILE=$2 | |
| if [ "${PID}x" = "x" ] || [ ! -r "${SONGFILE}" ]; then |
| #!/bin/bash | |
| # | |
| # install: | |
| # | |
| # echo "alias ssh-tor=/path/to/this/script/ssh-tor.sh" >> ~/.bash_aliases | |
| # . ~/.bash_aliases | |
| # | |
| # usage: | |
| # - start Tor Browser |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <zabbix_export> | |
| <version>3.0</version> | |
| <date>2017-03-10T17:15:52Z</date> | |
| <groups> | |
| <group> | |
| <name>Templates</name> | |
| </group> | |
| </groups> | |
| <templates> |
| >>> import spotipy | |
| >>> import sys | |
| >>> import pprint | |
| >>> | |
| >>> if len(sys.argv) > 1: | |
| ... urn = sys.argv[1] | |
| ... else: | |
| ... urn = 'spotify:artist:3jOstUTkEu2JkjvRdBA5Gu' | |
| ... | |
| >>> sp = spotipy.Spotify() |
| #!/bin/sh | |
| set -e | |
| HOST_NAME="$(hostname)" | |
| MONGO_HOST="127.0.0.1" | |
| MONGO_PORT=27017 | |
| MONGO_USER="admin" | |
| MONGO_PASS="password" | |
| MONGO_AUTHDB="admin" |
| #!/bin/bash | |
| EMAIL_SUBJECT="Desligamento agendado `date +%d/%m/%Y`" | |
| FROM_EMAIL_ADDRESS="[email protected]" | |
| FROM_EMAIL_PASSWORD="password" | |
| FRIENDLY_NAME="Fela de Tal" | |
| STMP_HOST="mail.chupa.br:587" | |
| echo -e "Olá, os servidores serão \ | |
| desligados dentro de 30 minutos. \ |
files
setenforce 0
firewall-cmd --set-default-zone=trusted