Skip to content

Instantly share code, notes, and snippets.

View vergissberlin's full-sized avatar
💪
Excited

André Lademann vergissberlin

💪
Excited
View GitHub Profile
@vergissberlin
vergissberlin / TimestampViewHelper.php
Last active December 22, 2015 22:09
If you use tools like RequireJS or Modernizr in TYPO3 CMS projects, then the paths to your resources are directly in the HTML code. In this case, no version numbers are appended to the file, as it is common for TYPO3 to ensure that any changes in files are loaded from the cache. More Information about: http://www.stefanhayden.com/blog/2006/04/03…
<?php
/**
* This script is part of the TYPO3 project - inspiring people to share! *
* *
* TYPO3 is free software; you can redistribute it and/or modify it under *
* the terms of the GNU General Public License version 2 as published by *
* the Free Software Foundation. *
* *
* This script is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- *
@vergissberlin
vergissberlin / index.html
Created November 27, 2013 11:17
Manipulate list type image (icon) size
<h1>Dynamic list image size</h1>
<ul>
<li>Aliis scythiam undis hominum bracchia ventos tractu nec montibus. Modo tractu vesper prima nec fontes triones.</li>
<li>Caelo coercuit exemit. Glomeravit siccis principio supplex limitibus. Diffundi effervescere. Diremit cornua ubi flexi siccis</li>
<li>Modo extendi ita tumescere. Quisque tanto. Circumfuso metusque innabilis. Subsidere nisi speciem.</li>
<li>Fratrum pressa proximus concordi minantia terrae. Cum modo</li>
</ul>
<h2>Image original size</h2>
@vergissberlin
vergissberlin / d3-sunburst-partition-example.markdown
Created February 24, 2014 21:53
A Pen by Tiago Natel de Moura.
@vergissberlin
vergissberlin / html5bootstrap.html
Created May 21, 2014 21:35
HTML5: Bootstrap initilizr
<!DOCTYPE html>
<html class="no-js">
<head>
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/dist/js/bootstrap.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
@vergissberlin
vergissberlin / jquery.plugin.js
Last active August 29, 2015 14:01
JavaScript: Scaffold for jQuery plugin programming.
/**
* jQuery Plugin
*
* @category JavaScript
* @package PROJECT
* @author Excellent Developer <[email protected]>
* @license https://netresearch.de/license
* @version 0.0.1
* requires jquery 2.1.1
*/
@vergissberlin
vergissberlin / .htaccess
Created May 21, 2014 22:19
Server: .htaccess
# Apache Server Configs v2.2.0 | MIT License
# https://github.com/h5bp/server-configs-apache
# (!) Using `.htaccess` files slows down Apache, therefore, if you have access
# to the main server config file (usually called `httpd.conf`), you should add
# this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html.
# ##############################################################################
# # CROSS-ORIGIN RESOURCE SHARING (CORS) #
# ##############################################################################
@vergissberlin
vergissberlin / rst2html.css
Last active January 3, 2018 02:55
Documentation: Create GitHub like styled html doc file with rst2html
/**
* :Author: Chad Skeeters
* :Contact: [email protected]
* Stylesheet for use with Docutils/rst2html.
* Example: rst2html --stylesheet=rst2html.css README.rst doc/html/README.html
*/
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
@vergissberlin
vergissberlin / SassMeister-input.scss
Created November 7, 2014 11:10
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
@import "compass/css3";
.element {
@include transition-property(width);
@include transition-duration(.5s);
}
@vergissberlin
vergissberlin / ios-8-web-app.html
Last active May 31, 2017 12:00 — forked from tfausak/ios-8-web-app.html
With placeholdit dummy picture for live testing your devices
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
<!-- Allow web app to be run in full-screen mode. -->
<meta name="apple-mobile-web-app-capable"
content="yes">
<!-- Make the app title different than the page title. -->
@vergissberlin
vergissberlin / .editorconfig
Created June 22, 2015 12:40
Netresearch editor config
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
# Change these settings to your own preference
indent_style = space
indent_size = 4