freeSWITCH之多平台测试通信

2018-04-13
阅读 4 分钟
4.7k
freeSWITCH搭建在以Windows平台作为通信服务器。fs_cli为服务器上测试客户端。X-lite客户端程序搭建在Windows和Mac平台。zoiper配置客户端搭建在Android平台,测试不同平台上的通信。

freeSWITCH之安装

2018-04-13
阅读 3 分钟
6.7k
freeSWITCH 安装 官网教程 [链接] Windows download page [链接] 64位 [链接] 32位 [链接] install 下载对应版本 默认安装目录 C:\Program Files\FreeSWITCH run 以管理员权限运行freeswitch命令 FreeSwitchConsole.exe 客户端 fs_cli.exe 显示安装成功 Mac install brew install freeswitch run 服务端 brew services s...

PHP面向对象

2018-03-26
阅读 6 分钟
2.7k
面向对象 面向对象基础 面向对象 什么是类? 具有相同属性(特征)和方法(行为)的一系列个体的集合,类是一个抽象的概念。 什么是对象? 从类中,拿到的具有具体属性值的个体,称为对象。对象是一个具体的个体。eg:人类;张三 类和对象的关系? 类是对象的抽象化!对象是类的具体化! 类仅仅表明这类对象有哪些属性,...

MySQL Optimization 优化原理

2018-03-25
阅读 14 分钟
5.7k
MySQL Optimization 优化原理 MySQL逻辑架构 如果能在头脑中构建一幅MySQL各组件之间如何协同工作的架构图,有助于深入理解MySQL服务器。下图展示了MySQL的逻辑架构图。 MySQL逻辑架构,来自:高性能MySQL MySQL逻辑架构整体分为三层,最上层为客户端层,并非MySQL所独有,诸如:连接处理、授权认证、安全等功能均在这一...

理解常量指针与指针常量?

2018-03-25
阅读 4 分钟
4k
constant *前面的是对被指向对象的修饰,*后面的是对指针本身的修饰 常量指针(被指向的对象是常量) 定义: 又叫常指针,可以理解为常量的指针,指向的是个常量 关键点: 常量指针指向的对象不能通过这个指针来修改,可是仍然可以通过原来的声明修改; 常量指针可以被赋值为变量的地址,之所以叫常量指针,是限制了通过这...

PHP面试整理

2018-03-16
阅读 8 分钟
3.8k
Keep-Alive:使客户端到服务器端的连接持续有效,当出现对服务器的后继请求时,Keep-Alive功能避免了建立或者重新建立连接。Web服务器,基本上都支持HTTP Keep-Alive。

c/c++面试整理

2018-03-15
阅读 10 分钟
2.7k
答:引用就是某个目标变量的别名(alias),对应用的操作与对变量直接操作效果完全相同。申明一个引用的时候,切记要对其进行初始化。引用声明完毕后,相当于目标变量名有两个名称,即该目标原名称和引用名,不能再把该引用名作为其他变量名的别名。声明一个引用,不是新定义了一个变量,它只表示该引用名是目标变量名的一...

PHP之string之str_word_count()函数使用

2018-03-08
阅读 3 分钟
1.5k
(PHP 4 >= 4.3.0, PHP 5, PHP 7) str_word_count — Return information about words used in a string str_word_count — 返回字符串中单词的使用情况

PHP之string之wordwrap()函数使用

2018-03-08
阅读 2 分钟
1.5k
(PHP 4 >= 4.0.2, PHP 5, PHP 7) wordwrap — Wraps a string to a given number of characters wordwrap — 打断字符串为指定数量的字串

Linux常用命令之tail

2018-03-08
阅读 3 分钟
1.8k
Print the last 10 lines of each FILE to standard output. With morethan one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.Mandatory arguments to long options are mandatory for short options too.

Linux常用命令之tr

2018-03-08
阅读 3 分钟
1.5k
tr - translate or delete characters 可以对来自标准输入的字符进行替换、压缩和删除。它可以将一组字符变成另一组字符,经常用来编写优美的单行命令,作用很强大。

PHP之string之str_split()函数使用

2018-03-07
阅读 3 分钟
2.2k
(PHP 5, PHP 7) str_split — Convert a string to an array str_split — 将字符串转换为数组

PHP之string之str_shuffle()函数使用

2018-03-07
阅读 3 分钟
1.8k
(PHP 4 >= 4.3.0, PHP 5, PHP 7) str_shuffle — Randomly shuffles a string str_shuffle — 随机打乱一个字符串

