Skip to content

Instantly share code, notes, and snippets.

brx b0r1sp

  • Wien
Block or report user

Report or block b0r1sp

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
b0r1sp / CleanSource.php
Created Feb 23, 2016 — forked from uberboom/CleanSource.php
TYPO3: Hook to remove the generator meta tag (TYPO3 CMS 6.2)
View CleanSource.php
namespace Your\Extension\Namespace\Hooks;
* Clean up source
class CleanSource extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
b0r1sp /
Created Feb 17, 2016 — forked from nk9/
Python script to find the largest files in a git repository.
# -*- coding: utf-8 -*-
# Python script to find the largest files in a git repository.
# The general method is based on the script in this blog post:
# The above script worked for me, but was very slow on my 11GB repository. This version has a bunch
# of changes to speed things up to a more reasonable time. It takes less than a minute on repos with 250K objects.
#!/usr/bin/env bash
DOCKER=`which docker`
echo "Usage: $(basename $0) [-l num] IMAGE"
exit 0
View Call skrollr.js via JS
// Source:
var setSkrollr = function($el, data) {
for (var i = 0, l = data.length; i < l; i++) {
var d = data[i],
px = d[0];
css = d[1];
$el.attr('data-' + px, css);
b0r1sp / TYPO3 Gridelements setup for Foundation – Flexform
Last active Aug 29, 2015
TYPO3 Gridelements setup for Foundation
View TYPO3 Gridelements setup for Foundation – Flexform
# FLEXFORM / Snippet with ❤ by Typoheads
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<ROOT type="array">
<el type="array">
b0r1sp / TS-Condition for opening hours
Last active Jul 29, 2016
Useful condition if you like to change frontend output outside the regular opening hours (of a store or whatever).
View TS-Condition for opening hours
[dayofweek = 6,0] || [dayofweek = 1,2,3,4,5] && [hour = > 17, < 9]
# do whatever when it's NOT Mo-Fr and 09:00-18:00
You can’t perform that action at this time.