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
# Read the directory from the first command line parameter, fallback to current directory if omitted | |
param ( | |
[string]$inputDir = (Get-Location).Path | |
) | |
# Function to update file and folder dates | |
function Update-Date { | |
param ( | |
[string]$path | |
) |
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
# Description: Boxstarter Script | |
# Author: [email protected] | |
# Last Updated: 2020-02-16 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
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
@ |
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
// Compiled by Igor Shults | |
// Last Updated: Apr 4, 2018 | |
GRAILS GROOVY SOURCE | |
3.3.3 2.4.14 https://github.com/grails/grails-core/blob/dd4dfa01cb263637dd32c76146dc9377e28ba45f/build.gradle#L43 | |
3.3.2 2.4.13 https://github.com/grails/grails-core/blob/60b9ac4b0baf7103dacf9959a9c762550b0fc170/build.gradle#L43 | |
3.3.1 2.4.11 | |
3.3.0 2.4.11 | |
3.2.12 2.4.11 |
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
@Grab('io.jsonwebtoken:jjwt:0.8.0') | |
import io.jsonwebtoken.* | |
def secret = 'SECRET' | |
def payload = [ | |
gid: "PLOM", // global facility id | |
uid: 123, // user id (if previously provided) | |
email: "[email protected]", // user email | |
firstName: "Jožko", // user first name | |
lastName: "Mrkvička", // user last name |
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 | |
# Copyright (C) 2012 Crowd9 Pty Ltd | |
usage () | |
{ | |
echo >&2 "usage: bash $0 '[email protected]' 'MyBox' 'MyProvider.com' [\\\$20/mth]" | |
} | |
if [ $# -lt 3 ] | |
then |
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 | |
if [ "$1" != "" ]; then | |
HOSTNAME="$1" | |
fi | |
echo $HOSTNAME | |