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
files: | |
/opt/elasticbeanstalk/hooks/appdeploy/post/10_docker_nat.sh: | |
mode: "000755" | |
owner: root | |
group: root | |
content: | | |
#!/bin/bash | |
set -u # Fail on unset variables | |
set -e # Fail if any command fails | |
PATH="$PATH:/sbin:/usr/bin" |
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
<code_scheme name="Wildfly"> | |
<option name="LINE_SEPARATOR" value=" " /> | |
<option name="INSERT_INNER_CLASS_IMPORTS" value="true" /> | |
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="9999" /> | |
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="9999" /> | |
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND"> | |
<value> | |
<package name="org.junit.Assert" withSubpackages="false" static="true" /> | |
<package name="org.rendersnake.HtmlAttributesFactory" withSubpackages="false" static="false" /> | |
<package name="org.mockito.Mockito" withSubpackages="true" static="true" /> |
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
/** | |
* Provides methods to determine minimum the number of cuts | |
* required to split a string into palindromes. | |
* | |
* @author Scott Rossillo | |
*/ | |
public final class Partitioner { | |
/** |
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
function headers { | |
wget -O /dev/null -S -q $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
[Unit] | |
Description=MongoDB Monitoring Agent | |
After=network.target remote-fs.target nss-lookup.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/python /var/lib/mmsagent/mms-agent/agent.py | |
Restart=always | |
User=mmsagent |
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
var foo = 0; | |
db.collection.find().forEach( function(doc) { doc.slug = (++foo).toString(); db.collection.save(doc); } ) |
NewerOlder