This file contains 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
logs: | |
- type: file | |
path: "tmp/sample_logger.log" | |
service: "nf" |
This file contains 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
import { Route, Switch } from 'react-router-dom'; | |
import HooksDemo from './hooksDemo'; | |
import React from 'react'; | |
import { withLDProvider } from 'launchdarkly-react-client-sdk'; | |
const App = () => ( | |
<div> | |
<main> | |
<Switch> |
This file contains 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
``` | |
Caught panic: | |
runtime error: slice bounds out of range [7:5] | |
Restoring terminal... | |
goroutine 1 [running]: | |
runtime/debug.Stack() | |
/usr/local/go/src/runtime/debug/stack.go:24 +0x65 |
This file contains 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
package main | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"path/filepath" | |
"dagger.io/dagger" | |
) |
This file contains 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
package main | |
import ( | |
"log" | |
"os" | |
"os/exec" | |
) | |
func main() { | |
cmd := exec.Command("dagger", "call", "-m", "github.com/shykes/daggerverse/hello", "message") |
This file contains 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 | |
async def text_examples(self, source: dagger.Directory) -> str: | |
output = "" | |
for language in ["python", "typescript", "go", "shell"]: | |
output += await ( | |
dag. | |
dagger_dev(). | |
dev(). | |
with_mounted_directory("/src", source). | |
with_workdir("/src"). |
OlderNewer