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
#!/usr/bin/perl | |
use strict; | |
use LWP::UserAgent; | |
use JSON; | |
# | |
# Check Hudson job status using the JSON API | |
# | |
# (c) 2009 Robin Bramley, Opsera Ltd. | |
# Copying and distribution of this file, with or without modification, |
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
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* Aggregate Opsview checks. | |
* @author Robin Bramley, Opsera Limited (c) 2010 | |
*/ | |
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
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* Custom SQL check (invoked using check_by_ssh) to ensure app server can query | |
* the database. Used with Groovy 1.5.6 on Debian Lenny against SQL Server. | |
* | |
* Opsview users should use check_sql_advanced for MySQL/PostgreSQL/Oracle or |
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
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* @author Robin Bramley (c) 2011 | |
* | |
* Purpose: | |
* Of the deletions in an unoptimised Lucene index, how many were |
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
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* @author Robin Bramley (c) 2011 | |
* | |
* Groovy meta-programming to 'bump' a counter in a map for conciseness. | |
*/ |
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
/* | |
* Copyright 2011 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* @author Robin Bramley (c) 2012 | |
* | |
* Groovy script to walk a Freemind node tree and count occurrences of leaf terms. | |
*/ |
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
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* Migrate issues from one Googlecode project to another (e.g. if you need to rename). | |
* Note (line 39): fetch of issues from source project currently limited to 50 | |
* | |
* See: http://code.google.com/p/support/wiki/IssueTrackerAPI for API details |
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
@Grab(group='com.tinkerpop.blueprints', module='blueprints-neo4j-graph', version='2.4.0') | |
@Grab(group='com.tinkerpop.blueprints', module='blueprints-graph-sail', version='2.4.0') | |
@Grab(group='org.openrdf.sesame', module='sesame-repository-sail', version='2.7.8') | |
@Grab(group='org.openrdf.sesame', module='sesame-queryparser-sparql', version='2.7.8') | |
import com.tinkerpop.blueprints.* | |
import com.tinkerpop.blueprints.oupls.sail.GraphSail | |
import com.tinkerpop.blueprints.impls.neo4j.Neo4jGraph | |
import info.aduna.iteration.* |
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
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* Script to take an Android ADB email dump and process emails to .eml RFC822 | |
* format files. Does not handle attachments/multipart at present. | |
* | |
* <em>Notes:</em> |
OlderNewer