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 | |
at now + 25 minutes -f break-over.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
//If not found returns undefined | |
function deepGet (obj, properties) { | |
// If we have reached an undefined/null property | |
// then stop executing and return undefined. | |
if (obj === undefined || obj === null) { | |
return; | |
} | |
// If the path array has no more elements, we've reached | |
// the intended property and return its value. |
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 | |
#Sometimes CTRL+C doesn't work on grails 3.0.X | |
#Found this script http://stackoverflow.com/questions/3585840/how-to-use-command-to-shutdown-grails-run-app | |
for P in $(ps aux | grep grails | grep java | awk '{print $2};'); do | |
kill -9 $P | |
done | |
exit 0 |
NewerOlder