iijs - a simple lightweight MVC framework based on nodejs+koa2

iijs A simple and lightweight MVC framework built on nodejs+koa2 Project introduction A simple lightweight MVC framework based on nodejs+koa2, with minimum dependence on only koa and koa-router Official website: js.i-i.me Source code: github Code cloud QQ: 331406669 Use Installing npm i iijs Application Architecture ├── app //App ...

Posted on Sun, 08 Sep 2019 06:05:57 -0400 by candy2126

Build a scaffold from scratch based on project requirements

Build your own scaffolding as needed 1. Processing commands entered by the end user Create a new folder named cm-cli Open the terminal, enter the command NPM init-y to generate the package.json file Install appropriate third-party libraries cnpm i commander download-git-repo inquirer handlebars ora chalk log-symbols -S commander.js, whi ...

Posted on Sun, 08 Sep 2019 01:07:42 -0400 by aktell

React Short Book - header Home Page

1. We introduced index.css in index.js, set the class name in the CSS file to a dom in App.js, and found that style worked, but we did not introduce it in app.js. Reason: Once a css file is introduced in a file, it is globally valid. So there's ...

Posted on Fri, 06 Sep 2019 22:27:15 -0400 by ricardo.leite

Python 3 Quick Start - Pandas Data Read

Python 3 Quick Start (14) - Pandas Data Reading 1. DataFrame IO 1. CSV Files pandas.read_csv(filepath_or_buffer, na_values='NAN', parse_dates=['Last Update'])Reads data from a CSV file and creates a DataFrame object, na_vlaues sets the form of missing values, and parse_dates parses the specified column into a time-date format.dataframe.to_csv( ...

Posted on Fri, 06 Sep 2019 22:10:50 -0400 by Alien

Operations and Maintenance Choreography Series Scenarios - Quick Generation of Template shell Commands

Application scenarios When running shell files on a machine by template, it is necessary to write all current shell commands into the template manually and add shell files to the template. Especially when encountering some special characters that need to be translated, manual modification is needed, which wastes time. Solution Write the shell ...

Posted on Fri, 06 Sep 2019 07:36:11 -0400 by ingoruberg

php and aliyun short message interface access

Using the Aliyun SMS API, we need to obtain the following necessary parameters in the console, which requires our own mobile phone validation + official audits many times, especially the audits need to be patient. 1. accessKeyId is equivalent to your personal account key; 2. accessKeySecret is paired with the above; 3. SignName personal sign ...

Posted on Fri, 06 Sep 2019 00:06:12 -0400 by simonb

Introduction to Cesium 10 - 3D Tiles

Our team sometimes describes Cesium as a 3D game engine with real world data. However, using real-world data is much more difficult than using typical video game data, because real data can be incredibly high resolution and require accurate visualization. Fortunately, Cesium worked with the open source community to develop it. 3D Tiles This is ...

Posted on Thu, 05 Sep 2019 00:39:15 -0400 by blkraven

NodeJS implements TCPSocket server and client

NodeJS implements TCPSocket server and client TCP Socket Client Detailed list TCP Socket Server Detailed list Result The server Client TCP Socket Client (1) Create socket client by calling net.connect() (2) To establish connection behavior ...

Posted on Wed, 04 Sep 2019 23:45:50 -0400 by johnali3n

java Export word Export Using FreeMarker Mode

  The public.docx file is the template that needs to be exported 1.pom dependence 2. Save the public.docx file as public.xml 3. Open public.xml using Visual Studio Code You need to format the document. This is a plug-in of Visual Studio ...

Posted on Mon, 02 Sep 2019 23:48:00 -0400 by richtux

ASP.NET Core appsettings.json file

In this section, we will discuss the importance of the appsettings.json file in the ASP.NET Core project. In previous versions of ASP.NET, we stored application configuration settings (such as database connection strings) in web.config files. In Asp.Net Core, application configuration settings can come from the following different configuratio ...

Posted on Mon, 02 Sep 2019 23:44:12 -0400 by penguin0