Tag:Built in
-
Shell script to start PHP built-in fastcgi server
The working platform was updated from Ubuntu 9.10 karmic to 10.04 lucid a few days ago, because the official source of lucid comes with PHP5 3.2, previously useddotdeb I can’t use the source of. I’ve always liked this source. It not only provides PHP5 3 and PHP5 FPM is a very practical fcgi process manager, […]
-
Uninstall and reinstall the most complete method of windows 10 built-in applications, and give you a clean and refreshing system
Presumably, now the computers of my friends have been upgraded to windows 10. However, do you find that there are many applications in your system that you never use. These applications don’t take up much space. Some are just a launch link. For example, the system comes with a “Disney dream kingdom” game. By default, […]
-
Discover a secret: both Python 3 After 6, the dictionary turned into an ordered set. I verified it again!
I’ve been using version 3.8 for the higher version. I’ll use Python 3.0 first 8 version to test whether it will produce orderly words [read the full text] test_dict = {‘o’: 1,’p’: 2,’q’: 3,’r’: 4,’s’: 5,’t’: 6} Use the KSYS () function to verify that the keys of the dictionary are in order print(test_dict.keys()) # […]
-
Exception filter of nodejs nestjs
Reference document: docs nestjs. cn Speaking of nestjs’s exception filter, I have to mention it Net’s global filter function is quite powerful. In theory, it is called AOP aspect oriented programming, which is convenient for too many scenarios that need exception handling. Back to nestjs’s exception filter, it implements similar functions and adopts similar processing […]
-
Using codemirror to build the IDE used by data scientists (I)
1. Introduction to codemirror Codemirror is a general text editor implemented with JavaScript. It is specially used for code editing. It has built-in multiple development language modes and plug-ins, and supports code highlighting, automatic completion, search, shortcut keys, etc. Codemirror is an open source project licensed by MIT. At present, it has been used as […]
-
Bash script built-in debugging methods and skills
Scripts written in Bash can also be debugged, just like interpreted languages such as Python and Perl. Create a new script named servinfo and add executable permissions: Copy codeThe code is as follows: $ vi servinfo #!/bin/bash echo “Hostname: $(hostname)” echo “Date: $(date)” echo “Kernel: $(uname -mrs)” $ chmod +x servinfo Use bash – x […]
-
PWD command of Linux
LinuxUsed inpwdTo seeCurrent working directoryThe full path of the. Command format PWD [options] Command function View the full path of the current working directory. Common parameters -50. — Logical print the value of the environment variable “$PWD”, which may be a symbolic link. -P. — physical (default) prints the physical location of the current working […]
-
MacOS shortcut Optimization: use shift to switch input methods
Zero. Preface This article applies to the following scenarios: For users who use third-party input methods (Baidu, Sogou, and third-party double spelling and five strokes, etc.), in some cases, such as entering a password, they cannot call the third-party input method. At this time, they can only use the built-in ABC of the system, so […]
-
Getting started with Restify
restifyIs a node used to write restful APIs JS module. The following describes how to use Restify and mongodb to write a recruitment platform for geek, and use restful API to publish and view employment requirements. restify = require ‘restify’ mongojs = require mongojs ip_addr = ‘127.0.0.1’ port = ‘3000’ server = restify.createServer(name : “geekjob”) […]
-
Android log development practice (I)
preface Now the threshold of software development is getting lower and lower. Any college student can start developing software after training for a few months, but in fact, software development has a high threshold, and it is not easy to write high-quality code. According to the 28 law, only 20% of programmers can write qualified […]
-
Data source connection pool of mybatis
This article introduces the data source connection pool of mybatis. The data source connection pools we usually use in projects include hikaricp, Druid, c3p0, etc. in most cases, when we use mybatis, we integrate the external data source connection pool. In fact, mybatis also implements a simple data source connection pool. Knowledge points What is […]