Skip to content

Instantly share code, notes, and snippets.

View nielsnuebel's full-sized avatar

Niels Nübel nielsnuebel

View GitHub Profile
<?php
/**
* sopro
* @package SOPRO
* @author Niels Nübel <[email protected]> / Robert Deutz <[email protected]>
* @copyright NN-Medienagentur.de / Robert Deutz Business Solution - www.rdbs.de
* @license GNU General Public License version 2 or later
**/
defined('_JEXEC') or die;
<?php
/**
* Convert a comma separated file into an associated array.
* The first row should contain the array keys.
*
* Example:
*
* @param string $filename Path to the CSV file
* @param string $delimiter The separator used in the file
* @return array
module.exports = function(grunt) {
'use strict';
var configBridge = grunt.file.readJSON('./grunt/configBridge.json', { encoding: 'utf8' });
var generateCommonJSModule = require('./grunt/commonjs-generator.js');
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
banner: '/*!\n' +
<?php
/**
* @package Joomla.Site
* @subpackage com_weblinks
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
<?php
/**
* NNProducts
* @package NNPRODUCTS
* @author Niels Nübel <[email protected]>
* @copyright Copyright (c) 2015 tec-promotion GmbH / NN-Medienagentur.de
* @license GNU General Public License version 2 or later
*/
defined('_JEXEC') or die;
@nielsnuebel
nielsnuebel / tags.php
Created July 17, 2015 08:10
Route item Link
<?php
/**
* @package Joomla.Plugin
* @subpackage Search.tags
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
<?php
/**
* HQSUser
*
* @package HQSUser-cli
* @author Niels Nübel <[email protected]>
*
* @copyright 2015 HQS
* @license GNU General Public License version 2 or later
*/
<script src="/js/jquery.event.move.js" type="text/javascript"></script>
<script src="/js/jquery.twentytwenty.js" type="text/javascript"></script>
<link rel="stylesheet" href="/css/twentytwenty.css" type="text/css" media="screen" />
// Set Font-Sizes for Elements
$responsivetypo: (
// Default Breakpoint (Mobile First)
'default': (
'tiny': (
'fs': 12px, 'lh': 1.5,
),
'p': (
@nielsnuebel
nielsnuebel / kickrepeatable.php
Created February 16, 2016 12:10
Viktor Vogel
<?php
/**
* @package Joomla.Platform
* @subpackage Form
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;