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
| # Logstash config for Glassfish logs | |
| # Used in combination with slf4j and logback | |
| # Output: | |
| # - application: glassfish | |
| # - type: application or internal | |
| # - categorie: technical or functional | |
| input { | |
| # If running logstash under a different user then check your permission to be sure that |
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
| YandexApiKey = 'Your.Yandex.Translate.API.Key.Should.Be.Here' |
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 | |
| rm -rf $GLASSFISH_HOME/glassfish/domains/domain1/generated/* | |
| rm -rf $GLASSFISH_HOME/glassfish/domains/domain1/osgi-cache/* | |
| rm -rf $GLASSFISH_HOME/glassfish/domains/domain1/applications/* |
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 | |
| #Cleans up glassfish domain folders so that the maven deployment with cargo doesn't hang. | |
| #--------------------------------------------------------------------------------------------------- | |
| # CUSTOMIZATION SECTION START | |
| #--------------------------------------------------------------------------------------------------- | |
| export GF_DIR=/home/nyxcalamity/ws/appservers/glassfish | |
| #--------------------------------------------------------------------------------------------------- | |
| # CUSTOMIZATION SECTION END | |
| #--------------------------------------------------------------------------------------------------- | |
| export OK="$(tput setaf 2) DONE$(tput sgr0)" |
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 | |
| #title :glassfish-install.sh | |
| #description :The script to install Glassfish 4.1.x | |
| #author :Mateusz Smolik | |
| #date :2016-06-15T17:14-0700 | |
| #usage :/bin/bash glassfish-install.sh | |
| #tested-version :4.1.1 | |
| #tested-distros :Debian 8; Ubuntu 16.04; CentOS 7; Fedora 23 | |
| #script-version :0.0.1 |
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
| <?php | |
| if (!isset($_GET['user'])) { | |
| if (!isset($_GET['hashtag'])) { | |
| exit('Not a valid RSS feed. You didn\'nt provide an Instagram user or hashtag. Send one via a GET variable. Example .../instarss.php?user=snoopdogg'); | |
| } | |
| } | |
| if (isset($_GET['user']) && isset($_GET['hashtag'])) { | |
| exit('Don\'t request both user and hashtag. Request one or the other.'); |