If the lxd/lxc knows about the bridge (i.e. it's managed) then run the following:
lxc network delete lxdbr0
If it's no longer managed by lxd/lxc, you need to run the following commands:
ip link set lxdbr0 down
apiVersion: influxdata.com/v2alpha1 | |
kind: Task | |
metadata: | |
name: condescending-carver-6e4668 | |
spec: | |
every: 2m | |
name: evil3 | |
offset: 1m0s | |
query: |- | |
// import "math" |
apiVersion: influxdata.com/v2alpha1 | |
kind: Task | |
metadata: | |
name: condescending-carver-6e4859 | |
spec: | |
every: 2m | |
name: blah3 | |
offset: 1m0s | |
query: |- | |
import "system" |
apiVersion: influxdata.com/v2alpha1 | |
kind: Task | |
metadata: | |
name: condescending-carver-6e41231 | |
spec: | |
every: 2m | |
name: test | |
offset: 1m0s | |
query: |- | |
import "system" |
package main | |
import ( | |
"fmt" | |
) | |
// Apply | |
func A[A, B any](f func(A) B) func(A) B { | |
return func(a A) B { | |
return f(a) |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
"gopkg.in/yaml.v2" |
snap install lxd | |
snap install juju --classic | |
juju bootstrap lxd test |
juju controllers --format=json | jq ".controllers | keys[]" | xargs -I % juju kill-controller -t 0s -y % |
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"net/url" | |
"sync" | |
"golang.org/x/net/html" |
const n = 100000; | |
let hit = 0; | |
for (let i = 0; i < n; i++) { | |
const x = Math.random(); | |
const y = Math.random(); | |
if (x *x + y * y < 1) { | |
hit += 1; | |
} | |
} | |
console.log(4.0 * hit / n); |
If the lxd/lxc knows about the bridge (i.e. it's managed) then run the following:
lxc network delete lxdbr0
If it's no longer managed by lxd/lxc, you need to run the following commands:
ip link set lxdbr0 down