Redis之hiredis API (String)

2018-03-07
阅读 6 分钟
6.2k
String {代码...} 连接redis服务 {代码...} SET key value {代码...} GET key {代码...} APPEND key value {代码...} INCR key {代码...} DECR key {代码...} DECRBY key decrement {代码...} INCRBY key increment {代码...} ETRANGE key start end {代码...} GETSET key value {代码...} MSET key value [key value .....

PHP之string之str_repeat()函数使用

2018-03-06
阅读 2 分钟
1.9k
(PHP 4, PHP 5, PHP 7) str_repeat — Repeat a string str_repeat — 重复一个字符串

PHP之string之str_pad()函数使用

2018-03-06
阅读 5 分钟
1.9k
(PHP 4 >= 4.0.1, PHP 5, PHP 7) str_pad — Pad a string to a certain length with another string str_pad — 使用另一个字符串填充字符串为指定长度

C 扩展库 - mysql API CRUD

2018-03-06
阅读 8 分钟
1.8k
CRUD table {代码...} code {代码...}

Linux 常用命令

2018-03-06
阅读 3 分钟
2k
Linux Commond {代码...} See [链接] All rights reserved

C 扩展库 - mysql API

2018-03-05
阅读 12 分钟
1.7k
This structure represents handler for one database connection. It is used for almost all MySQL functions. Do not try to make a copy of a MYSQL structure. There is no guarantee that such a copy will be usable.

PHP之string之explode()函数使用

2018-03-04
阅读 5 分钟
1.9k
(PHP 4, PHP 5, PHP 7) explode — Split a string by string explode — 使用一个字符串分割另一个字符串

PHP之string之implode()函数使用

2018-03-04
阅读 3 分钟
2k
(PHP 4, PHP 5, PHP 7) implode — Join array elements with a string implode — 将一个一维数组的值转化为字符串

PHP之string之ord()函数使用

2018-03-03
阅读 2 分钟
1.9k
(PHP 4, PHP 5, PHP 7) ord — Return ASCII value of character ord — 返回字符的 ASCII 码值

PHP之string之chr()函数使用

2018-03-02
阅读 3 分钟
2.3k
Values outside the valid range (0..255) will be bitwise and'ed with 255, which is equivalent to the following algorithm:

C 标准库 - string.h之memmove使用

2018-02-11
阅读 3 分钟
1.6k
Move block of memory Copies the values of num bytes from the location pointed by source to the memory block pointed by destination. Copying takes place as if an intermediate buffer were used, allowing the destination and source to overlap. The underlying type of the objects pointed by both the so...

C 标准库 - string.h之memcpy使用

2018-02-10
阅读 3 分钟
2.2k
Copy block of memory Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination. The underlying type of the objects pointed to by both the source and destination pointers are irrelevant for this function; The result is a binary cop...

C 标准库 - string.h之memcmp使用

2018-02-09
阅读 3 分钟
2.6k
Compare two blocks of memory. Compares the first num bytes of the block of memory pointed by ptr1 to the first num bytes pointed by ptr2, returning zero if they all match or a value different from zero representing which is greater if they do not. Notice that, unlike strcmp, the function does not...

C 标准库 - string.h之memchr使用

2018-02-08
阅读 2 分钟
1.7k
Locate character in block of memory,Searches within the first num bytes of the block of memory pointed by ptr for the first occurrence of ch (interpreted as an unsigned char), and returns a pointer to it. 在参数 ptr 所指向的字符串的前 count 个字节中搜索第一次出现字符 ch(一个无符号字符)的位置。 ...

C 标准库 - string.h之strlen使用

2018-02-07
阅读 2 分钟
1.9k
Returns the length of the C string str. The length of a C string is determined by the terminating null-character: A C string is as long as the number of characters between the beginning of the string and the terminating null character (without including the terminating null character itself). 返...

C 标准库 - string.h之strpbrk使用

2018-02-06
阅读 3 分钟
1.2k
Locate characters in string,Returns a pointer to the first occurrence in str1 of any of the characters that are part of str2, or a null pointer if there are no matches. The search does not include the terminating null-characters of either strings, but ends there. 在 dest 所指向的空终止字节串中,...

C 标准库 - string.h之strrchr使用

2018-02-06
阅读 3 分钟
1.6k
Locate last occurrence of character in string, Returns a pointer to the last occurrence of character in the C string str. The terminating null-character is considered part of the C string. Therefore, it can also be located to retrieve a pointer to the end of a string. 寻找 ch (如同用 (char)ch 转...