: Ssh-f-N-D 127.0.0.1: 1080 [email protected] In this way, the SOCKS5 proxy is created.Use SOCKS5 proxyExample: Chrome: Chrome needs to use the command to specify the SOCKS5 proxy:Google-chrome -- proxy-server = "socks: // 127.0.0.1: 1080" Firefox: In preferences => advanced => Network-> connection-> Settings, check Manual proxy configuration and clear other items. Set SOCKS Host to 127.0.0.1
price notebook, the mainstream configuration is like this, i5-4210u processor (some will be equipped with 4210 M/H), GT840M graphics card, about G mechanical hard drive, 4G memory, 1376*768 screen (some will be 1920*1080 ).
General 4500 this price notebook, the mainstream configuration is like this, i5-4210u processor (some will be equipped with 4210 M/H), GT840M graphics card, about G mechanical hard drive, 4G memory, 1376*768 screen (some will be 1
the different PPI display size is not the same, the larger the PPI, the smaller the picture appears.3. DPIDPI (dots per inch) and PPI are two more confusing concepts, DPI represents the number of physical display points per inch of the screen, the physical display point is the smallest display unit of the screen. The false output corresponds to the display point one by one of the screen, i.e. a pixel is displayed on a dot, then the DPI value equals the PPI. But if you output a 300ppi image in f
This post is specially used to record the test program I wrote in VB, and the test code
Version 5.00 begin VB. form form1 caption = "form1" clientheight = 6945 clientleft = 60 clienttop = 345 clientwidth = 9045 linktopic = "form1" scaleheight = 6945 scalewidth = 9045 startupposition = 3' window default begin VB. timer timer1 interval = 100 left = 3960 Top = 3240 end begin VB. commandbutton command1 caption = "command1" Height = 495 left = 1080 tabind
Method1. Performselector method Method2. Nstimer Timer Method3. The sleepMethod4 of the nsthread thread. GCD
Public deferred execution methods
- (void)delayMethod{ NSLog(@"delayMethodEnd"); }
Method1:performselector[self performSelector:@selector(delayMethod) withObject:nil/*可传任意类型参数*/ afterDelay:2.0];Note: This method is a non-blocking execution, and no method is found to cancel execution.
Program Run End2015-08-31 10:56:59.361 CJDelayMethod[
the width setting, the smaller the 1px of the CSSSo, in CSS, 1px refers to a small square in the viewport, and the width of the viewport can be set4. What are CSS pixels?is a small square in the viewport.5. What are physical pixels?That's what we often call n*m resolution, that is, there are n*m pixels on the screen, which is the smallest granularity the screen can display.6. Pixel density?DPI or PPI, the number of physical pixels per actual inch on the screen7. How do I calculate the conversio
I. Basic CONCEPT-DP: Wirelessly relative Size-dpi: (dot per inch) pixels per inch How much-px: Pixel point ii. detailed description 1, px and dpi-px:The usual "1920x1080" is just the number of pixels, which is 1920pxx1080px, which represents 1920 pixels on the phone's height and 1080 pixels in width.-DPI:To determine the display of the phone screen is good or bad, but also to consider the width of the screen (inches), that is, DPI is the number of pix
= _mm_and_si128 (result, _mm_cmpge_epu8 (_mm_subs_epu8 (Max, Min), _mm_set1_epi8 (Ten)));//Im_max (Im_max (red, green), blue)-Im_min (Im_min (red, green), blue) >=result = _mm_or_si128 (result, _mm_set1_epi8 ( -)); _mm_storeu_si128 (__m128i*) (LINEPD +0), Result);The speed test is calculated 100 times in a loop:
Environment
1920*1080 skin color About half of the figure
1920*1080 F
Lao Ma Initial study of the concept of the viewport, read a lot of articles, it seems that a lot of information, fresh someone can put this thing to speak very thorough. The old horse then from the beginner can understand the angle to explain the viewport and adaptation of the program.1. About Screen 1.1 screen sizeDevice screen size refers to the diagonal length of the screen. For example: IPHONE6/7 is 4.7 inches, iphone6/7p is 5.5 inches.1 inch =2.54 cm3.5in =3.5*2.54cm =8.89cm4.0 in= 4.0*2.54
/keepalived/keepalived.conf configuration file2, the definition of glob section, add admin mailbox, etc.3, configure the Vrrp_instance, configure a master one from, define a virtual IP-based instance4, modify the main haproxy configuration file, define the global configuration, configuration log, start user, PID file, etc.5, modify the main haproxy configuration file, define the default configuration, configure common basic options and time-out, and so on.6, define a statistical page, and can be
The computer recently installed the Ubuntu12.04 system, after the boot found that the system only 1024x768 resolution, my Computer independent graphics card is the NVIDIA GTX 750, the display is supported 1920*1080. Online search for the system to increase the resolution of the method does not work, back on the NVIDIA official website to download the Linux driver, install, and finally fix! The resolution of the 1920*
, remaining download time).2. Download with Wget-o and save it with a different file namewget defaults to the last character that matches the "/" and the file name for dynamically linked downloads is usually incorrect.Error: The following example downloads a file and saves it by name download.php?id=1080
wget https://www.centos.bz/download?id=1
Even if the downloaded file is in the zip format, it still takes the download.php?id=
)The red Part I marked, VIRTUAL1 device name, will be used later, maximum 8192 x 8192 maximum support resolution;1, in the terminal input: CVT 1920 1080, shown as follows:[email protected]:/home/xxx/desktop# CVT 1920 1080# 1920x1080 59.96 Hz (CVT 2.07m9) hsync:67.16 kHz; pclk:173.00 MHzModeline "1920x1080_60.00" 173.00 1920x1080 2048 2248 2576 1083 1088 1120-hsync +vsyncThe red part is used in the--newmode
, don't ask me what Yum is?2. Installing the SSThere's nothing to say.sudo pip install ShadowsocksSecond, configure the server and connectThere are two ways to enter configuration information, one is directly configured by the input command, and the other is to save the configuration information to a file and then read1.Direct Input CommandRunTerminal input Sslocal-help can see the Help file, After reading this should understand how to use it? The command is as followsSslocal-s 1.1.1.1-p 8388
(width:640, height:480)
However, unlike structs, class instances are not able to use the member initialization method and are specifically described in the initialization chapter.
2. struct and enum types are numeric types
A numeric type is to say that when it is assigned to a constant or variable, or as a parameter to a function, a new value is copied completely, rather than simply changing the reference object.
Actually read here you've seen the numeric types in the previous chapt
parent directory
Wget-s–spider URL does not download only display procedure
4. Use instance:
Example 1: Download a single file using wgetCommand:
wget Http://www.minjieren.com/wordpress-3.1-zh_CN.zipDescription
The following example downloads a file from the network and saves it in the current directory, and a progress bar is displayed during the download, including (Percent download complete, bytes already downloaded, current download speed, remaining download time).
Example 2: Use Wget-o
, cost-effective is what I pursue! )Memory:8g (felt very happy at that time, never used so fast machine, although the company is said to be 8G, but built up a lot of things, 16G do not feel fast, now memory so expensive, I really regret not to buy 16G)graphic:gtx650 256MB (I remember it was about 600 dollars, but also the first time to buy such an expensive video card, but also bought Black Kat it)Mainboard:asus B85m-f (I remember at that time seems to be about 800 pieces, asus things is expensi
I. About layout adaptation1. Do not use absolute layout2, try to use match_parent instead of fill_parent.3, can use the heavy place as far as possible to use the weight (android:layout_weight)4, if it is a solid color background, try to use the shape of android to Customize.5. If you need to fit at a specific resolution, you can create a new layout-hxw.xml folder on the res directory . For example, to fit the 1080*1800 screen (Meizu MX3 with this reso
I. About layout 1, do not use absolute Layout 2, try to use match_parent instead of fill_parent. 3, can use the weight of the place as far as possible the use of weight (android:layout_weight) 4, if it is a solid color background, as far as possible using the shape of Android custom. 5. If you need to fit at a specific resolution, you can create a new Layout-hxw.xml folder on the Res directory. For example, to fit the 1080*1800 screen (Meizu MX3 with
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.