Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am wowawebdesign on github.
  • I am wowawebdesign (https://keybase.io/wowawebdesign) on keybase.
  • I have a public key whose fingerprint is 963D CD8F 1482 1B82 53B4 8F4B EE1A BEE6 A570 0926

To claim this, I am signing this object:

@wowaTYPO3
wowaTYPO3 / gist:b382057fcda90a545e67
Created August 27, 2014 09:01
Powermail Datepicker
<input data-datepicker-force="0" data-datepicker-settings="date" data-datepicker-months="Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember" data-datepicker-days="So,Mo,Di,Mi,Do,Fr,Sa" data-datepicker-format="d.m.Y" class="powermail_field powermail_date " id="powermail_field_anreise" type="date" name="tx_powermail_pi1[field][anreise]" value="" data-parsley-id="7615">
@wowaTYPO3
wowaTYPO3 / page.tsconfig
Created May 9, 2017 16:30
frames und layouts per TSconfig
## TYPO3 8.7.1 mit fluid_styled_content
## Rahmen (frueher section_frames)
TCEFORM.tt_content.frame_class.addItems {
greybox = graue Box
bluebox = blaue Box
}
## Layout
TCEFORM.tt_content.layout.addItems {
@wowaTYPO3
wowaTYPO3 / backup_home.sh
Created October 19, 2018 17:11 — forked from devm33/backup_home.sh
Bash script to backup home directories using rsync
#!/usr/bin/env bash
# Script to backup the home directory to an external hardrive mounted at /media/backup
# Uses rsync, dpkg, and mail (for error logging)
SRC='/home/wolfgang'
DEST='/home/wolfgang/Nextcloud/backups'
RSYNC_OPTS='-haAXuv --delete'
EXCLUDE='*/Trash/* */.cache/* */.thumbnails/* */.config/google-* lost+found .gvfs .putty/ Downloads/ Dropbox/ Nextcloud/ VirtualBoxVMs/'
EXCLUDE="$(echo $EXCLUDE | sed 's/\(\S\+\)/ --exclude \1/g')"
routeEnhancers:
NewsPlugin:
type: Extbase
extension: News
plugin: Pi1
routes:
-
routePath: '/{news_title}'
_controller: 'News::detail'
_arguments:
@wowaTYPO3
wowaTYPO3 / news-custom.css
Created May 15, 2020 19:40
Rudimentäres Beispiel für eine Ausgabe der News-Listenansicht in 3 Spalten. Anpassungen für Responsive Design fehlen noch.
.news .news-list-view {
display: flex;
flex-flow: wrap;
}
.news .news-list-view .article {
flex: 1 1 32.333333%;
border: 1px solid #ccc;
padding: .5rem;
margin: 0 1% 1rem 0;
}
@wowaTYPO3
wowaTYPO3 / .htaccess
Created May 10, 2021 16:15
Standard htaccess Datei von TYPO3 10
#####
#
# Example .htaccess file for TYPO3 CMS - for use with Apache Webserver
#
# This file includes settings for the following configuration options:
#
# - Compression
# - Caching
# - MIME types
# - Cross Origin requests
tt_content.2cols < lib.contentElement
tt_content.2cols {
templateName = 2cols
templateRootPaths.10 = EXT:vt11/Resources/Private/Extensions/container/Templates/
dataProcessing {
201 = B13\Container\DataProcessing\ContainerProcessor
201 {
colPos = 201
as = childrenLeft
}
domain.de:
host: serveradresse/ip
stage: production
branch: master
user: ssh-username
identityFile: ~
deploy_path: /home/www/projekt_deployment/production
http_user: user
http_group: usergroup
<?php
namespace Deployer;
# Call default recipe
require 'recipe/common.php';
require 'recipe/cachetool.php';
set('cachetool', '127.0.0.1:9000');