One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| /** | |
| * Small regular expression to match ASCII-chars between 32-126 | |
| * | |
| * For a conversion table for ASCII chars see: | |
| * http://de.wikipedia.org/wiki/American_Standard_Code_for_Information_Interchange | |
| */ | |
| var expr = /([\x20-\x7E]{1,})/gi; | |
| var testString = "Foo Bar Barz"; | |
| var testString2 = "Foo Bar\tBarz"; |
| # Designed to be included in any server {} block. | |
| location = /favicon.ico { | |
| log_not_found off; | |
| access_log off; | |
| } | |
| location = /robots.txt { | |
| allow all; | |
| log_not_found off; | |
| access_log off; |
| function arrayToCSV (twoDiArray) { | |
| // Modified from: http://stackoverflow.com/questions/17836273/ | |
| // export-javascript-data-to-csv-file-without-server-interaction | |
| var csvRows = []; | |
| for (var i = 0; i < twoDiArray.length; ++i) { | |
| for (var j = 0; j < twoDiArray[i].length; ++j) { | |
| twoDiArray[i][j] = '\"' + twoDiArray[i][j] + '\"'; // Handle elements that contain commas | |
| } | |
| csvRows.push(twoDiArray[i].join(',')); | |
| } |
| rabbitmqctl add_user test test | |
| rabbitmqctl set_user_tags test administrator | |
| rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
| #!/bin/sh | |
| docker images --format '{{.Size}}\t{{.Repository}}\t{{.Tag}}\t{{.ID}}' | sed 's/ //' | sort -h -r | column -t |
| build:install-vendor: | |
| stage: build | |
| image: <any-image-with-composer> | |
| before_script: | |
| - composer config -g cache-dir "$(pwd)/.composer-cache" | |
| script: | |
| - composer install --ignore-platform-reqs --no-dev --optimize-autoloader --no-ansi --no-interaction --no-progress | |
| cache: | |
| paths: | |
| - .composer-cache/ |
| /** | |
| * Validate an input string if it is inside ASCII 32 - 126 range | |
| * @param string | |
| * @return true if all characters in the string are in range, else false | |
| */ | |
| var chkASCII32_126 = function(string) { | |
| return !string.match(/[^\x20-\x7e]/g); | |
| } | |
| $(".chorusASCIIValidation").keyup(function() { |