Skip to content

Instantly share code, notes, and snippets.

View radmiraal's full-sized avatar

Rens Admiraal radmiraal

View GitHub Profile
@radmiraal
radmiraal / Dockerfile
Last active April 4, 2025 04:32
FileMaker server on docker
FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive
RUN set -eux ; \
# update all software download sources
apt-get update -y ; \
apt-get upgrade -y ; \
apt-get install -y --no-install-recommends ; \
# install filemaker server dependencies
{
"description": "Windows Mappings",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"com\\.microsoft\\.rdc\\.macos"
],
"type": "frontmost_application_if"
#!/usr/bin/env bash
DOMAIN="my.host.name"
SERVER_PATH="/opt/FileMaker/FileMaker Server/"
FMADMIN="admin"
FMPASS="my fancy password"
cp "/etc/letsencrypt/live/${DOMAIN}/fullchain.pem" "${SERVER_PATH}CStore/fullchain.pem"
PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
............................................................. 61 / 1179 ( 5%)
............................................................. 122 / 1179 ( 10%)
............................................................. 183 / 1179 ( 15%)
............................................................. 244 / 1179 ( 20%)
............................................................. 305 / 1179 ( 25%)
...................................F......................... 366 / 1179 ( 31%)
............................FF..FF.F......................... 427 / 1179 ( 36%)
............................................................. 488 / 1179 ( 41%)
CentOS Linux release 7.7.1908 (Core)
@radmiraal
radmiraal / nginx.conf
Last active April 25, 2017 17:45
Raspberry TYPO3 install
server {
listen 80 default_server;
server_name pi;
root /var/www/pi/web;
index index.php;
location = /favicon.ico {
log_not_found off;
access_log off;
@radmiraal
radmiraal / gist:8d68190e4d8de98ed865
Created July 10, 2014 19:20
Routing configuration for the TYPO3.TYPO3CR paginate viewhelper in a TYPO3 Neos nodetype
-
name: 'Search paginate'
uriPattern: '{node}/{--typo3-typo3cr-viewhelpers-widget-paginateviewhelper.currentPage}'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--typo3-typo3cr-viewhelpers-widget-paginateviewhelper':
'@package': ''
#cf {
position:relative;
height:200px;
width:200px;
margin:0 auto;
}
#cf .box {
position:absolute;
left:0;
#!/usr/bin/php
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_STRICT);
define('FLOW_PATH_ROOT', __DIR__ . DIRECTORY_SEPARATOR);
define('FLOW_PATH_PACKAGES', FLOW_PATH_ROOT . 'Packages' . DIRECTORY_SEPARATOR);
class Gerrit {
<?php
use TYPO3\Surf\Domain\Model\Node;
use TYPO3\Surf\Domain\Model\SimpleWorkflow;
$application = new \TYPO3\Surf\Application\TYPO3\Flow();
$application->setOption('version', getenv('VERSION'));
$application->setOption('repositoryUrl', getenv('REPOSITORY'));
$application->setOption('localPackagePath', FLOW_PATH_DATA . 'Checkout' . DIRECTORY_SEPARATOR . $deployment->getName() . DIRECTORY_SEPARATOR . getenv('DEPLOYMENT_NAME') . DIRECTORY_SEPARATOR);
$application->setOption('composerCommandPath', getenv('COMPOSER_PATH') ? getenv('COMPOSER_PATH') : '/usr/bin/composer');
$application->setOption('transferMethod', 'rsync');