This gist has moved to a real project: dirkr/junitlog2vim.
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
{"lastUpload":"2020-11-21T21:26:03.236Z","extensionVersion":"v3.4.3"} |
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/env perl | |
# vi: sw=2 ts=2 et | |
# (C) 2011 Dirk Ruediger <dirk@niebegeg.net> | |
# Feel free do hack or adopt it! | |
# | |
# A syslog wrapper for duply. It runs duply, filers "bias" out and | |
# writes all important and unexpected messages to syslog. | |
# | |
# usage: | |
# Like duply. all arguments are passed to duply |
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
<?xml version="1.0" encoding="utf-8"?> | |
<testsuite errors="0" failures="0" name="testsuite" skips="0" tests="9" time="0.142"> | |
<testcase classname="tests.test_config" name="test_configuration" time="0.00542116165161"/> | |
<testcase classname="tests.test_config" name="test_old_style_configuration" time="0.00733280181885"> | |
<system-out>WARNING: removed legacy setting 'shows' for show 'nachtradio' of station 'dlf' in configuration file. | |
WARNING: removed legacy setting 'shows' for show 'weather' of station 'dlf' in configuration file. | |
WARNING: removed legacy setting 'shows' for show 'news' of station 'wdr2' in configuration file. | |
WARNING: Saved a updated version of config file as '/private/var/folders/yj/yq8mj5g125q7632t201jnj1m0000gn/T/pytest-29/test_old_style_configuration0/capturadiorc.oldstyle.new'. | |
</system-out> | |
</testcase> |
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
#!/bin/sh | |
# | |
# backup_migrate is a powerful module to create backups of a drupal database. | |
# It also has a tight drush integration and supports cron-based scheduled | |
# backups as well as removal out outdated backups. But you cannot define a | |
# eliable time frame when to run the backup. So it's possible that the | |
# scheduled backup runs at highnoon and sets your website into maintenance | |
# mode for a few seconds. That's where this script jumps in. | |
# | |
# This script runs drush on a set of drupal installations (defined in |
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/env python2.7 | |
import apachelog, sys, os, re, datetime, time | |
# Format copied and pasted from Apache conf - use raw string + single quotes | |
format = r'%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"' | |
# The return dictionary from the parse method depends on the input format. | |
# For the above example, the returned dictionary would look like; | |
# |
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
# append at the end of yout ~/.bashrc or ~/.zshrc | |
new_post() { | |
local title="$*" | |
if [ -z $title ]; then | |
echo "No title given. Usage: new_post \"My post title\"" | |
return | |
fi | |
local date=$(date "+%Y-%m-%d") | |
local slug=$(echo $title | tr -cd "[:alnum:][:blank:]" | tr -s '[:blank:]' '-' | tr "[:upper:]" "[:lower:]" ) |
I hereby claim:
- I am dirkr on github.
- I am dirkr (https://keybase.io/dirkr) on keybase.
- I have a public key whose fingerprint is 8F49 81B7 66BD 7D6D B9EA 8902 CA8D E2B2 2327 C422
To claim this, I am signing this object:
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
#!/bin/sh | |
# (C) 2014 Dirk Ruediger | |
# Licensed under Do-with-it-wht-you-want license. | |
# | |
# Update a static site blog based on (external) request. | |
# This script works for python-powered blogs (pip, virtualenv, pelican, ...), | |
# but can adopted to other platforms easily. | |
# | |
# This script scans the project folder for a file '.dirty'. | |
# If this file is found, then it checks, if the requerements |