adduser $USERNAME
sudo update-alternatives --config editor
@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"). |
package main | |
import ( | |
"log" | |
"os" | |
"os/exec" | |
) | |
func main() { | |
cmd := exec.Command("dagger", "call", "-m", "github.com/shykes/daggerverse/hello", "message") |
package main | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"path/filepath" | |
"dagger.io/dagger" | |
) |
``` | |
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 |
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> |
logs: | |
- type: file | |
path: "tmp/sample_logger.log" | |
service: "nf" |
import com.launchdarkly.client.LDClient; | |
import com.launchdarkly.client.LDConfig; | |
import com.launchdarkly.client.LDUser; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.net.URISyntaxException; | |
import static java.util.Collections.singletonList; |
This comes up when you do go get with a private repo; it wants a username/pass instead of using your key.
git config --global url.ssh://[email protected]/.insteadOf https://github.com/