Submitted bybarnettech onTue, 07/23/2019 - 10:06

Using ngrok to provide an ip address to your local webserver

Passing variables in lua

Submitted bybarnettech onSat, 07/13/2019 - 22:11

Here is an example of passing variables in lua:

gStateMachine:change('begin-game', {
            level = self.level,
            score = self.score,
            matchispossible = false

then on the receiving end in the BeginGameState.lua

function BeginGameState:enter(def)
    -- grab level # from the def we're passed
    self.level = def.level
    self.score = def.score

Create a bootstrap subtheme in Drupal 8

Submitted bybarnettech onWed, 07/03/2019 - 09:17

composer require drupal/bootstrap

copy the THEMENAME folder in the bootstrap starterkit folder to your themes/custom directory

Change all the filenames in the newly created directory

Create a file (see the attached example file)

Make sure content in webtechkitchen.libraries.yml is named with the new themename