https://github.com/reactjs/react-basic/blob/master/README.md
function NameBox(name) {
return { fontWeight: 'bold', labelContent: name };
}
// Level 1 reuse: Show user name with blue border
https://github.com/reactjs/react-basic/blob/master/README.md
function NameBox(name) {
return { fontWeight: 'bold', labelContent: name };
}
// Level 1 reuse: Show user name with blue border
A = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
B = [2, 4, 6, 8, 10] | |
setA = set(A) | |
setB = set(B) | |
# C = A ^ B | |
# Copy with links | |
cp -r src/* dst/ | |
# Copy without links but files | |
cp -rL src/* dst/ | |
# Scp to the remote side without links but files | |
# Remember to replace `localhost` and `pwd` with your own variables | |
scp -r src/* localhost:`pwd`/dst |
from reportlab.lib.pagesizes import A5, landscape | |
# A5 = (210*mm,148*mm) | |
LANDSCAPE_A5 = landscape(A5) | |
PAGE_WIDTH = LANDSCAPE_A5[0] | |
PAGE_HEIGHT = LANDSCAPE_A5[1] | |
HORIZONTAL_MARGIN = PAGE_WIDTH / 32 | |
VERTICAL_MARGIN = PAGE_HEIGHT / 16 |