This file contains 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
#!/usr/bin/env bash | |
set -e # exit on error | |
# Mostly based on the work of Mathias Bynens http://mths.be/osx | |
# and https://github.com/mphstudios/macOS_setup/blob/main/defaults_write.sh | |
SCREENSHOT_LOCATION="${HOME}/Desktop/Screenshots" | |
# Ask for the administrator password upfront | |
sudo -v |
This file contains 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 | |
# Source | |
# https://gist.github.com/JonasGroeger/1b5155e461036b557d0fb4b3307e1e75 | |
# API Documentation | |
# https://docs.gitlab.com/ce/api/projects.html#list-projects | |
GITLAB_URL="https://{GITLAB_URL}/" | |
GITLAB_PRIVATE_TOKEN="" | |
NAMESPACE="$1" |
This file contains 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 | |
# | |
# works on centOS 6.3 x86_64 | |
# | |
# yum update repo | |
yum -y update | |
# install needed modules (from normal repo) |
This file contains 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 | |
# | |
# tomcat7 This shell script takes care of starting and stopping Tomcat | |
# | |
# chkconfig: - 80 20 | |
# | |
### BEGIN INIT INFO | |
# Provides: tomcat7 | |
# Required-Start: $network $syslog | |
# Required-Stop: $network $syslog |