Mix.install([
{:reactor, "~> 0.15.5"},
{:kino, "~> 0.16.0"},
{:nanoid, "~> 2.1"}
])
Add copilot-setup-steps.yml
to your .github/workflows
directory so Copilot Coding Agent doesn’t get lost trying to set up Elixir and Erlang.
This also ensures a postgres database is running, which is helpful for Phoenix apps out of the box.
Dependencies are cached to make the agent start up quickly, as well as saving on metered GitHub Actions compute time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function formatMatch({ indices, value }) { | |
let lastIndex = 0; | |
return ( | |
<span> | |
{indices.map(([start, end], index) => { | |
const nonMatch = value.slice(lastIndex, start); | |
lastIndex = end; | |
const match = value.slice(start, end); | |
return ( | |
<React.Fragment key={index}> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```json | |
{ | |
"test": true | |
} | |
``` |
I hereby claim:
- I am christianalexander on github.
- I am calexanderbolste (https://keybase.io/calexanderbolste) on keybase.
- I have a public key ASByxhqXGTxmCM6GRDNyukQEv9RY04MpLeuJvp8AECUgsQo
To claim this, I am signing this object:
NewerOlder