- Update the sizes and final format you want your images formatted to in source.
- make the script executable
chmod +x optimize.sh
- run the script
./optimize.sh original.jpg
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
id | name | slug | |
---|---|---|---|
1 | Africa | africa | |
2 | Americas | americas | |
3 | Antarctica | antarctica | |
4 | Asia | asia | |
5 | Europe | europe | |
6 | Oceania | oceania |
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
{ | |
"breadcrumbs.enabled": true, | |
"colorInfo.languages": [ | |
{ | |
"selector": "css", | |
"colors": "css" | |
}, | |
{ | |
"selector": "sass", | |
"colors": "css" |
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
[ | |
{ | |
"name": "Afghanistan", | |
"code": "AF", | |
"emoji": "🇦🇫", | |
"image": "https://cdn.jsdelivr.net/gh/lipis/[email protected]/flags/4x3/af.svg", | |
"dialCodes": [ | |
"+93" | |
], | |
"slug": "afghanistan" |
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 { preload } from "react-dom"; | |
import { unstable_getImgProps as getImgProps } from "next/image"; | |
type Props = { | |
playbackId: string; | |
loading: "lazy" | "eager"; | |
resolution: "SD" | "HD"; | |
}; | |
export default function MuxVideo({ playBackId, loading, loading }: Props) { |
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
{ | |
"window.commandCenter": true, | |
"workbench.colorTheme": "Moxer Borderline", | |
"workbench.iconTheme": "moxer-icons", | |
"typescript.suggest.paths": false, | |
"javascript.suggest.paths": false , | |
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint", | |
"editor.formatOnPaste": false, | |
"editor.formatOnType": false, | |
"editor.formatOnSave": true, |
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
#!/bin/bash | |
taps=( | |
"denji/nginx" | |
"heroku/brew" | |
"homebrew-ffmpeg/ffmpeg" | |
"homebrew/services" | |
"twilio/brew" | |
"universal-ctags/universal-ctags" | |
) |
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
#!/bin/bash | |
# generate new personal ed25519 ssh key | |
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>" | |
# generate new host cert authority (host_ca) ed25519 ssh key | |
# used for signing host keys and creating host certs | |
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network | |
eval "$(ssh-agent -s)" |
NewerOlder