CentOS performance diagnostics latest tool command set# View the current system load uptime # view the system status and system resource usage of each process top # visually display the CPU usage htop # view the load information of each CPU mpstat-p all 1 # view disk IO statistics every 1 second iostat-xkdz 1 # view virtual memory usage information every second vmstat 1 # view memory usage statistics free #
Set up the Google Go language development tool Sublime Text 2 Environment on Mac OS X
The Go language is Google's own compiled language, designed to reduce Code complexity without compromising performance. Its advantage is to allow the software to give full play to the advantages of synchronizing multiple workers with multiple core processors, and to solve the trouble of object-oriented programming.
1. Inst
Use of the asList () method of the Arrays tool class in the set framework, arraysaslistI. Conversion from string array to set
1 String [] str = {"ds", "df", "da", "dfg"}; 2 List Ii. convert a non-string array to a set
1 // Case 1: running result: [[I @ 15db9742] 2 int [] arr = {12, 98, 54,87, 946, 67}; 3 List 3. conver
I feel that Microsoft has the most outstanding application of encapsulation among the three object-oriented principles. It will encapsulate some complex algorithms, structures, and functional code, so that programmers can be very comfortable with using them, for example, the foreach In the keyword and the Foreach in the labmda expression. Today I also wrote a set traversal tool.
TIPS: If your
First, the installation tool Shutter1. Add the installation package software sourcesudo add-apt-repository ppa:shutter/ppa2. Update the source and install shuttersudo apt-get updatesudoinstall shutter3. Search shutter to see installed successSecond, set the Shutter shortcut key 1. Open System settings2. Open Keyboard Keyboard settings3. Add a status of success4. Click Disabled on the right, and then quickly
1, at the time of the Guide package can import its static part, so that in the class to use it, you can directly use its nameFor example: Map.entry access, after the class file header imports import Java.util.Map.Entry after simplification for entry.2. You can use the modifier to return a value type method name ( parameter type ...). formal parameter name ) {}" to pass in an indeterminate number at the same time, parameters of the same parameter type. For example, when the data of an int of an
CSS:
1. CSS Sprites: CSS Sprites (CSS image splicing technology) tutorial and tool set (bin go)
2.css intercept: How to Use CSS intercept)
CoreCode:
{Text-overflow: ellipsis;/* supports the list of IE, chrome, Navigator, and does not support opera, Safari */-O-text-overflow: ellipsis;/* Special to opera */White-space: nowrap;/* Do not wrap */Overflow: hidden;/* hide when overflow occurs */Width:... PX;/
Linux Character Set Conversion Tool-general Linux technology-Linux programming and kernel information. The following is a detailed description. Use the iconv command for encoding and conversion
The iconv command is used to convert the encoding of a specified file. By default, it is output to a standard output device, or an output file.
Usage: iconv [option...] [file...]
The following options are av
Get input vertically in horizontal direction:float movehorizontal = Input.getaxis ("horizontal"); float movevertical = Input.getaxis ("Vertical");Give a force to a rigid body:New 0.0f , movevertical); GetcomponentCamera 45 degree View angle:Camera:Position: x (0) y (5) Z (-6) Rotate: x () y ( 0) Z (0) scale: x (1) y (1) Z (1)Camera following: Public Gameobject player; Private Vector3 offset; // Use this for initialization void start () { // camera and the initial relativ
one, the installation screenshot tool Shutter
1. Add installation package software source
sudo add-apt-repository Ppa:shutter/ppa
2. Update source and install shutter
sudo apt-get update
sudo apt-get install shutter
3. Search shutter to see installed success
Second, set Shutter shortcut keys 1. Open System Settings
2. Open Keyboard Keyboard Settings
3. Add a successful status
4. Click the right Dis
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.