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 | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
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
'use strict' | |
exports.task = { | |
name: 'sendEmail', | |
description: 'My Task', | |
frequency: 0, | |
queue: 'mail', | |
middleware: [], | |
run: function (api, params, next) { |
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 | |
export BC_LINE_LENGTH=0 | |
function fib() { | |
if [ $1 -lt 0 ]; then | |
echo "ERROR: Negative numbers not implemented" | |
exit 1 | |
fi |
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/sh | |
# Author: daper <[email protected]> | |
# Description: Shell Only S3 Upload Script with Multipart support. | |
# Requirements: openssl curl | |
# Optional: gnu-parallel | |
# Full path to this script. | |
# This is needed when using gnu-parallel. | |
# Please set-up manually. | |
SCRIPT="$(pwd)/backup.sh" |
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 groovy | |
import java.util.Base64 | |
import java.security.Key | |
import java.security.PrivateKey | |
import java.security.KeyFactory | |
import java.security.spec.KeySpec | |
import java.security.spec.PKCS8EncodedKeySpec | |
import org.kohsuke.github.GHApp |