Skip to content

Instantly share code, notes, and snippets.

View dng-dev's full-sized avatar

Daniel Niedergesäß dng-dev

View GitHub Profile
@dng-dev
dng-dev / jenkins-git-backup.sh
Created March 1, 2017 17:15 — forked from choldrim/jenkins-git-backup.sh
Example of a script for backing up Jenkins config in git.
#!/bin/bash
# Copies certain kinds of known files and directories from a given Jenkins master directory
# into a git repo, removing any old ones, adds 'em, commits 'em, pushes 'em.
set -ex
if [ $# -ne 3 ]; then
echo usage: $0 jenkins_home git_repos_url git_repos_name
exit 1
fi
@dng-dev
dng-dev / Z_Disables.xml
Created March 4, 2017 21:47 — forked from vkerkhoff/Z_Disables.xml
Disable Magento modules not used (check if you really don't use any of them), place this file in app/etc/modules/, also disables the logging of visits (can break product compare)
<?xml version="1.0" ?>
<config>
<modules>
<Find_Feed>
<active>false</active>
</Find_Feed>
<Phoenix_Moneybookers>
<active>false</active>
</Phoenix_Moneybookers>
<Mage_XmlConnect>
@dng-dev
dng-dev / gtm-utilities.js
Created August 1, 2019 09:13 — forked from chrisgoddard/gtm-utilities.js
Google Tag Manager Utility Library
function(){
"use strict";
/**
* Constants
*/
var VERSION = '2.1';