The latest classic Linux operation and maintenance brothers, Linux operation and maintenance learning notes,,
—————
1.5 times the entire play, refueling, I will be able to finish Linux———————-UnixDevelopment history of LinuxIntroduction of open source softwareLinuxApplication areaLinuxLearning methods——————-Unix:Ken Baer, from the American Laboratory of Baer.1971In 2004, Denis Ricci invented the C language.———LinuxThe system was born in 1991, written by -Linus, Finla...
Euler’s theorem:
> positive integer. a , n > φ(n) is the Euler function.(1~n) Andn coprime.
a,n >, son, that is to say.
> because there are φn n >:(aφn -1)X1 * X2 * …… * Xφn ≡ 0 (mod n)
n is coprime, so, (aφn -1)| n“.aφn≡1(mod n).” The Euler theorem is proved.
, any integer.a
Recently, when using element-ui to build a project, I found it unfriendly for beginners to configure various files to run element-ui only with webpack.
Think of using vue-cli to build the entire Vue project.
1.Install node.js
2.Install webpack
Global install webpack command
npm install webpack -g
3.Installation of Taobao mirror [fast speed children’s shoes can be omitted].
1 npm install -g cnpm --registry=https://registry.npm.taobao.org
4.vueScaffold global installation — used to generate Vue templates
npm install -g vue-cli
Understanding it as a way to get you started quic...
A little bit.
Ideas: large integer addition, palindrome number judgment. It is also necessary to determine whether the number of first input is palindrome, so we use do… While instead of while.
Code:
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
bool judge(const string &str)
{
int i=0,j=str.size()-1;
while(i<=j){
if(str[i]!=str[j]) return false;
i++;
j--;
}
return true;
}
string add(const string& s1,const string& s2)
{
string sum;
int carry=0,temp,d;
for(int i=s1.siz...
“Webpack-dev-server is not an internal or external command, nor is it a runnable program or batch file” that recently appeared when using vue-cli to build directories
After looking up a lot of data and solutions on the Internet, the path that should be an environment variable does not read NPM in combination with its own situation.
False report
The solution is to find the NPM directory and add it to the environment variable path.
OK!Perfect solution!!!
SSR:Server Side Rendering(Server render)
The purpose is to solve the single page application of the SEO problem, for the general site has little impact, but for the forum class, content class site is fatal, search engines can not grab page-related content, that is, users can not find the relevant information of this site.
VUESSR based on NUXT
Title Description
Figure out the number of times in 1 of 1~13’s integer, and figure out the number of 1 in 100~1300’s integer. For this reason, he counted the number of 1 in the range of 1 to 13 in particular, 1, 10, 11, 12, 13, so there were six times, but for the latter problem he had no choice. ACMerI hope you can help him, and generalize the problem, you can quickly find out the number of occurrences of 1 in any nonnegative integer interval (from 1 to 1 in n).
thinking
Why suddenly thought of a very indecent way. But it is time-consuming. Traversing the number from 1 to N, tu...
This represents a full path, and in our Dynamic Web Project, our java files and JSP files are not in the same directory, and 404 errors are reported when the JSP jumps to the servlet. Add ${p before /servlet.AgeContext.request.contextPath} this whole path will solve this problem very well. Hope to help everyone.