php working preferrably composer working too
mkdir drupal && cd drupal && curl -sSL https://www.drupal.org/download-latest/tar.gz | tar -xz --strip-components=1
<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 |
// Checking if we are editting in the Mautic Builder. | |
if( $('.builder-active', window.parent.document).length ) { | |
// Do stuff here | |
} |
<?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; |
#!/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." |
#chat-box.ubuntu.hidden-xs | |
.closed | |
.pull-right | |
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-chevron-up').html_safe, 'chat.show()' | |
.m-l-small | |
= link_to_function 'Chat with us', 'chat.show()' | |
.opened{style: 'display: none'} | |
.header | |
.pull-right | |
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-plus-sign').html_safe, 'chat.maximize()', class: 'maximize', style: 'display: none' |
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/ |
<?php | |
define('FRESHDESK_SHARED_SECRET','____Place your Single Sign On Shared Secret here_____'); | |
define('FRESHDESK_BASE_URL','http://{{your-account}}.freshdesk.com/'); //With Trailing slashes | |
function getSSOUrl($strName, $strEmail) { | |
$timestamp = time(); | |
$to_be_hashed = $strName . FRESHDESK_SHARED_SECRET . $strEmail . $timestamp; | |
$hash = hash_hmac('md5', $to_be_hashed, FRESHDESK_SHARED_SECRET); | |
return FRESHDESK_BASE_URL."login/sso/?name=".urlencode($strName)."&email=".urlencode($strEmail)."×tamp=".$timestamp."&hash=".$hash; | |
} |
This is a short article on how we integrate stash and slack in openmind
First of all i assume you have:
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.
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.