Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Active mode



  FTP active mode and passive mode

1. What's active mode and passive mode a. FTP has two ports to control: Port 20 is for data transfer Port 21 is for control or establish TCP connection b. The process of active connection Note: C represents Client and S represents Server S opens port 20 and 21 C connects to port 21 of S with a random port, this port can be between 1024 and 65536, it sends port+x to server at the same time to specify C(X)->S(21) When S receives the command, it will sends back ACK, S(21)->C(X) S will set ...

   FTP,Active mode,Passive mode     2013-04-01 07:01:25

  Install and setup vsftpd on AWS server

When developing websites, frequently we may need to upload source codes to the remote server. To ease of thew work, many website developers set up FTPs to upload the files. This post is a tutorial on how to install and setup vsftpd on a server. vsftpd is a very popular FTP service on Unix-like systems. Open command terminal, then install the vftpd by issuing command yum install vsftpd or sudo apt-get install vsftpd After installing the vsftpd, the config file needs to be updated based on the ope...

   FTP,vsftpd,AWS,Passive,Active     2015-02-02 02:20:27

  How to enable developer mode on Huawei

As a developer, there might be some need to fake locations when developing and testing mobile apps for different countries. Lots of the times some fake GPS apps will be used and they will ask to enable mock location access on the device before allowing you to fake GPS. To achieve this, we first need to have developer mode enabled. In this post, we will show how the developer mode can be enabled and disabled on Huawei devices. Go to Settings, find About phone and open it. You should be able to se...

   ANDROID,HUAWEI,DEVELOPER MODE,DEVELOPER OPTIONS     2020-08-15 21:22:29

  Crazy! 618 million daily active users on Facebook

Facebook released 2012 Q4 financial report. Facebook total revenue in the fourth quarter of 2012 is $1.585 billion, an increase of 40% over the same period last year, about 23% of the total revenue are from mobile advertising. Net profit is $64 million, down 79% over the same period last year.Now Facebook monthly active users reach 10.6 million, daily active users reach 618 million. The daily active users from mobile are more than the daily active users from desktop side the first time.In the e...

   Facebook,Financial report,Mobile     2013-01-31 03:13:06

  Facebook's new milestone : 1 billion active users per month

Social network giant Facebook's monthly active users reach a new milestone -- 1 billion, this means 1 out serven people on earth is using it. Facebook CEO Mark Zuckerberg announced this news in an open letter. He wrote : This morning, there are more than one billion people using Facebook actively each month.If you're reading this: thank you for giving me and my little team the honor of serving you.Helping a billion people connect is amazing, humbling and by far the thing I am most proud of in m...

   Facebook, Active user,Milestone     2012-10-05 05:02:32

  Strict mode in JavaScript

1. Introduction In addition to normal mode, ECMAScript 5 includes the other mode : strict mode. It means it will make JavaScript codes execute in a more strict environment. The purposes to have strict mode are: Remove some unreasonable and parts of JavaScript syntax. Reduce some of the quirk behaviors. Remove some insecure parts of code execution. Make the execution environment more secure Improve interpret efficiency and increase the execution speed Build foundation for future JavaScript versi...

   JavaScript, Strict mode. Introduction     2013-01-17 05:00:26

  Tencent released Q1 earning report of 2013

Tencent has released the earnings report of Q1 in 2013, the total revenue is $2.1611 billion which increases  11.5% compared to last quarter and increases 40.4% compared to the same time last year. The  profit is 649.4 million US dollars which increases 17.3% compared to last quarter and increases 37.4% compared last year.The three main profit generators are:1. Value-added services revenue of 1.7014 billion US dollars with an increase of 13.6% compared to last quarter and an increase o...

   Tencent,Earnings report,WeChat     2013-05-15 07:02:45

  How to Set Spring profile With Example

Technology:  Spring Profiles provides a way to isolates the parts of application configuration, it will make available only in certain environments. It is mainly useful it wants to load spring beans based on environment configuration, for example if the operating system is windows we can load some specific spring beans, if it is other than load different spring beans. One more scenario where spring profiles widely used, like for QA environment we will use some database which is hosted local...

   JAVA,PROFILE,SPRING,DEVELOPMENT,APPLICATIONS     2018-07-20 01:17:23

  GoLang to build smaller executable file

Normally the executable file built with go is a bit large, it is always desired that a smaller executable file should be generated though. In this post, a couple of ways to reduce the size of the executable will be introduced. The end effect is that the executable file size would be much less than the normal generated one. The file which is built normally has below size. Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 12/14...

   GOLANG,EXECUTABLE     2019-12-13 20:10:45

  Google releases Analytics real time API

According to Tech Crunch, Google finally released its Analytics real time API. Although this feature was launched two years ago, there was no convenient way for webmasters to adjust the data so that they can be viewed properly. Now developers can use the API to get what they want and utilize these data to do what they want to. Developers need to apply for using the API now. Once you get access to this API, then you can search your own real time data and utilize these data as you want to. For ex...

   Google Analytics,API,Real time     2013-08-02 00:05:56