Skip to content

Instantly share code, notes, and snippets.

View vergissberlin's full-sized avatar
💪
Excited

André Lademann vergissberlin

💪
Excited
View GitHub Profile
{
// 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 / 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",
@vergissberlin
vergissberlin / ios-8-web-app.html
Last active May 31, 2017 12:00 — forked from tfausak/ios-8-web-app.html
With placeholdit dummy picture for live testing your devices
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
<!-- Allow web app to be run in full-screen mode. -->
<meta name="apple-mobile-web-app-capable"
content="yes">
<!-- Make the app title different than the page title. -->
@vergissberlin
vergissberlin / bumpme
Last active July 26, 2017 21:16
Concourse tutorial
Wed Jul 26 21:16:43 UTC 2017
@vergissberlin
vergissberlin / rst2html.css
Last active January 3, 2018 02:55
Documentation: Create GitHub like styled html doc file with rst2html
/**
* :Author: Chad Skeeters
* :Contact: cskeeters@nciinc.com
* Stylesheet for use with Docutils/rst2html.
* Example: rst2html --stylesheet=rst2html.css README.rst doc/html/README.html
*/
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
@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
<!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="
### 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:

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:

@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)