Befroe Beginning.
之前定了暑假的plan ,关于Linux的书籍现在在看的是ALP和Linux高级程序设计(杨宗德)第三版.在计划中的是Linux高级环境编程.
现在开始关于Linux程序设计的第一篇学习笔记.
本来打算把名字写成教程,不过觉得自己完全是新手在自学,还是写学习笔记比较负责和适合.
希望可以一起学习进步.
引入
首先我们假设这样一个场景.我们有一...
分类:
系统相关 时间:
2014-07-23 20:57:25
阅读次数:
340
第一次从外部文件导入HelloWorld工程到workspace目录中,成功。删除后,再次从外部导入workspace目录提示Some projects cannot be imported because they already exist in the workspaceeclipse中删除H...
分类:
系统相关 时间:
2014-07-23 20:40:15
阅读次数:
252
1.在https://github.com ? new repository 2.在eclipse中new project ?比如:Test项目 3.右击"Test"->Team->share project... ?->select a repository type:Git 勾选 ?Use or create repository in parent fo...
分类:
系统相关 时间:
2014-07-23 17:39:31
阅读次数:
306
由于centos7 自带的php版本为5.4的版本,代码不支持,降级到5.3 一路坎坷。只能以笔记记录下来。 下载,编译。报错如下: ?configure?error?:?Cannot?find?libmysqlclient?under?/usr. 首先从mysql.com 上...
分类:
Web程序 时间:
2014-07-23 17:37:11
阅读次数:
358
#include #include using namespace std;//点(x,y)可见当且仅当x,y互质,那么我仅仅只要知道int euler(int x){// 就是公式 int i, res=x,tmp; tmp= (int)sqrt(x * 1.0) + 1; fo...
分类:
其他好文 时间:
2014-07-23 16:26:41
阅读次数:
218
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-07-23 16:19:41
阅读次数:
234
1 错误场景
今天要把项目部署到外网的时候,出现了这样的问题, 我把两个项目放到自己本机的tomcat下, 进行代码调试, 运行都没有问题的, 一旦把我需要调用接口的项目B放到其他的服务器上, 就会报错, 无法通过Ajax调用springMVC的接口, 这是什么原因呢?
当我使用json ajax post请求传递数据的时候在web端出错:XMLHttpRequest cannot load...
分类:
Web程序 时间:
2014-07-23 13:33:56
阅读次数:
356
运行sqlplus时遇到cannotrestoresegmentprotafterreloc:Permissiondenied,网上说可以吧SELinux关掉,但是我看了下我的系统已经关掉了,具体是编辑/etc/sysconfig/selinux,把SELINUX=enforcing一行注释掉,然后新加入一行:SELINUX=disabled,但是我这样做了以后,问题依旧,..
分类:
数据库 时间:
2014-07-23 00:27:08
阅读次数:
302
运行sqlplus时遇到cannotrestoresegmentprotafterreloc:Permissiondenied,网上说可以吧SELinux关掉,但是我看了下我的系统已经关掉了,具体是编辑/etc/sysconfig/selinux,把SELINUX=enforcing一行注释掉,然后新加入一行:SELINUX=disabled,但是我这样做了以后,问题依旧,..
分类:
数据库 时间:
2014-07-23 00:26:48
阅读次数:
234
今天更新Android4.4W 版本SDK,更新完后顺便更新ADT,结果更新后报错,导致SDK不能用.出现类似以下的报错:
Android Native Development Tools is already installed, so an update will be performed instead.
Cannot complete the install because one...
分类:
移动开发 时间:
2014-07-23 00:07:17
阅读次数:
348