- quackingabout.com
- wequack.com
- mequack.com
- quackmeabout.com
- quackbro.com
- quackingaround.net
- learnquack.com
- quack.tips
- typescript.tips
- typescript.life
Fetch the remote branch from the origin first
git fetch origin remote_branch_name
Merge the remote branch to the local branch
git merge origin/remote_branch_name
Used in react-dropzone
docs
import React from 'react'
import classNames from 'classnames'
import Dropzone from 'react-dropzone'
class MyDropzone extends React.Component {
onDrop = (acceptedFiles, rejectedFiles) => {
// Do something with files
This file contains hidden or 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
mv (option) file1.ext file2.ext |
This file contains hidden or 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
git reset --hard <remote>/<branch_name> |
This file contains hidden or 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
git mv src/routes/privacy/components/PrivacyPl.tsx src/routes/privacy/components/PrivacyPL.tsx | |
# MacOS is a case insensitive filesystem |
This file contains hidden or 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
pandoc -s document.docx -t markdown -o document.md | |
# Then use Markdown All in One plugin to convert to html |
This file contains hidden or 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 * as React from 'react'; | |
import * as classNames from 'classnames'; | |
export interface FadeInProps { | |
when: boolean; | |
delay?: number; | |
duration?: number; | |
distance?: string; | |
order?: number; | |
className?: string; |
This file contains hidden or 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 | |
protected_branches=('master' 'develop') | |
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
is_branch_protected=false; | |
for protected_branch in "${protected_branches[@]}" | |
do | |
if [ $protected_branch = $current_branch ] | |
then |