Skip to content

Instantly share code, notes, and snippets.

View stmllr's full-sized avatar
🏴‍☠️

Steffen Müller stmllr

🏴‍☠️
View GitHub Profile
@stmllr
stmllr / config-deb-i386.json
Created August 7, 2022 09:14 — forked from lyshie/config-deb-i386.json
Scratch Desktop (Scratch 3.0 Offline Editor) on GNU/Linux
{
"src": "/tmp/scratch-desktop/",
"dest": "/tmp/",
"arch": "i386",
"icon": "/tmp/scratch-desktop/resources/Icon.png",
"categories": [
"Education"
]
}
@stmllr
stmllr / bluetooth-a2dp.png
Created March 26, 2022 12:57 — forked from lazyfrosch/bluetooth-a2dp.png
Toggle Bluetooth Profiles with Pulseaudio
bluetooth-a2dp.png
@stmllr
stmllr / Denon Vtuner example.md
Created October 22, 2021 14:39 — forked from joleuger/Denon Vtuner example.md
Denon Vtuner example

Tcpdumps of AVR-1713. Reason for dumps: If Denon ever discontinues the vtuner service I need to serve my receiver these dumps:

Press Favorite Station 1 long to save current station as favorite.

Entrance link http://denon.vtuner.com:80/setupapp/denon/asp/browsexm2/navXML.asp?rLev=&gofile=web&mac=xxxxxxxxxxxxxxxxxx&fver=xxxxxx&dlang=ger&startitems=1&enditems=10

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>^M
<ListOfItems>^M
<ItemCount>3</ItemCount>^M
@stmllr
stmllr / ISSUE_TEMPLATE.md
Last active February 17, 2024 01:01
Issue template

Summary

@stmllr
stmllr / composer.json
Created November 8, 2017 10:02 — forked from helhum/composer.json
The (currently) ideal TYPO3 composer setup
{
"require": {
"typo3-console/composer-auto-setup": "^0.1",
"georgringer/news": "^6.1",
"helhum/typo3-secure-web": "^0.2.5",
"typo3/cms-introduction": "^3.0"
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
@stmllr
stmllr / circle.yml
Created December 26, 2016 23:38 — forked from undeadops/circle.yml
Terraform circleci.yml
dependencies:
cache_directories:
- terraform_0.6.16
pre:
- mkdir -p terraform_0.6.16
- wget -O terraform_0.6.16/terraform_0.6.16_linux_amd64.zip https://releases.hashicorp.com/terraform/0.6.16/terraform_0.6.16_linux_amd64.zip
- unzip terraform_0.6.16/terraform_0.6.16_linux_amd64.zip
test:
override:
@stmllr
stmllr / RemoveUnreferencedFilesMarkedAsMissing.php
Created October 24, 2016 10:52
TYPO3 scheduler task to delete rows from sys_file without 1) a corresponding file and 2) a reference in sys_file_reference
<?php
namespace My\Ext\Scheduler\Task;
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
@stmllr
stmllr / Typo3RequestIdProcessor.php
Last active September 20, 2016 13:04
TYPO3 LogProcessor to add requestId to log records
namespace Monolog\Processor;
use TYPO3\CMS\Core\Core\Bootstrap;
/**
* Adds TYPO3 requestId to records
*/
class Typo3RequestIdProcessor
{
/**
@stmllr
stmllr / Result
Last active August 29, 2015 14:17
Proof-of-concept: Using TYPO3.Fluid as view in Slim
$ php -S localhost:8000 index.php
$ curl http://localhost:8000/hello/world
<html>
<body>
<h1>Rendered with TYPO3.Fluid</h1>
Hello world
</body>
</html>
<?php
/** Writing png image to file */
$filename = vfsStream::url('root/test.png');
// not testable with vfsStream
imagepng($image, $filename);