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 | |
#New Relic API Key see https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/api-key#creating | |
NR_API_KEY="INSERT_API_KEY_HERE" | |
#Find New Relic App Name, if your top level folder is not the name of your application change the below two lines to simply NR_APP_NAME="MY_APP_NAME". | |
NR_APP_NAME=$(git rev-parse --show-toplevel) | |
NR_APP_NAME=$(basename "$NR_APP_NAME") | |
#Get the current git branch |
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
//Ref: https://www.datatables.net/release-datatables/extensions/TableTools/examples/select_multi.html | |
var tableRows=[]; | |
var tableHeadings=[]; | |
$('#example thead th').each(function() { | |
tableHeadings.push($(this).text()); | |
}); | |
tableRows.push(tableHeadings.join(',')); |
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
<?php | |
/** | |
* Override's some of Parsedown's features to add support for github style task lists. | |
* You must build your own serverside & client side components for updating the markdown. | |
* The value of the checkbox is it's index of the checkbox based on all of the checkboxes found in the markdown. | |
* @see https://github.com/erusev/parsedown | |
*/ | |
class TaskListParsedown extends Parsedown { | |
protected $taskListIndex=0; | |
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
- |