Skip to content

Instantly share code, notes, and snippets.

View jcandan's full-sized avatar

James Candan jcandan

  • Chattanooga, TN
View GitHub Profile
@jcandan
jcandan / .lando.yml
Last active March 1, 2023 12:23
Drupal with S3 MinIO via Lando
config:
webroot: web
proxy:
s3:
- console.s3.drupal-tanzu-sandbox.lndo.site:9001
- s3.drupal-tanzu-sandbox.lndo.site:9000
services:
appserver:
overrides:
environment:
@jcandan
jcandan / .lando.yml
Created September 28, 2022 11:45
Behat for Drupal via Lando
name: myproject
recipe: drupal9
config:
webroot: web
services:
appserver:
environment:
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", null, "http://chromedriver:4444/wd/hub"]'
MINK_DRIVER_ARGS: '["chrome", null, "http://chromedriver:4444/wd/hub"]'
MINK_DRIVER_CLASS: 'Drupal\FunctionalJavascriptTests\DrupalSelenium2Driver'
@jcandan
jcandan / .gitignore
Created June 30, 2020 12:25
Drupal 8 Gitignore
# This file contains .gitignore rules that are often used with Drupal projects.
# Because .gitignore is specific to your site and its deployment processes, you
# may need to uncomment, add, or remove rules.
#
# This particular .gitignore file is a combination of the patch found at
# https://www.drupal.org/project/drupal/issues/3082958 and the Pantheon Drops 8
# packages ignore directives at
# https://github.com/pantheon-systems/example-drops-8-composer/blob/master/.gitignore.
@jcandan
jcandan / .env.example
Created December 15, 2019 16:55
Drupal 8.8+ .gitignore
#
# Copy and rename this file to .env at root of this project.
#
# A common use case is to supply database creds via the environment. Edit settings.php
# like so:
#
# $databases['default']['default'] = [
# 'database' => getenv('MYSQL_DATABASE'),
# 'driver' => 'mysql',
@jcandan
jcandan / .lando.yml
Last active November 16, 2019 17:52
Lando for Drupal with Unit, Kernel, Functional, FunctionJavascript, and Behat
name: myproject
recipe: drupal8
config:
webroot: web
debug: false
services:
appserver:
type: php:7.3
run:
- cd $LANDO_MOUNT && composer run copy-behat-yml
@jcandan
jcandan / .lando.yml
Last active June 7, 2019 17:19
DCCHATT 2019 Drupal Gatsby Training
name: 2019-drupal-gatsby-training
proxy:
appserver:
- 2019-drupal-gatsby-training.lndo.site:8000
services:
appserver:
type: node:10
port: 8000
@jcandan
jcandan / keybase.md
Created January 5, 2018 15:42
keybase.md

Keybase proof

I hereby claim:

  • I am jcandan on github.
  • I am jcandan (https://keybase.io/jcandan) on keybase.
  • I have a public key ASAR8l0bssy2OWLx5LA5s68fWT8ufqOW7GLAWcno6rJZHwo

To claim this, I am signing this object:

# vim: set filetype=bash:
# use bash completion helper
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# use git completion helper
if [ -f /usr/local/etc/bash_completion.d/git-completion.bash ]; then
# source ~/.git-completion.bash
We can't make this file beautiful and searchable because it's too large.
RowNumber,CustomerId,Surname,CreditScore,Geography,Gender,Age,Tenure,Balance,NumOfProducts,HasCrCard,IsActiveMember,EstimatedSalary,Exited
1,15634602,Hargrave,619,France,Female,42,2,0,1,1,1,101348.88,1
2,15647311,Hill,608,Spain,Female,41,1,83807.86,1,0,1,112542.58,0
3,15619304,Onio,502,France,Female,42,8,159660.8,3,1,0,113931.57,1
4,15701354,Boni,699,France,Female,39,1,0,2,0,0,93826.63,0
5,15737888,Mitchell,850,Spain,Female,43,2,125510.82,1,1,1,79084.1,0
6,15574012,Chu,645,Spain,Male,44,8,113755.78,2,1,0,149756.71,1
7,15592531,Bartlett,822,France,Male,50,7,0,2,1,1,10062.8,0
8,15656148,Obinna,376,Germany,Female,29,4,115046.74,4,1,0,119346.88,1
9,15792365,He,501,France,Male,44,4,142051.07,2,0,1,74940.5,0
@jcandan
jcandan / haiku.md
Last active February 24, 2017 00:30
my haiku from TWP 2017

Tech Workforce Program

Our program is happening now.

This is a third paragraph, isn't it awesome?

We will go over a few things like:

  • html
  • css
  • javascript