I'm using a Windows machine with an RTX 3070 for this.
- install LM Studio
- install and start OpenSSH server
- download a model - ideally a code related one
- from the server tab a) select the model at top b) accept the updated prompt if needed
I'm using a Windows machine with an RTX 3070 for this.
| almost empty |
There are two ways to render multiple turbo streams:
The other two files on this gist demonstrate both methods.
DHH considers the first one bad.
I kinda like the first one because I think it makes it a little more obvious what the controller code was responsible for passing to where.
| #!/bin/bash | |
| set +e | |
| eb use $1 | |
| echo $1 | |
| eb printenv | grep DATABASE_URL | |
| URL=`eb printenv | grep DATABASE_URL | sed -e 's/^[ \t]*//'` | |
| echo "Using the above URL" |
Page Object Model gem for ruby Page Objects are like react-components for integration spec code. They let you componentize pages or parts of pages so you don't use css-selectors every where.
If you have page.find('button', text: 'update section') in a lot of tests, when the PM says it should be 'Change Section' you have a lot of changes to make.
By sticking this in the page-object it limits the needed scope of change to just that POM and possible the one test that regression checked this.