Skip to content

Instantly share code, notes, and snippets.

Hidetake Iwata int128

Block or report user

Report or block int128

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View build-rpm.bash
topdir="${WORKSPACE}/rpmbuild"
rpmdir="${topdir}/RPMS/$(uname -m)"
echo "%_topdir ${topdir}" > "${HOME}/.rpmmacros"
case "${TARGET}" in
*/httpd-*)
# patch for httpd-2.4.3
tarball="${TARGET##*/}"
module="${tarball%.tar.*}"
curl -O "${TARGET}"
View waitUntilResourceIsReady.groovy
// requires classpath 'org.codehaus.groovy.modules.http-builder:http-builder:0.6'
/**
* Wait until the resource is ready state.
*/
def waitUntilResourceIsReady(String resource) {
def http = new groovyx.net.http.HTTPBuilder(resource)
def check = {
try {
http.get(contentType: groovyx.net.http.ContentType.TEXT)
You can’t perform that action at this time.