Skip to content

Instantly share code, notes, and snippets.

Robin von den Bergen codeFareith

Block or report user

Report or block codeFareith

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
View keybase.md

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:

View TYPO3_Aftersave_Hooks.md

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
View reset.css
@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}
View cf_bash_get.md

Bourne Again Shell

get value by array key


Usage

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

Script

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

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 Aug 29, 2015
Mac OS X Tipps and Tricks #1: Using multiple Dropboxes
View XTnT#1.md

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 &
@codeFareith
codeFareith / jsoon-annotated.js
Last active Dec 30, 2015
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…
View jsoon-annotated.js
/**
* 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>
You can’t perform that action at this time.