Skip to content

Instantly share code, notes, and snippets.

View codeFareith's full-sized avatar
💭
I may be slow to respond.

Robin von den Bergen codeFareith

💭
I may be slow to respond.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am codeFareith on github.
  • I am codefareith (https://keybase.io/codefareith) on keybase.
  • I have a public key whose fingerprint is 251B 03BC 2ECC CF6E 46A6 BF08 2CD0 33D5 D153 1322

To claim this, I am signing this object:

ext_localconf.php

<?php
$GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['extkey'] = 'Vendor\\Extension\\Hook\\TCEmainHook';
$GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['extkey'] = 'Vendor\\Extension\\Hook\\TCEmainHook';

/Classes/Hook/TCEmainHook.php

<?php
@codeFareith
codeFareith / reset.css
Created September 4, 2014 11:45
HTML5 CSS Reset
@charset "utf-8";
/* html5doctor.com Reset v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/) - http://cssreset.com */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
@codeFareith
codeFareith / cf_bash_get.md
Created July 26, 2014 18:27
Bash-Scripts

Bourne Again Shell

get value by array key


Usage

usage: get KEY ${ARRAY[@]};

Script

@codeFareith
codeFareith / XTnT#2.md
Last active August 29, 2015 14:03
Mac OS X Tipps and Tricks #2: Homebrew - The missing package manager for OS X

Mac OS X - From A Developers View

####2: Homebrew - The missing package manager for OS X tested on Mac OS X 10.9.4 Mavericks

Xcode Command Line Tools

via Mac AppStore

First you need to install Xcode via the Mac AppStore. Then download and install the Xcode Command Line Tools through Xcode > Preferences > Downloads > Command Line Tools.

via Terminal

@codeFareith
codeFareith / XTnT#1.md
Last active March 16, 2023 12:02
Mac OS X Tipps and Tricks #1: Using multiple Dropboxes

Mac OS X - From A Developers View

####1: Using multiple Dropboxes tested on Mac OS X 10.9.4 Mavericks

Setup A Second Dropbox

After installing the regular Dropbox App, launch /Applications/Utilities/Terminal.app running a bash-Shell and paste the following command:

HOME=$HOME/.dropbox-old /Applications/Dropbox.app/Contents/MacOS/Dropbox &amp;
@codeFareith
codeFareith / jsoon-annotated.js
Last active December 30, 2015 23:39
JSoonJS: JavaScript Object Oriented Notation. This is a simple JavaScript boilerplate. It will help you to create your own JavaScript classes, libraries, etc. and teaches you the most common conventions in JavaScript OOP/OOD. There's a full annotated copy of the code and one without any annotations, except information about the file, version, au…
/**
* JSoonJS - v1.0.0 - 2013-12-10
* JavaScript Object Oriented Notation
* https://github.com/codeFareith
*
* This boilerplate will help you to create your own
* JavaScript classes, libraries, etc.
* It teaches you the most common conventions in JavaScript OOP/OOD
*
* @author Robin von den Bergen <robinvonberg@gmx.de>