This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DRUPAL_VERSION="$(drush status --format=list 'Drupal version' | cut -d. -f1 -)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xdebug_enabled: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php: | |
image: wodby/drupal-php:$PHP_TAG | |
container_name: "${PROJECT_NAME}_php" | |
environment: | |
PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025 | |
DB_HOST: $DB_HOST | |
DB_USER: $DB_USER | |
DB_PASSWORD: $DB_PASSWORD | |
DB_NAME: $DB_NAME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
ngrok: | |
container_name: nginx_ngrok | |
image: wernight/ngrok | |
links: | |
- jenkins | |
environment: | |
#- NGROK_AUTH=<> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
jenkins: | |
container_name: jenkins | |
image: 'jenkins/jenkins:lts' | |
ports: | |
- '80:8080' | |
- '443:8443' | |
- '50000:50000' | |
volumes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$paragraph_text = Paragraph::create([ | |
'type' => 'text', | |
'field_text' => [ | |
'value' => ' | |
<h2>In this page you can publish the failures you consider people might learn of.</h2> | |
<p><a class="btn btn-primary text-center" href="/node/add/failure" title="Post your own failure!">Post your own failure!</a></p> | |
', | |
'format' => 'restricted_html' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
import asyncio | |
import apiai | |
import json | |
client = discord.Client() | |
// Api.ai access token. | |
CLIENT_ACCESS_TOKEN = 'access-token' | |
def query_apiai(query): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<svg id="d3-container" width="2000" height="500"> | |
<clipPath id="clipCircle"> | |
<circle r="120" cx="170" cy="140"></circle> | |
</clipPath> | |
<g> | |
<image id="face" x="0" y="20" width="300" height="300" xlink:href="https://api.omarlopesino.me/sites/default/files/2018-02/me.jpeg" clip-path="url(#clipCircle)"> | |
</image> |