Skip to content

Instantly share code, notes, and snippets.

View vergissberlin's full-sized avatar
💪
Excited

André Lademann vergissberlin

💪
Excited
View GitHub Profile
@vergissberlin
vergissberlin / rollup.sh
Created February 3, 2023 15:31
Start new TYPO3 CMS with ddev and introduction package. Run it with `sh rollup.sh 11` to install TYPO3 in version 11
mkdir -p typo3-${1:-11}&&\
cd typo3-${1:-11} &&\
ddev config --project-type=typo3 --docroot=public --create-docroot &&\
ddev config --php-version 8.1 &&\
ddev composer create "typo3/cms-base-distribution:^${1:-11}" &&\
ddev exec touch public/FIRST_INSTALL &&\
ddev start &&\
ddev typo3cms install:setup \
--force \
--no-interaction \
@vergissberlin
vergissberlin / typo3-init.sh
Last active November 23, 2022 12:15
Create new TYPO3 instances in seconds. It is based on DDEV.
#!/bin/bash
# Open dialog to ask for application name
dialog --title "Application Name" --inputbox "Enter the name of the application" 8 60 2> /tmp/appname
appname=$(cat /tmp/appname)
# Open dialog to select application version from 9 to 12
dialog --title "Application Version" --radiolist "Select the version of the application" 20 51 4 9 "TYPO3 9" on 10 "TYPO3 10" off 11 "TYPO3 11" off 12 "TYPO3 12" off 2> /tmp/appversion
appversion=$(cat /tmp/appversion)

Keybase proof

I hereby claim:

  • I am vergissberlin on github.
  • I am vergissberlin (https://keybase.io/vergissberlin) on keybase.
  • I have a public key whose fingerprint is 5386 33A1 5790 E7DF 8118 02B9 5238 AF35 905B B070

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am vergissberlin on github.
* I am vergissberlin (https://keybase.io/vergissberlin) on keybase.
* I have a public key whose fingerprint is 2200 AF89 AFE9 F843 1F22 8EBF D88D 1CE0 DA16 2F31
To claim this, I am signing this object:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Monitor</title>
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
@vergissberlin
vergissberlin / convert-optentx.sh
Created April 1, 2018 17:46
Convert WAV files to OpenTX compatible WAV files
#!/bin/bash
mkdir -p converted
for i in *.wav;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -i "$i" -acodec pcm_s16le -ar 32000 -ac 1 "converted/${name}.wav";
done
@vergissberlin
vergissberlin / bumpme
Last active July 26, 2017 21:16
Concourse tutorial
Wed Jul 26 21:16:43 UTC 2017
@vergissberlin
vergissberlin / semantic-email.html
Last active January 20, 2017 11:53
Semantic Email
<html>
<body>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EventReservation",
"reservationNumber": "IO12345",
"underName": "John Smith",
"reservationFor": {
"@type": "Event",
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 50, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"couch" : false,
"dojo" : false,
@vergissberlin
vergissberlin / SassMeister-input.scss
Last active August 29, 2015 14:24
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
.btn,
[class*="btn-"],
[class*=" btn-"] {
display: inline-block;
font-weight: 800;
text-align: center;