Unity game in 10 minutes
Good game in 10 minutes tutorial https://assetstore.unity.com/3rd-person-prototype
To copy a react app directory
to copy a react app, use cp -a NOT cp -r the latter does not preseve symlinks!
ngrok
Using ngrok to provide an ip address to your local webserver
Passing variables in lua
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
docker stuff etc
Containers
Volumes
Images
****** docker@cli:/var/www$ drush uli
http://default/user/reset/1/1562857120/4LM0dysnuYfSlI3FM4Ra3IOL6bhXs8Go…
****** fin db import bh22.sql
****** gulp in the theme directory
docker-machine ls
docker volume inspect newco_project_root
******
cd /Users/jbarnett/sys/platform/bh/newco/
fin bash and then drush cr
Twig templates, and Getting variable names from twig and printing content
Twig templates https://www.drupal.org/docs/8/theming/twig/twig-template-naming-convent…
text from content: {{ content.field_slideshow1_text1 }}
kint output: {{ dump(_context|keys) }}
kint output: {{ kint(items) }}
https://www.drupal.org/docs/8/theming/twig/discovering-and-inspecting-v…