Skip to content

Instantly share code, notes, and snippets.


Dave Wallace davewallace

  • Self Employed
  • Wellington
View GitHub Profile
View gist:bf13925ea41b9d50550b118b6ce993dc
➜ drupaltest vendor/bin/drush version
Drush version : 9.6.2
➜ drupaltest vendor/bin/drush status
Drupal version : 8.7.0
Site URI : http://default
DB driver : mysql
DB hostname : db
DB port : 3306
DB username : db
DB name : db
View gist:bfe331965af3d3a469bebd5936d953ca
➜ drupaltest vendor/bin/drush en components
Command pm:enable was not found. Drush was unable to query the database. As a result, many comm
ands are unavailable. Re-run your command with --debug to see relevant log messages.
➜ drupaltest vendor/bin/drush en components --debug
[preflight] Config paths: /Users/dw/dev/drupal/drupaltest/vendor/drush/drush/drush.yml,/Users/dw/dev/drupal/drupaltest/drush/drush.yml
[preflight] Alias paths: /Users/dw/dev/drupal/drupaltest/web/drush/sites,/Users/dw/dev/drupal/drupaltest/drush/sites
View gist:941c8ca039f0657ab439b8ac713ae143
Greetings theOvercoat
My fellow adventurers and I have a request of you, if you would? We inhabit a
rather antiquated online text based game, and some magics pull us into this
newer age (reluctantly). As such, we hath invoked several incantations; one of
which hooks into modern communication channels such as The Internet where
potential adventurers apparently lurk, awaiting our The Internet presence.
I'll be straight with you, sometimes a Wizard must take his hat off to learn a
thing. This unicorn of yours, we feel, would be a suitable emblem for our
View bootstrap-prefixed.css
* Bootstrap v3.3.7 (
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (
/*! normalize.css v3.0.3 | MIT License | */
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
View gist:9082ff475e099f67732a5cb273adf7ba
.mySlides img {
height: 500px; /* for example */
@media (max-width: 640px) {
.mySlides img {
height: 300px; /* for example */
View gist:bccf820e965709beec6f6c0cd94e0851
.mySlides img {
max-height: 400px; /* change to some nice-looking value */
.column img {
max-width: 100%;
View gist:39a5f042674b4eb0fb9a4315755eb902
davew@davew ~/dev/prototyping/quasar/witch (master)*$ quasar test
> Witch@0.0.1 test /Users/davew/dev/prototyping/quasar/witch
> npm run unit && npm run e2e
> Witch@0.0.1 unit /Users/davew/dev/prototyping/quasar/witch
> karma start test/unit/karma.conf.js --single-run
View gist:0490cb0f7c9afdf735aacff6c182723d
> test-vue-cli@1.0.0 dev /Users/davew/dev/prototyping/lattice
> node build/dev-server.js
Listening at http://localhost:8080
webpack: wait until bundle finished: /index.html
webpack built 79bd0a0468f68ad4de82 in 3543ms
Hash: 79bd0a0468f68ad4de82
Version: webpack 1.13.3
Time: 3543ms
View gist:d804b58dc6acb61bf96344432717653a
java -jar selenium-server-standalone-3.0.1.jar -port 5555 -role node -hub http://behat-totara-9.localhost:4444/grid/register -browser "browserName=MicrosoftEdge,platform=WINDOWS,maxInstances=10" -Dwebdriver.edge.driver=C:/Users/IEUser/Downloads/MicrosoftWebDriver.exe
View gist:73a35489e79cf0674c7f75f02dafe8a3
$ eslint src
Cannot find module 'eslint-config-airbnb-base'
Referenced from: C:\wamp\www\_testing\stampit\stampit\.eslintrc
Error: Cannot find module 'eslint-config-airbnb-base'
Referenced from: C:\wamp\www\_testing\stampit\stampit\.eslintrc
at Object.resolve (C:\Users\DaveW\AppData\Roaming\nvm\v4.6.0\node_modules\eslint\lib\util\module-resolver.js:74:19)
at resolve (C:\Users\DaveW\AppData\Roaming\nvm\v4.6.0\node_modules\eslint\lib\config\config-file.js:478:33)
at load (C:\Users\DaveW\AppData\Roaming\nvm\v4.6.0\node_modules\eslint\lib\config\config-file.js:495:26)
at C:\Users\DaveW\AppData\Roaming\nvm\v4.6.0\node_modules\eslint\lib\config\config-file.js:391:36
at Array.reduceRight (native)
You can’t perform that action at this time.