Skip to content

Instantly share code, notes, and snippets.

View pkordylewski's full-sized avatar

Patryk Kordylewski pkordylewski

  • imos GmbH
  • Germany
View GitHub Profile
@pkordylewski
pkordylewski / redmine-commit-title.user.js
Last active November 22, 2017 08:33
Userscript / Redmine Commit Title for Copy
// ==UserScript==
// @name Redmine Title Copy for Commit
// @version 0.1
// @include https://kunden.redmine.imos.net/*
// @include https://intern.redmine.imos.net/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js
// @grant none
// ==/UserScript==
var usJQ = $.noConflict(true);
@pkordylewski
pkordylewski / global-page-timer.user.js
Last active November 22, 2017 08:31
Userscript / Global Page Timer
// ==UserScript==
// @name Global Page Timer
// @include *pm.hq.imos.net*
// @include *redmine.imos.net*
// @version 0.1.0
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js
// @require https://raw.github.com/odyniec/jQuery-tinyTimer/master/jquery.tinytimer.min.js
// @grant none
// ==/UserScript==
<?php
/*
* Note: This script will directly modify the .php files in the given directory.
* It is assumed that the code is under version control, so you can easily review
* the changes using `git diff` or similar.
*/
function usageError() {
die("Usage: php -d asp_tags=1 portAlternativeTags.php dir/\n");