Skip to content

Instantly share code, notes, and snippets.

@marble
marble / FalUpload.php
Created Apr 9, 2021 — forked from ghanshyamgohel/FalUpload.php
TYPO3 extBase easy upload example for FAL image. Key: FAL upload single image, FAL upload multiple images, FAL delete single image, FAL delete multiple images
View FalUpload.php
<?php
// Location: your_ext/Classes/Domain/Model/FalUpload.php
namespace VENDOR\YourExt\Domain\Model;
class FalUpload extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{
/**
* teaserImage
*
@marble
marble / INSTALL.md
Created Mar 6, 2021 — forked from okapies/INSTALL.md
How to install akvcam on Ubuntu 18.04
View INSTALL.md

Install DKMS

$ apt install dkms

Prepare for signing kernel modules

TODO

Install

Download the source code.

@marble
marble / gist:b02c753abf19368e0f34678601c157f3
Last active Jan 6, 2021
render-typo3-viewhelper-docs-from-php-code-whiptail-menu.sh
View gist:b02c753abf19368e0f34678601c157f3
#! /bin/bash
# This software is MIT licensed.
# Available from https://gist.github.com/marble/b02c753abf19368e0f34678601c157f3/edit
# Designed for a Linux like system that has the 'whiptail' command installed.
# Copyright <2020> <martin.bless@mbless.de>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
@marble
marble / How-to-set-up-Ubuntu-for-TYPO3-Sphinx.sh
Created Apr 3, 2020
How to set up Ubuntu (18.04) for TYPO3 Sphinx
View How-to-set-up-Ubuntu-for-TYPO3-Sphinx.sh
##################################################
##################################################
# Prepare Ubuntu 18.04 for TYPO3 Sphinx
#
# How to:
#
# 1. Do step (1) first.
# 2. Afterwards run (2) and (3) in the shell.
# This can be done in one go - if you like.
#
@marble
marble / how-to-build-and-test-sphinx-theme.sh
Created Jan 28, 2020
How to build and test the sphinx_typo3_theme locally
View how-to-build-and-test-sphinx-theme.sh
# mb, 2020-01-28, 2020-01-28
# MIT license
# go to the sphinx_typo3_theme
# 1. grunt clean
# 2. grunt default
# 3. python3 setup.py sdist bdist_wheel
# Find the final package:
theme_package=/home/user/Repositories/github.com/TYPO3-Documentation/sphinx_typo3_theme/dist/sphinx_typo3_theme-4.0.3.dev12+g903f566.tar.gz
# Fulfill system requirements: python3, pip, pipenv
View vim_cheatsheet.md

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close
View update-t3docs-docker-image-develop-bk.sh
# what we pull
TAG_1=develop-benjaminkott
# what we use
TAG_2="2.5.0-dev-bk"
# where to keep the shell-commands.sh file
T3DOCS_DOCKRUN_SOURCE_FOLDER=~/.dockrun/dockrun_t3rd
# what file gets sourced from .zshrc
T3DOCS_DOCKRUN_SOURCE=~/.dockrun/dockrun_t3rd/shell-commands.sh
headline () {
View About-Oh-My-Zsh.rst

About Oh-My-Zsh

2017-11-06

WIP - work in progress. Just starting

@marble
marble / remote-symlink.sh
Created Sep 5, 2017
Bash: Create a symlink on a remote server when 'ln' is disabled
View remote-symlink.sh