Skip to content

Instantly share code, notes, and snippets.

View RCheesley's full-sized avatar
🚀
Working on all things Mautic

Ruth Cheesley RCheesley

🚀
Working on all things Mautic
View GitHub Profile
@bbendick
bbendick / YearCompass.md
Created December 18, 2023 00:34
YearCompass

README

This is a markdown version of the wonderful YearCompass booklet.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.

Welcome

What is this?

It's a YearCompass--your very own YearCompass, to be exact.

It is a booklet that helps you reflect on the past year and plan the next one. With a set of carefully selected questions and exercises, YearCompass helps you uncover your patterns and design a great year for yourself.

Dropsolid Personalisation 1 on 1

Required

php working preferrably composer working too

Installation

Install drupal

mkdir drupal && cd drupal && curl -sSL https://www.drupal.org/download-latest/tar.gz | tar -xz --strip-components=1

@opencoca
opencoca / mautic_warmup.sh
Created March 18, 2020 13:36
Mautic Perms and Cache warm up
cd /var/www/mautic
mkdir app/spool/
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod -R g+w app/cache/
chmod -R g+w app/logs/
chmod -R g+w app/config/
chmod -R g+w media/files/
chmod -R g+w media/images/
chmod -R g+w translations/
@tatianamac
tatianamac / tatiana-mac-speaker-rider.md
Last active March 24, 2024 12:22
Tatiana Mac's Speaker Rider

Speaker Rider

by Tatiana Mac

Last updated 14 April 2021

What is a speaker rider?

As speaking comes with immense privilege, I have crafted a speaker rider to set expectations and boundaries around my engagement. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most historically excluded and marginalised communities.

Considerations

😫 I provide a lot of explanations for those of you who never had to consider these things. Most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

@ChgoChad
ChgoChad / commands.php
Last active January 5, 2024 22:18 — forked from escopecz/commands.php
Script to run Mautic (https://mautic.org) commands from a URL.
<?php
if (!isset($_GET['ILoveMautic'])) {
echo 'The secret phrase is wrong.';
die;
}
$link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$allowedTasks = array(
'cache:clear',
@k127
k127 / page.html.php
Created August 19, 2016 12:00
A simple minimal example for preprocessing PHP template data
<?php
// We just preprocess some data to use for the template.
// For what we want to show, it is not important what we're doing here exactly,
// rather than the fact that this cannot be done inside a Twig template,
// which is where this PHP HTML template should be convertet to.
if ($image = filter_input(INPUT_GET, 'image') &&
!filter_var($image, FILTER_VALIDATE_URL) === false) {
$image_src = $image;
@Yame-
Yame- / mautic-builder-active.js
Last active August 15, 2016 12:20
Checking if a Mautic theme (Landing page or E-mail) is being edited through the Builder.
// Checking if we are editting in the Mautic Builder.
if( $('.builder-active', window.parent.document).length ) {
// Do stuff here
}
@bavington
bavington / Site-Search-JSON+LD.html
Last active February 24, 2016 09:05
Simple JSON+LD Boilerplate for configuring your Site Name and Google Sitelinks Search Box Schema.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
// Include your Site name within Google Search Results
"name" : "James' Donuts",
"alternateName" : "James' Donuts Ltd",
"url": "https://www.jamesdonuts.co.uk",
// Enabe the Google Sitelinks Search Box
@abs
abs / gist:c0d598996870dda719b3
Last active November 28, 2016 22:14
Downloads and installs the startssl CA certs into the global Java keystore
#!/bin/sh
#
# Downloads and installs the startssl CA certs into the global java keystore
# Author: Klaus Reimer <k@ailis.de>
#
# Check if JAVA_HOME is set
if [ "$JAVA_HOME" = "" ]
then
echo "ERROR: JAVA_HOME must be set."
@molaschi
molaschi / stash_slack_integration.md
Created June 4, 2014 17:10
Integrate Stash with Slack using webhooks

This is a short article on how we integrate stash and slack in openmind

First of all i assume you have:

  • a working stash installation
  • a repository you to notify slack on pushes
  • stash user with administration priviledges
  • full access to the server (linux) where stash is installed on
  • a team configured on slack
  • slack user with administration priviledges