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
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/Users/buddy/.oh-my-zsh" | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, | |
| # to know which specific one was loaded, run: echo $RANDOM_THEME | |
| # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
| tap "cloudfoundry/tap" | |
| tap "homebrew/bundle" | |
| tap "homebrew/cask" | |
| tap "homebrew/cask-drivers" | |
| tap "homebrew/cask-versions" | |
| tap "homebrew/core" | |
| tap "homebrew/services" | |
| tap "pivotal/tap" | |
| brew "bash-completion" | |
| brew "bat" |
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
| #!/usr/bin/env bash | |
| # | |
| # Bootstrap script for setting up a new OSX machine | |
| # | |
| # This should be idempotent so it can be run multiple times. | |
| # | |
| # Some apps don't have a cask and so still need to be installed by hand. These | |
| # include: | |
| # | |
| # - Twitter (app store) |
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
| # If you want to remove access to youtube on the fritz.box | |
| # Just put the below url list in your blacklist | |
| YouTube.com | |
| YouTube.de | |
| Vimeo.com | |
| youtube.com | |
| youtube-nocookie.com | |
| youtu.be | |
| ytimg.com |
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
| #dnsmasq | |
| brew install dnsmasq | |
| echo "listen-address=127.0.0.1" >> $(brew --prefix)/etc/dnsmasq.conf | |
| echo "port=5354" >> $(brew --prefix)/etc/dnsmasq.conf | |
| sudo brew services start dnsmasq | |
| sudo mkdir -v /etc/resolver | |
| sudo tee -a /etc/resolver/demo <<EOF |
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
| function sendEmail() { | |
| var sheet = SpreadsheetApp.getActive().getSheetByName("PA") | |
| var data = sheet.getDataRange().getValues(); | |
| var BIRTHDAY_COLUMN = data[0].indexOf("Birthdate"); | |
| var ANNIVERSARY_COLUMN = data[0].indexOf("Hire Date"); | |
| var NAME_COLUMN = data[0].indexOf("Fullname"); | |
| var NUMBER_COLUMN = data[0].indexOf("Mobile"); | |
| var MAIL_COLUMN = data[0].indexOf("E-Mail"); |
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
| USER= | |
| PASS= | |
| PIVNET_TOKEN='YOUR PIVNET TOKEN' | |
| wget https://github.com/pivotal-cf/pivnet-cli/releases/download/v0.0.55/pivnet-linux-amd64-0.0.55 | |
| mv pivnet-linux-amd64-0.0.55 pivnet | |
| chmod +x pivnet | |
| ./pivnet login --api-token=\'$PIVNET_TOKEN\' | |
| ./pivnet download-product-files -p elastic-runtime -r 2.3.3 -i 254473 --accept-eula |