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
name: drupal | |
recipe: drupal11 | |
config: | |
webroot: web | |
services: | |
appserver: | |
build: | |
- mkdir -p $LANDO_WEBROOT/sites/simpletest/browser_output | |
overrides: | |
environment: |
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> | |
<HideEmail :prefix="name" :suffix="mysite.com"/> | |
</div> | |
</template> | |
<script> | |
import HideEmail from '~/components/HideEmail' | |
export default { |
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
/* Better box sizing https://css-tricks.com/box-sizing/ */ | |
html { | |
box-sizing: border-box; | |
} | |
*, | |
*:before, | |
*:after { | |
box-sizing: inherit; | |
} |
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
# Easier navigation: .., ..., ~ and - | |
alias ..="cd .." | |
alias cd..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." | |
alias ~="cd ~" # `cd` is probably faster to type though | |
alias -- -="cd -" | |
# mv, rm, cp |
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
# Local development services. | |
services: | |
cache.backend.null: | |
class: Drupal\Core\Cache\NullBackendFactory | |
parameters: | |
session.storage.options: | |
# Default ini options for sessions. | |
# | |
# Some distributions of Linux (most notably Debian) ship their PHP |
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
image: node:8.9.0 | |
pipelines: | |
branches: | |
master: | |
- step: | |
name: Build and test | |
caches: | |
- node | |
script: |
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
# Use the official cypress docker container. | |
image: cypress/base:8 | |
pipelines: | |
default: | |
- step: | |
caches: | |
- node | |
- npm | |
- cypress |
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
# Push code change to cheap host without git using https://git-ftp.github.io/ | |
image: smartapps/bitbucket-pipelines-php-mysql | |
pipelines: | |
branches: | |
master: | |
- step: | |
script: | |
- apt-get update | |
- apt-get -qq install git-ftp # Install git-ftp |
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
/** | |
* Expected query parameters via GET or POST | |
* | |
* email: a valid email address | |
* firstName: the first name | |
* lastName: the persons last name | |
* | |
* Don't forget to replace the API key and List ID. | |
*/ | |
// Add the https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node |
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
# The top-most paths override here. | |
PATH=/usr/local/bin:$PATH | |
PATH=$PATH:/Applications/MAMP/Library/bin | |
# Use MAMP php version | |
PATH=/Applications/MAMP/bin/php/php7.0.13/bin:$PATH | |
export PATH |
NewerOlder