Skip to content

Instantly share code, notes, and snippets.

Elmar Putz elmarputz

  • Studio Mitte Digital Media GmbH
  • Linz, Austria
Block or report user

Report or block elmarputz

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 gist:2498886d2912c898cb9f27e7d12b159f
<div class="ui grid" *ngIf="book">
<div class="four wide column">
<img class="ui large image" *ngIf="book.images && book.images[0]"
<div class="twelve wide column">
<h1 class="ui header">{{ book.title }}</h1>
<h3 class="ui header">{{ book.subtitle }}</h3>
<div class="ui divider"></div>
<div class="ui grid">
View gist:94a7b05c6e1fd741edc14052f17ca8f7
<div class="ui middle aligned selection divided list">
<a *ngFor="let book of books" class="item">
<img class="ui tiny image"
<div class="content">
<div class="header">{{ book.title }}</div>
<div class="description"> {{ book.subtitle }} </div>
<div class="metadata">
View gist:61e7db75cdb5196a21438f0257e78961
ngOnInit() {
this.books = [
new Book(1,
[new Author(1,'Johannes', 'Hoppe'), new Author(2,'Danny','Koppenhagen'),
new Author(3,'Ferdinand','Malcher'), new Author(4,'Gregor', 'Woiwode')],
new Date(2017, 3, 1),
'Grundlagen, fortgeschrittene Techniken und Best Practices mit TypeScript - ab Angular 4, inklusive NativeScript und Redux',
View gist:195215d506e0248b666771a16be32534
public function update(Request $request, string $isbn) : JsonResponse
try {
$book = Book::with(['authors', 'images', 'user'])
->where('isbn', $isbn)->first();
if ($book != null) {
$request = $this->parseRequest($request);
View gist:86d4970140ed2f9ff9fc340ee3807b6b
"title":"Erstes neues Buch",
"user_id": 1,
"rating" : 3,
View gist:a4822f8af95f9f9f244f667baaebc598
* Render an exception into an HTTP response.
* @param \Illuminate\Http\Request $request
* @param \Exception $exception
* @return \Illuminate\Http\Response
public function render($request, Exception $exception)
View gist:7cc984e1bfffed622a6d8eb2000ea201
plugin.tx_news {
view {
# 1 is current template, 0 is fallback
templateRootPaths {
0 = EXT:news/Resources/Private/Templates/
1000 = fileadmin/templates/HTMLTemplates/Extensions/news/Resources/Private/Templates/
partialRootPaths {
0 = EXT:news/Resources/Private/Partials/
1000 = fileadmin/templates/HTMLTemplates/Extensions/news/Resources/Private/Partials/
View page.config.typoscript
config {
debug = 1
doctype = html5
htmlTag_setParams = none
htmlTag_stdWrap {
setContentToCurrent = 1
cObject = COA
cObject {
View KWMComments.html
<html xmlns:f="" data-namespace-typo3-fluid="true">
<span class="{data.subheader}"></span>
<div class="content">
View KWMBanner.html
<html xmlns:f="" data-namespace-typo3-fluid="true">
<div id="c{data.uid}" class="content">
<f:if condition="{data.header}">
<f:if condition="{data.bodytext}">
You can’t perform that action at this time.