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
{ | |
"name": "Pad Thai", | |
"author": "Recipe courtesy Alton Brown, 2005", | |
"yield": "", | |
"duration": "Cooking time (duration): 40", | |
"photo": "http://www.food.com/recipe-123.jpg", | |
"summary": "My special dish", | |
"nutrition": "NutritionalInformation\n\nblah", | |
"published": "2012-08-08", | |
"instructions": [], |
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
branch.autosetuprebase=always | |
color.diff=auto | |
color.branch=always | |
color.status=always | |
color.ui=true | |
color.branch.current=yellow reverse | |
color.branch.local=yellow | |
color.branch.remote=green | |
color.diff.meta=yellow bold | |
color.diff.frag=magenta bold |
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
public class ExportCSV extends ApplicationContextAwareTest { | |
private static final Logger logger = LoggerFactory.getLogger(ExportCSV.class); | |
@Autowired | |
private TaxRollRecordDAO taxRollRecordDAO; | |
String query = "from TaxRollRecord r order by r.id"; | |
String countQuery = "select count(r) from TaxRollRecord r"; | |
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
// cap all GET|POST traffic | |
ngrep -q -W byline "^(GET|POST) .*" | |
// cap all traffic to google on port 80 containing the word search | |
ngrep -q -W byline "search" host www.google.com and port 80 |
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
diff --git a/src/main/java/adt/reflexam/property/data/equifax/EquifaxDataSource.java b/src/main/java/adt/reflexam/property/data/equifax/EquifaxDataSource.java | |
index 9da506c..68cb2bb 100644 | |
--- a/src/main/java/adt/reflexam/property/data/equifax/EquifaxDataSource.java | |
+++ b/src/main/java/adt/reflexam/property/data/equifax/EquifaxDataSource.java | |
@@ -392,11 +392,13 @@ public class EquifaxDataSource implements PropertyReportDataSource, ComparableDa | |
ObjectFactory factory = new ObjectFactory(); | |
ReportDataResponse response = factory.createReportDataResponse(); | |
if (cached == null) { | |
- ReportService service = new ReportServiceService().getReportServicePort(); | |
- requestCounter.inc(); |
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
alias rj='mvn jetty:run' | |
alias dj='jetty' | |
function jetty(){ | |
mvnDebug jetty:run | while read; do if [[ $REPLY =~ "Started Jetty Server" ]]; then | |
growlnotify -s -m "Server startup cumplete" | |
fi | |
echo "$REPLY" | |
done | |
} |
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
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" th:href="'#' + ${dg.id}" href="#collapseOne" th:inline="text"> | |
<i class="icon-chevron-down"></i> [[${dg?.displayName}]] | |
</a> | |
<script type="text/javascript"> | |
$('#customDataAccordian').on('show', function(e) { | |
$(e.target).prev('.accordion-heading').find('.accordion-toggle > i').removeClass('icon-chevron-down').addClass('icon-chevron-up'); | |
}); | |
$('#customDataAccordian').on('hide', function(e) { |
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
upstream reflex { | |
server 127.0.0.1:9090; | |
server 127.0.0.1:9091; | |
} | |
server { | |
listen 8080; | |
server_name localhost; | |
location / { |
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
{ | |
"cities" : ["Boca Raton", "Pompano"], | |
"counties" : ["Broward", "West Palm Beach"], | |
"state" : "FL" | |
} |
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
@Test | |
public void testGetByUnknownVariable() { | |
Map<String, String> variables = Maps.newHashMap(); | |
variables.put("test", "test"); | |
reflexProcessService.submitStartFormData(org, testUser, "candidateGroupExample", UUID.randomUUID().toString(), variables); | |
PagedResultWithCount<ReflexTask> tasks = reflexTaskService.list(0, 10, null, null); | |
Assert.assertEquals(1, tasks.getCount()); | |