lsytj0413 / learn-note Goto Github PK
View Code? Open in Web Editor NEWThe practice of code.
The practice of code.
Your working hours
What's your plan for today
What's you've actually done today
Template of raw markdown. Just copy this to your comment.
**Your working hours**
- Arrive office: // e.g. 08:39
- Leave office(estimate): // e.g. 19:00
- Leave office(actually): // e.g. 20:32
- OOO hours(not working): // if any
- WFH/OOO hours(still working): // if any
**What's your plan for today**
- Item1
- Item2
**What you've actually done today**
- Item1
- Item2
Your working hours
What's your plan for today
What's you've actually done today
Template of raw markdown. Just copy this to your comment.
```
Your working hours
What's your plan for today
What you've actually done today
坚持不住 。 看了一波内存池,发现新语法都没用过
chap34最后一段示例代码:
#!/bin/bash
# loan-calc : script to calculate monthly loan payments
PROGNAME=$(basename $0)
usage () {
cat <<- EOF
Usage: $PROGNAME PRINCIPAL INTEREST MONTHS
Where:
PRINCIPAL is the amount of the loan.
INTEREST is the APR as a number (7% = 0.07).
MONTHS is the length of the loan's term.
EOF
}
if (($# != 3)); then
usage
exit 1
fi
principal=$1
interest=$2
months=$3
bc <<- EOF
scale = 10
i = $interest / 12
p = $principal
n = $months
a = p * ((i * ((1 + i) ^ n)) / (((1 + i) ^ n) - 1))
print a, "\n"
EOF
usage函数的最后一行那个EOF, 前面是\t, 那么的确可以正确运行. 但是复制粘贴会被复制为空格, 空格运行就会有问题, 因为只能是\t不能是空格.
Your working hours
What's your plan for today
What's you've actually done today
Template of raw markdown. Just copy this to your comment.
**Your working hours**
- Arrive office: // e.g. 08:39
- Leave office(estimate): // e.g. 19:00
- Leave office(actually): // e.g. 20:32
- OOO hours(not working): // if any
- WFH/OOO hours(still working): // if any
**What's your plan for today**
- Item1
- Item2
**What you've actually done today**
- Item1
- Item2
Your working hours
What's your plan for today
What's you've actually done today
Template of raw markdown. Just copy this to your comment.
**Your working hours**
- Arrive office: // e.g. 08:39
- Leave office(estimate): // e.g. 19:00
- Leave office(actually): // e.g. 20:32
- OOO hours(not working): // if any
- WFH/OOO hours(still working): // if any
**What's your plan for today**
- Item1
- Item2
**What you've actually done today**
- Item1
- Item2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.