Based on Stack Overflow
rewrite ^(/recommends/)(.*)$ /go/$2 permanent;
Based on Stack Overflow
rewrite ^(/recommends/)(.*)$ /go/$2 permanent;
""" | |
create running time for tracks in an album | |
1. song A 02:20 | |
2. song B 01:30 | |
3. song C 04:00 | |
=> | |
1. song A 00:00 | |
2. song B 02:20 | |
3. song C 03:50 | |
""" |
ffmpeg -loop 1 -r 2 -i image.jpg -i input.mp3 -vf scale=-1:720 -c:v libx264 -preset slow -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p -threads 0 output.mkv
""" | |
find a solution for a/bc + d/fe + g/hi = 1 where each letter represents | |
a unique digit | |
""" | |
import itertools | |
import math | |
for perm in itertools.permutations([1, 2, 3, 4, 5, 6, 7, 8, 9]): | |
perm = [float(x) for x in perm] |
Verifying my Blockstack ID is secured with the address 1AazSMGN4wxmQPncnNf7UL3oXcokQxVGEL https://explorer.blockstack.org/address/1AazSMGN4wxmQPncnNf7UL3oXcokQxVGEL |
I hereby claim:
To claim this, I am signing this object:
yarn add eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-react eslint-plugin-react-hooks
npx install-peerdeps --dev eslint-config-airbnb
eslint --init
In .eslintrc.json
:
{
const getManyUsers = async (ids) => { | |
const USERS = { | |
1: { name: "foo" }, | |
2: { name: "bar" } | |
}; | |
return ids.map(id => USERS[id] || null); | |
} | |
function createLoader(getMany) { |