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
echo '' | openssl s_client -connect www.okta.com:443 |
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
namespace :nvm do | |
desc "Load nvm and the node environment variables" | |
def file_or_symlink_exists?(path_to_file) | |
File.exist?(path_to_file) || File.symlink?(path_to_file) | |
end | |
desc "Load node if nvm is already installed but not on the path" | |
task :load_node do | |
sh "/bin/bash -c '. ~/.nvm/nvm.sh'" |
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 | |
NAME="fluentd" #Name of service | |
PID_FILE=/var/run/fluentd.pid #PID file for fluentd service | |
CONF_FILE=/etc/fluent/fluent.conf #Config file for fluentd service | |
LOG_FILE=/var/log/fluent/fluent.log #Log file for fluentd process | |
PSNAME="fluentd" #Process to look for in ps output | |
RVM_PATH=home/ubuntu/.rvm/scripts/rvm #RVM path to source because RVM is awesome | |
RUBY_VER="default" #RVM default ruby version, you can set to specific Ruby verion |
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 | |
# Usage: {script} [ OPTIONS ] TARGET BUILD | |
# | |
# TARGET Default target is "/usr/bin". | |
# BUILD If not defined tries to get the build into the Sublime Text 3 website. | |
# | |
# OPTIONS | |
# | |
# -h, --help Displays this help message. | |
# |
NewerOlder