This article from http://blog.csdn.net/hardVB/archive/2007/10/18/1831810.aspx
/Yuy2 video conversion RGB format by hard 2007-10-17// Http://www.fourcc.org/fccyvrgb.phpInline void yuy2_rgb (byte * yuy2buff, byte * rgbbuff, DWORD dwsize){
// B = 1.164 (Y-16) + 2.018 (u-128)// G = 1.164 (Y-16)-0.813 (V-128)-0.391 (u-128)// R = 1.164 (Y-16) + 1.596 (V-
// Convert the yuy2 video to the RGB format by hard 2007-10-17// Http://www.fourcc.org/fccyvrgb.phpInline void yuy2_rgb (byte * yuy2buff, byte * rgbbuff, DWORD dwsize){
// B = 1.164 (Y-16) + 2.018 (u-128)// G = 1.164 (Y-16)-0.813 (V-128)-0.391 (u-128)// R = 1.164 (Y-16) + 1.596 (V-128)Byte * orgrgbbuff = rgbbuff;For (d
Why is the char type in the following range?
In C, the signed char type ranges from-128 ~ 127. This is also written in every textbook, but no book (including teachers) will give you why-128 ~ 127. It seems that this problem is easy and easy, so you don't have to think about why. Isn't there a formula with an Integer Range:-2 ^ (n-1 )~ 2 ^ (n-1)-1 (n is the number of digits occupied by the memory of the inte
opened.SQL>13 ).Modify the startup script dbstart and disable the script dbshut.First modify vim/etc/oratabChange N from the last line to YThen modify the content of $ ORACLE_HOME/bin/dbstart.Modify ORACLE_HOME_LISTNER = $1:ORACLE_HOME_LISTNER = $ ORACLE_HOMESu-oracleDbstart # Start oracleThis is only the basic service for starting oracle databases and listening.Services without three web pages are equivalent to the above two operations: sqlplus and lsnrtl start.Dbshut stops oracleUse the dbshu
OpenSSL symmetric encryption algorithm commands
1. symmetric encryption algorithm Overview
The openssl Encryption Algorithm Library provides a wide range of symmetric encryption algorithms. We can use the symmetric encryption algorithm commands provided by openssl, or call the APIS provided by openssl.
Openssl symmetric encryption algorithm commands are mainly used to encrypt and decrypt data. openssl provides instructions for all supported symmetric encryption algorithms, the names of these app
View existing VG # lsvgrootvgoravgdatavg view the usage status of each VG # lsvgoravg focuses on several values PPSIZE: 512 megabyte (s)
View existing VG # lsvg rootvg oravg datavg view the status of each VG # lsvg oravg focuses on several values pp size: 512 megabyte (s)
View existing VG
# Lsvg
Rootvg
Oravg
Datavg
View the usage status of each VG
# Lsvg oravg
Focus on several values
Pp size: 512 megabyte (s) Note: SIZE of each PP
FREE PPs: 147 (75264 megabytes) Note: number of available
[Unicode] character encoding table information, unicode character encoding
The UTF-8 is somewhat similar to the Haffman encoding, which encodes Unicode:
0x00-0x7F characters, expressed in a single byte;
The character 0x80-0x7FF is expressed in two bytes;
0x800-0xFFFF characters are represented in 3 bytes;
① The unicode range of a number is 0x0030 ~ Zero x 0039
② The unicode range of English letters is:
Uppercase letters A to Z (Latin letters): 0x0041 ~ 0x005A
Lowercase letters a to z (Latin lett
, transaction serial number, etc., summed up all can be summed up only about 100 data. Then we can first simple design ISO8583, define 128 fields, all can be considered similar to the above mentioned "account number" and other financial data types, in one order, corresponding to 128 fields in one field. Each data type occupies a fixed length, and this order and length are defined beforehand. This is simple,
Big talk command-ss, big talk-ss
Big talk command-ss
Ss is short for Socket Statistics. As the name suggests, the ss command can be used to obtain socket statistics, which can display content similar to netstat.
Advantages:
(1) display more detailed information about TCP and connection status, (2) faster and more efficient than netstat.
1 format
Format: ss [option]… [Filter]
Netstat traverses proc to obtain socket information. ss uses netlink to communicate with the kernel tcp_diag module to obt
beginners "vulgar solution" one time.
Or to say the replacement principle: (do not say no AH!) )
PS Help in the following points on the replacement map. Note: [] is added by the author. What foreigners translate is hard to understand.
1. The "permutation" filter uses the color values in the displacement chart [in fact, by the specified channel's grayscale value] to change the selection [pixel movement]-0 is the maximum negative change value, 255 is the largest
Positive change value, gray value
confused mind. So I summed them up and I hope to be helpful to everyone.The code is as follows:
public class Main {public static void main (string[] args) {int a = 128; Integer B = 127; Integer C = 127; Integer d = 128; Integer e = 128; Integer f = new Integer ("128"); Integer
code, 2 Magnetic 3 magnetic data, transaction serial number, etc., summed up all can be summed up only about 100 data. Then we can first simple design ISO8583, define 128 fields, all can be considered similar to the above mentioned "account number" and other financial data types, in one order, corresponding to 128 fields in one field. Each data type occupies a fixed length, and this order and length are de
, etc., all the data that can be summarized up to about 100 pieces of data. First, we can simply design iso8583, define 128 fields, and sort all financial data types that can be considered, such as the "Account" mentioned above, in one order, corresponds to one of the 128 fields. Each data type occupies a fixed length, which is defined in advance. This is simple. When you want to send a packet, connect the
Access by browser
Http://192.168.16.1/phpinfo.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
You will see!
A fat man with two cigarettes in his mouth!:-)
The secret is the image data defined in the Logos.h with an array.
unsigned char php_egg_logo[] = {
71, 73, 70, 56, 57, 97, 130, 0, 67, 0,
213, 255, 0, 0, 0, 0, 152, 138, 142, 104,
95, 105, 89, 86, 93, 160, 151, 174, 102, 101,
136, 164, 163, 205, 174, 173, 213, 102, 102, 153,
99, 99, 149, 102, 102, 152, 96, 96, 143, 90,
90, 134, 82, 82, 115, 87,
The meaning of ctrl+c,ctrl+d,ctrl+z in Linux
Both Ctrl + C and ctrl+z are breaking orders, but their role is different.
CTRL + C is the execution of a forced interrupt program.
The ctrl+z is to break the task, but the task is not over, he is still in the process he just maintains a pending state.
[root@localhost ~]# ping baidu.com ping baidu.com (220.181.57.217) bytes of data. Bytes from 220.181.57.217:icmp_seq=1 ttl=128 time=58.7 ms-bytes from 220.18
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.