The Goal Using the GitHub API, Groovy and GraphViz to determine, interpret and render a graph of the relationships between GitHub users based on the watchers of their repositories. The end result can look something like this. The GitHub V3 API You can find the full documentation for the GitHub V3 API here. They do [...]
Tags:
GAE,
Gaelyk,
github,
GitHub API,
Google App Engine,
GPars,
Gradle,
Graphviz,
Groovy,
HTTPBuilder,
Java,
kellyrob99,
Open source,
Programming,
theKaptain
1. Ensure all of your Jenkins builds are building the correct branch from source control I manage a large number of builds at work, spread across several build servers. When we release a new version all of the builds need to be updated to point to new working branches. This script takes advantage of the [...]
Tags:
API,
gist,
github,
Gradle,
Groovy,
Hudson,
Java,
jenkins,
JSON,
JsonSlurper,
kellyrob99,
Programming,
REST,
theKaptain
I don’t know exactly how many CSV files I’ve read/written to date, but I’m willing to bet it’s a lot. These kind of files are a simple and common way to exchange data and are interoperable with spreadsheet programs as well, making them more easily accessible to non-programmer types. There is some excellent support out [...]
Tags:
Comma-separated values,
csv,
Database,
Groovy,
hsqldb,
Java,
kellyrob99,
Languages,
OpenCSV,
Programming,
Spreadsheet,
sql,
theKaptain
One of the most compelling things about using Groovy is the fluent and concise syntax, as well as the productivity and readability gains that come out of it. But there’s no reason not to take advantage of some of the same techniques and some library support, in this case google-collections, to make Java code easy [...]
Tags:
Collections,
DataProvider,
fluent syntax,
GMaven,
Google,
google-collections,
Groovy,
guava,
Java,
kellyrob99,
maven,
MultiMap,
mvn,
Programming,
TestNG,
theKaptain
I was reading this article about hibernate validator today and it inspired me to apply a little Groovy to the problem of validating a bean. More specifically, finding out how hard it would be to apply different validation rules to the same classes at runtime. Turns out it’s really pretty simple. Hibernate validator, if you [...]
Tags:
Grails,
Groovy,
Hibernate,
Java,
JBoss Seam,
kellyrob99.com,
Languages,
Programming,
Source code,
theKaptain,
User interface,
validator,
web
I read an interesting article recently about using python and open source software to defeat a particular captcha implementation and I set out to see how hard it would be to do the same in Groovy. In particular, coming from the Java side of the fence, I was impressed by how the available libraries in [...]
Tags:
Application programming interface,
Graphics,
Groovy,
Java,
Java2D,
maven,
Open source,
Programming,
Python,
Source code,
tesseract-ocr,
theKaptain