Skip to content

Instantly share code, notes, and snippets.

View beardcoder's full-sized avatar
👾
Explore the universe

Markus beardcoder

👾
Explore the universe
View GitHub Profile
@beardcoder
beardcoder / flexform.xml
Created September 22, 2016 11:48 — forked from alrnz/flexform.xml
TypoLink in flexform for TYPO3 7.6
<settings.link>
<TCEforms>
<exclude>1</exclude>
<label>
Link to Page or a File or a Content-Element
</label>
<config>
<type>input</type>
<size>30</size>
<eval>trim</eval>
@beardcoder
beardcoder / IndexUserFunc.php
Created December 21, 2016 13:13 — forked from htuscher/IndexUserFunc.php
TYPO3 Solr userFunc IndexQueue
<?php
namespace Vendor\Extension\Solr\UserFunc;
class IndexUserFunc
{
/**
* This value is automatically inserted by userFunc handling
* @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
*/
@beardcoder
beardcoder / menu.ts
Created March 31, 2017 14:44 — forked from pgampe/menu.ts
Fully cached menu with TypoScript
page.10 >
page.10 = COA
page.10 {
cache {
key = main-menu
}
10 = TEXT
10 {
@beardcoder
beardcoder / PageIndexer.php
Last active January 15, 2018 12:58 — forked from htuscher/PageIndexer.php
TYPO3 Solr pageIndexer recursive downline / upline enabled
<?php
namespace Vendor\MyExt\Solr\IndexQueue;
use ApacheSolrForTypo3\Solr\IndexQueue\Item;
use ApacheSolrForTypo3\Solr\IndexQueue\PageIndexer as SolrPageIndexer;
/**
* Override PageIndexer class
*/
class PageIndexer extends SolrPageIndexer
@beardcoder
beardcoder / Caches.yaml
Last active February 22, 2019 22:02 — forked from aertmann/Caches.yaml
Use Redis as Neos Cache Backend
# Redis (has to be configured to different databases on shared hosting)
TYPO3_TypoScript_Content:
backend: TYPO3\Flow\Cache\Backend\RedisBackend
backendOptions:
defaultLifetime: 0
Flow_Mvc_Routing_Resolve:
backend: TYPO3\Flow\Cache\Backend\RedisBackend
backendOptions:
defaultLifetime: 0
@beardcoder
beardcoder / flow-3-settings.conf
Created January 1, 2019 18:41 — forked from reflexxion/flow-3-settings.conf
Neos nginx configuration (by @sorenmalling)
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
@beardcoder
beardcoder / encoding-video.md
Created April 16, 2019 14:36 — forked from glen-cheney/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@beardcoder
beardcoder / auth.ts
Created July 19, 2019 08:22 — forked from AndreaMinato/auth.ts
Typescript Vuex Module
import axios, { AxiosRequestConfig } from "axios";
import router from "@/router"; //shortcut to src
import { Module } from "vuex";
const authModule: Module<any, any> = {
state: {
loggedIn: false,
loginError: null,
username: null