Skip to content

Instantly share code, notes, and snippets.

@thom8
thom8 / config.yml
Last active March 3, 2016 02:27
Wordpress config
---
# Vagrant config.
vagrant_ip: 192.168.88.88
# Beetbox settings.
beet_project: wordpress
beet_domain: "{{ beet_project }}.local"
beet_site_name: "Beetbox"
# Wordpress settings.
---
- name: Import db.
command: >
{{ drush_path }} sql-sync -y {{ drupal_import_source }} @self
chdir={{ beet_root }}
when: drupal_import_db is defined
become: no
- name: Run database updates.
command: >
@thom8
thom8 / settings.php
Created March 20, 2017 11:19
Minimal settings.php
<?php
$settings['hash_salt'] = 'Ff2eKyjMCb3Qcp6StE1ZwkqgLRaAd2a_e5Gz2gF6v2wNkox7clvZ9A43TxsBsg_48IOYRNpbGQ';
$databases['default']['default'] = array (
'database' => 'drupal',
'username' => 'drupal',
'password' => 'drupal',
'prefix' => '',
'host' => 'localhost',

Keybase proof

I hereby claim:

  • I am thom8 on github.
  • I am thomtoogood (https://keybase.io/thomtoogood) on keybase.
  • I have a public key ASDmTVD6eejLcXLY4LpjMakNh6pEHbgtXtazCQovjLafgwo

To claim this, I am signing this object:

@thom8
thom8 / Vagrantfile.local
Created September 12, 2017 03:58
Drupal VM - local port forwarding
Vagrant.configure('2') do |config|
config.vm.network 'forwarded_port', guest: 80, host: 8000, auto_correct: true
end
@thom8
thom8 / ext-xdebug.ini.disabled
Created November 6, 2017 08:31
/usr/local/etc/php/7.1/conf.d/ext-xdebug.ini.disabled
[xdebug]
zend_extension="/usr/local/opt/php71-xdebug/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
xdebug.profiler_enable=0
xdebug.profiler_enable_trigger=1
xdebug.idekey=PHPSTORM
xdebug.remote_log="/tmp/xdebug.log"
image: integratedexperts/circleci2-builder
services:
- docker:dind
stages:
- validate
- build
- deploy
validate:
stage: validate
script: