Skip to content

Instantly share code, notes, and snippets.

View radmiraal's full-sized avatar

Rens Admiraal radmiraal

View GitHub Profile
{
"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"
@radmiraal
radmiraal / Dockerfile
Last active October 31, 2023 14:38
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
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 / NodeTypes.yaml
Created September 27, 2015 15:52
A collection node type for Neos. This allows for creating a content node type that acts like a container for other elements without extra wrapping elements
'My.Vendor:Section':
superTypes:
'TYPO3.Neos:Content': TRUE
'TYPO3.Neos:ContentCollection': TRUE
ui:
label: 'Section'
inlineEditable: TRUE
<?php
namespace My\Package\Media\Adjustments;
use TYPO3\Flow\Annotations as Flow;
use Imagine\Image\ImageInterface;
use Imagine\Image\Point;
use TYPO3\Media\Domain\Model\Adjustment\CropImageAdjustment;
use TYPO3\Media\Domain\Model\Adjustment\ImageAdjustmentInterface;
use TYPO3\Media\Domain\Model\Adjustment\ResizeImageAdjustment;
use TYPO3\Media\Domain\Model\ImageVariant;
$q = new FlowQuery(array($parentNode));
$products = $q->find('[instanceof EKS.Site:Product]');
@radmiraal
radmiraal / bash
Last active August 29, 2015 14:07
Run behat tests on CI with internal php webserver
#!/bin/bash
# Searches for all behat.ci.yaml files in the project and runs the tests
FLOW_CONTEXT=Development/Behat php -S 0.0.0.0:8452 -t Web/ &
phpPid=$!
find . -type f -path "*/Tests/Behavior/behat.ci.yml" -print0 | while IFS= read -r -d $'\0' line; do
bin/behat -c $line
done