Moment For Technology

Please arrange the JS event loop for me!!

The last time you and I masturbated and PromiseA+, I'm sure all you want is watermelon cola...... Eh, wake up, today we move a small bench, listen to me talk about JS more interesting event ring, before understanding the event ring, let's first understand a few basic concepts. It's not easy to understand. Let's take for example, there's a ping-pong ball box, and we...

Based on Wechaty Wechaty | NodeJS - hand puppet - service agreement lu an enterprise WeChat robot assistant

At present, the company is an innovative Internet Technology Co., LTD., developing B2C, B2B and O2O businesses in the automotive aftermarket. Customer retention and supplier consultation are all based on wechat group chat. Offer your services in hundreds of group chats every day. Need real time in the group product quotation, frame number recognition, image recognition, keyword feedback. Data push and other functions. Under such demand, manpower becomes...

React Project Practices Series 2

The last article covered using a remote Mock Server, so the next step is to have the front end request the Mock environment. In the project can be directly fetch (' https://mock.yonyoucloud.com/mock/212/user/getAll '). But there is a problem here, now in the development environment is requesting Moc...

Install Node.js NPM and Taobao Image in centos7.x

Enter the node. Js's official website: https://nodejs.org/en/download/, through wge directly downloaded to the centos, can also be downloaded to the local first, then transfer to centos under such as: I download path as follows: /usr/local/node-v12.13.1-linux-x64.tar. t...

Node Tokens from single-page Applications (2)

In the previous article, we discussed the method of cookie+session to check the user status, but handling CSRF (cross-site request forgery) is a bit more troublesome. Now that we're talking about CSRF, let me explain a little bit. CSRF is a method of attack. In common parlance, an attacker impersonates you. How does this work? In principle, this type of attack does not need to steal...

My year and a half with Node.js

I've been hooked since I first encountered Node.js and its associated Stack (MEAN) at a Yelp hackathon in 2016. The initial impression was that this web app development is fast, one minute to configure the port, set up the server, and run Hello World Node.js. My first NodeJS app was chat room +...

Fs and streams in Node

If the file does not exist, it will create a file. If the file does exist, it will overwrite readFileSync synchronous read writeFileSync synchronous write readFi

Search
About
mo4tech.com (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.