Skip to content

Instantly share code, notes, and snippets.

View rdeutz's full-sized avatar

Robert Deutz rdeutz

  • Robert Deutz Business Solution
  • Aachen, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am rdeutz on github.
  • I am rdeutz (https://keybase.io/rdeutz) on keybase.
  • I have a public key ASCGfR7x0I8e4nLmK6oFgLDB3TdLc98ehwuZnqoXSsp9mgo

To claim this, I am signing this object:

@rdeutz
rdeutz / delete.groovy
Last active July 29, 2017 18:11
Delete Job Queue in Jenkins
/*** BEGIN META {
"name" : "Clear build queue",
"comment" : "If you accidently trigger a lot of unneeded builds, it is useful to be able to <b>cancel</b> them all",
"parameters" : [],
"core": "1.300",
"authors" : [
{ name : "Niels Harremoes" }
]
} END META**/
import hudson.model.*
@rdeutz
rdeutz / latest.php
Last active April 18, 2018 20:54
Latest joomla 3 release file
<?php
// Fetch the current 3.x version from the downloads site API
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, 'https://downloads.joomla.org/api/v1/latest/cms');
$result = curl_exec($ch);
curl_close($ch);
if ($result === false)
{
echo 'Could not fetch version data, please check your connection.' . PHP_EOL;
@rdeutz
rdeutz / gist:45ebe915403c0c16d5cc67b5f77a0c2f
Created August 13, 2018 14:21
Start docker-tools container
Start the container
docker run -it --rm -v $(pwd):/opt -w /opt joomlaprojects/docker-tools bash
Any command you execute from now on is runnig in the container
git clone --single-branch -b 4.0-dev https://github.com/joomla/joomla-cms.git
cd joomla-cms
composer install
npm i