Here are the steps to update Phoenix Live SaaS Kit for Fly and Phoenix 1.6.9:
git init
,git add .
,git commit -m "init repo"
- Remove generated docker & deploy script files
build.sh
docker-entrypoint.sh
.dockerignore
Dockerfile
Here are the steps to update Phoenix Live SaaS Kit for Fly and Phoenix 1.6.9:
git init
, git add .
, git commit -m "init repo"
build.sh
docker-entrypoint.sh
.dockerignore
Dockerfile
import "./index.css"; | |
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import { | |
DataBrowserRouter, | |
Route, | |
useLoaderData, | |
Form, | |
useNavigation, | |
} from "react-router-dom"; |
$ echo "while :; do grep "BAH~" /var/log/apache2/interesting.log | cut -f 2 -d \"~\" | tr '_' ' '; done" | exec bash | |
$ wget --no-check-certificate 'https://interesting/?BAH~touch_/tmp/foo~' | |
root 10680 10679 0 21:27 pts/1 00:00:00 /bin/bash | |
root 11125 10680 17 21:27 pts/1 00:00:02 bash | |
$ ls /proc/11125/fd | |
total 0 | |
dr-x------ 2 root root 0 Jun 28 21:27 . |
f = fn | |
(_, 0, acc) -> acc | |
(g, num, acc) -> g.(g, num-1, acc+1) | |
end | |
# f.(f,10,10) | |
# Source: peerreynders at https://elixirforum.com/t/recursive-anonymous-functions/18421/4 | |
"Functions are values …" Peer Reynders |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.