Run lsblk
to see what is your pendrive
dd if= of=/dev/sd status="progress"
import type { ReactNode } from "react"; | |
import type { Props as ReactIntlFormattedMessageProps } from "react-intl/src/components/message"; | |
import { FormattedMessage as ReactIntlFormattedMessage } from "react-intl"; | |
import enMessages from "./en.json"; | |
// Our new union type of all available message IDs. | |
type IntlMessageKeys = keyof typeof enMessages; | |
// Extend the original FormattedMessage props. | |
type FormattedMessageProps = ReactIntlFormattedMessageProps< |
# The initial version | |
if [ ! -f .env ] | |
then | |
export $(cat .env | xargs) | |
fi | |
# My favorite from the comments. Thanks @richarddewit & others! | |
set -a && source .env && set +a |
# source: http://st-on-it.blogspot.com/2010/01/how-to-move-folders-between-git.html | |
# First of all you need to have a clean clone of the source repository so we didn't screw the things up. | |
git clone git://server.com/my-repo1.git | |
# After that you need to do some preparations on the source repository, nuking all the entries except the folder you need to move. Use the following command | |
git filter-branch --subdirectory-filter your_dir -- -- all | |
# This will nuke all the other entries and their history, creating a clean git repository that contains only data and history from the directory you need. If you need to move several folders, you have to collect them in a single directory using the git mv command. |