OS x core frequency switching method

What is a Turbo

Application response time processor complex,Can run automatically improveClockedTo speed,Easily to higher performance requirementsMulti-tasking;When task switching,If the memory and hard drive only during the main work,Processor immediately in a power saving state。This will ensure the efficient use of energy,But also make the program speed boost。By intelligently accelerateprocessorspeed,Thereby maximize performance based on application requirements,Upgrade to run high-load tasksClockedUp to 20% to get the best performance that is effective to enhance maximum performance to meet the application requirements of high workload:by[……]

Click link to continue reading...

Iptabls details

Currently on the market more common 3、4Layer firewalls,Called the network layer firewalls,There Layer 7 firewall,In fact, the gateway proxy layer

forTCP/IPofSeven-layer modelSpeaking,The third layer is the network layer,Three-layer firewall in this layer of the source and destination addresses for testing。But for the seven firewalls,Whether you source port or destination port,What is the source or destination address,We will have to check all your stuff。so,For the design principles in terms of,Seven more secure firewall,But this has brought lower efficiency。So the market generally firewall program,They are[……]

Click link to continue reading...

Delete the OS x login item in the preferences do not see the startup item

Sometimes,We add a startup item but can not find in the "Preferences" in the "Users & Groups" and "Login Items" in the,This is for the future to remove these startup items increased when a lot of trouble - like those pkg package can not be uninstalled like。On how to uninstall the OS X package pkg,I have written two articles,You can easily comeHereandHereLook。

All right,With regard to the startup items,In addition to viewing preferences among foreign,You can also go to the following directory View

/Library/LaunchDaemo[……]

Click link to continue reading...

Mac OS X resolved socket.error: [Errno 48] Address already in use Port occupation problem

Foreword

Using the GAE engine in OS x to science onlinegoagentorwallproxy,May occur during the boot process the following error then the service does not start successfully。

Reason

Actually it is because you have to start the same or similar services for the port,usually,Start with Python on the Mac directly,Causes an exit is not complete,You can't GUI by clicking on the "exit" button to stop,Backstage[……]

Click link to continue reading...

How to set up FTP server on OS x

Foreword

In the new version of OS X,,No FTP server,Preferences among,Share file-sharing inside retaining only Apple's own AFP, and is compatible with Microsoft samba,This allows sometimes need to transfer files to and some of the equipment becomes tricky。

Recommended Software

The software is quite good,full functioning,From the user to the virtual directory permissions to everything,You can definitely cope with the vast majority of demand for FTP equipment,Such as ZTE EPON C200, etc.,Huawei Cisco God horse。

Software interface as shown in the Preamble - This is a free[……]

Click link to continue reading...

unix / linux programming study notes- Open file descriptors and function

To talk about unix / linux for file operations in these functions,These functions for linux basically meet our requirements in any document,
First talk about the open function
In linux you want to operate on the file must first open the file and then the corresponding processing,Why should we do it? That is because the process and not directly manipulate files between,To process the file first to use the system call between processes and documents connected to a resume operations,This connection becomes a file descriptor,Called as a process leading to the kernel by the kernel[……]

Click link to continue reading...

Update Flash cause Safari to crash Remedy

The new updated version of the flash in some cases require a lot of courage,For example, yesterday,After routing update Flash version of Safari has led to the collapse can not afford。

If you're not careful and I encountered the same problem,Then you can followHereThe official way to manually remove the plug,If you bother to look into the points,Now I write that

The brief resolution process

Use uninstall to uninstall Flash

If your system is 10.6-10.9 version,Then you can try to download the official uninstaller to uninstall Flash。

[Downlin[……]

Click link to continue reading...

ZTE c200 listen to the multicast configuration process summary records

[……]

Click link to continue reading...

Little understanding of Unix System Structure

UnixLittle understanding of architecture

It can be defined as a software operating system in the strict sense,The software controls the computer hardware resources,Provider operating environment for personal understanding of hardware and software wealthy。We call such software kernel (kernel),It is relatively small,Located in the center of the environment

Kernel system call interface is called (system calls) Shared libraries built on top of the system call interface,Applications can either use the shared library,You can also use the system call。

ShellIt is a special application[……]

Click link to continue reading...

Access、Trunk and Hybrid and this VLAN

Three modes switch port

On the switch,There are three commonly used configuration mode,Respectively Access (Access),Trunk (trunk or trunk) as well as Hybrid (Hybrid),These three interfaces operating mode determines the corresponding interface for processing the attitude data packets on the switch。Nowadays,Routing to elaborate on these three models。

label

Since the switch has divided the virtual LAN VLAN function is,Therefore, it is allowed to switch into the Ethernet frame data marked with a tag,VLAN is used to identify different data flows,To be forwarded。This is what we often[……]

Click link to continue reading...

main (int ac, char * of[])和 main(int argc,char *argv[]) Of some of my understanding

Observance of the whereabouts of the 100th article,,,Although the content is somewhat illegible

Yesterday, see route on the main (int argc,char *argv[]) The article feels written brief said such a function

Of course first contact functions of this function is not the main (int argc,char *argv[]) But the main (int AC, char * of[])

They use the same。

Each c language program must have a function called main of[……]

Click link to continue reading...

USB interface to Know

Universal Serial Bus

USB's full name is this,,A blink of an eye,USB 1.0 standard came from the 3.0,of course,Little blue box 3.0 also does not fully into our lives,As it is now around us phone、flat、SLR,Almost still in use USB2.0 standard,Occasionally,People around him or will not tell exactly which line corresponds to which device,What can mix,Which can not。

[warning]
The line can not be mixed is not inserted into the device,Because different shapes,Can insert the,a few[……]

Click link to continue reading...

c language command-line arguments argc,argv

Start

int main(int argc, const char * argv[])

In the C language learning time,We are writing a program,Then view the results in a terminal run,Enter a number, and so on ...... do not know if you have not tried it allows you to write programs that can accept parameters like system commands it? For example,:ls -al like this。

If you wish to do so,Like above, as to declare it!

among them:

argv: Pointer Pointer

argc: Integer

For chestnuts

Assumptions program[……]

Click link to continue reading...

Commonly used strings in c-number function

atof(To convert a string into a floating-point number)

Related Functions atoi,atoll,strtod,strtol,strtoul
Header Files #include <stdlib.h>
Defined Functions double atof(const char * nptr);

Function Description atof()It scans the string parameter nptr,Skip over white space characters,Until a few metWord or the sign began to do the conversion,The encounter ended when non-numeric or string(‘/0’)[……]

Click link to continue reading...

What is SELinux

Profile

SELinux is "Security-Enhanced Linux"Abbreviation,Linux is a US National Security Agency, "NSA = The National Security Agency" and SCC (Secure Computing Corporation) developedExtended mandatory access control security module

Development reasons

Because a lot of trade secrets stored on the company's business platform server,personal information,It is directly related to the personal data of personal privacy[……]

Click link to continue reading...

Rebuild the OS x was deleted Recovery HD

DESCRIPTION

On OS X,There is always a lot of friends because of various reasons,For example, the dual system,For example, change the SSD, etc., etc.,The system will reluctantly comes with Recovery HD comes with this system rescue mode deleted - I do not think that anyone is simply to 650M of disk space and delete it, right =。= Short,While the system can use cmd + r networking at boot time to download,But at the crucial moment,Still very very inconvenient,Not to mention the U disk to do a system disk so the ......,Today, we teach a method of routing,From the system disk OS X[……]

Click link to continue reading...