- 博客(16)
- 资源 (8)
- 收藏
- 关注
原创 Ubuntu下PHP开发环境搭建指南
基于Ubuntu的PHP开发环境搭建基础设施依赖包安装Nginx安装PostgreSQL数据库安装PHP安装Redis安装步骤SSDB安装步骤Phalcon框架安装Php添加Redis扩展Php添加SSDB扩展swoole安装Nginx相关配置常见问题以及解决依赖包以及配置文件下载地址结语基于Ubuntu的PHP开发环境搭建1.基础设施 操作系统版本:Ubuntu
2017-12-27 23:47:05
2106
原创 WebBench
WebBench平台下载安装使用WebBench1.平台 Mac OS X2.下载 *下载之前请保证系统已经安装brew | wget工具# -- 1.安装相关依赖$: brew install ctags# -- 2.下载webbench包$: wget http://blog.zyan.cc/soft/linux/webbench/webbench-1.5.tar.gz#
2017-12-21 20:54:54
393
原创 git学习
Git学习笔记git的初始化开始使用gitgit的基本操作命令git图形化工具后续git学习手册Git学习笔记1.git的初始化 操作系统:ubuntu14.04 LTS# -- 1.下载git$: sudo apt-get install git# -- 2.设置姓名和邮箱(需要先在github注册)$: git config --global user.name "yours
2017-12-08 11:38:41
227
原创 开发环境安装指南
Php7+Nginx+PostgeSql+Redis+Ssdb1.环境 1.操作系统:macOS Sierra 10.12.6 2.xcode (可在Mac App Store 自行下载) 3.所有的软件源码放在~/src目录 4.所有的开发项目源码放在~/projects目录2.安装前的准备安装之前请确认是否安装”xcode”,可解决安装软件时的大部分依赖问题。安装ma
2017-11-08 11:40:30
372
原创 C++基础_05
const 修饰类的成员函数#include <iostream>using namespace std;class Test{public : void getNum() const { /* void getNum() const <==> void getNum(const Test * const this); 1)con
2016-10-08 17:13:33
258
原创 C++基础_04
new and delete /*new 和 delete 的基本使用*/#include <iostream>#include <stdio.h>#include <stdlib.h>#include <ctype.h>#include <string.h>#include <string>using namespace std;int main(int argc, char *
2016-10-02 21:02:10
219
原创 C++基础_03
构造函数和析构函数执行的顺序#include <iostream>#include <stdlib.h>#include <string.h>#include <ctype.h>using namespace std;class Test{public: Test(char * name){ memset(this->name,0,sizeof(this->na
2016-09-28 16:50:28
313
原创 C++基础_02
* inline 内联函数>1.内联函数必须和函数体写在一起,否则编译器直接忽略内联请求inline int getMax(int a,int b);//Errorinline int getMax(int a,int b){ return a> b ? a : b; }>2.内联函数没有普通函数调用时的额外开销(出栈,跳转,返回...)>3.内联函数是一种特殊的函数,具有普通函数的
2016-09-28 16:43:39
500
原创 C++基础_01
* C++ "Hello World!"#include <iostream> //C++的标准输入输出文件using namespace std; //命名空间int main (){ cout << "Hello World"<<"!"<<endl; //cout标准输出 endl<==> "\n" return 0;}* 一个简单的C++类#include <iostre
2016-09-26 09:45:23
765
原创 C语言面向对象
C语言通过函数指针实现[封装,继承,多态]#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>//封装typedef struct Teacher{ char * name; //函数指针(传递参数是为了让该函数只能被Teacher调用) void (*print)(st
2016-09-23 13:34:27
292
原创 C基础学习笔记02
数组类型int A[5] = {0};int B[3][5] ={0};C语言规定[一维数组]: 数组名(A)是数组首元素的地址 根据数组名取地址(&A),取出的则是整个数组的地址C语言规定[二维/多维数组]: int * pArr[5] -> B[x][5]; 数组名(B)是指向数组第0行的所有元素地址 B+1 -> 是指向数组第一行的所有元素的地址
2016-09-20 09:31:34
764
原创 C基础学习笔记01
LinuxC基础学习(知识点)_01野指针的产生与解决#include <stdio.h>#include <stdlib.h>int main(){ char * p = NULL;//初始化p = NULL,即p->0x0000 p = (char *)malloc(100);//为p分配内存,p->0x1234 strcpy(p,"hello world");
2016-08-25 15:49:35
453
原创 C语言链表小案例
Linux下C基础学习笔记野指针的产生与解决#include <stdio.h>#include <stdlib.h>int main(){ char * p = NULL;//初始化p = NULL,即p->0x0000 p = (char *)malloc(100);//为p分配内存,p->0x1234 strcpy(p,"hello world"); /
2016-08-25 10:42:29
598
原创 MySQL 5.7.13-winx64.zip安装笔记
PC环境:windows8.1 64位 1.去MySQL官网下载MySQLhttp://dev.mysql.com/downloads/mysql/抱歉,英文太水了,使用了Google翻译.点击[MySQL社区下载]链接【1.png】 【2.png】 2.解压ZIP的安装包1.我的解压目录为[D:\APP\mysql\mysql-5.7.13-winx64]2.解压完毕之后
2016-07-11 17:08:50
3129
原创 Android小记
Android四大组件之Activity在应用程序中,一个Activity就是一个屏幕。 Activity上面能显示一些控件,同时可以监听并处理用户事件并做出响应。Activity之家通过Intent进行通信。android中的每一个Activity必须在AndroidMainfest.xml文件中进行注册,否则系统将不识别。Activity新建 //AndroidMainfest.
2016-06-21 21:59:06
312
原创 Android Studio 使用AIDL
Android Studio 使用[AIDL]调用远程服务之前在Android Studio使用aidl的时候碰到过很多坑,折腾了很长时间。希望和我一样的小白在使用aidl的时候能少走一些弯路,大神请绕道.…这是一个不太友善的方式(笨办法)。每一个步骤都有相应的截图,如果有什么不明白的,可以看截图…1.新建一个Android项目。然后如图所示新建AIDL文件,系统会自动生成[AIDL]文件
2016-04-01 23:43:47
889
JAVA坦克大战
2015-05-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人