- 博客(19)
- 资源 (139)
- 收藏
- 关注
转载 转载网上的 Apache2 + Gitweb+CGI配置
Apache2 + Gitweb+CGI配置 1>安装Apache2 sudo apt-get install apache2 修改apache2的配置文件 ubatem@ubuntu:~$ cd /etc/apache2ubatem@ubuntu:/etc/apache2$ lsapache2.conf conf-enabled mods-avai
2016-10-29 23:17:39 1878
原创 ubuntu 16.04 apache2 git gitweb
#安装软件sudo apt-get install git git-coresudo apt-get install apache2sudo apt-get install Git-core openssh-server openssl-client Python-setuptools#启用相应模块sudo a2enmod dav_fs#sudo a2enmod dav
2016-10-29 23:03:10 4018 3
转载 Linux下如何修改用户默认目录
Linux下默认的用户目录一般为/home/xxx(root用户除外),有些时候我们可能需要修改这个目录,下面我就给大家分享2种修改的方法1、切换到root用户,直接修改/etc/passwd文件,找到你的用户名你一行,如下图所示修改路径,然后保存即可。2、切换到root用户,使用usermod命令,例如usermod -d /tmp test (test为你的用户名),使用该命令请确保该
2016-10-29 21:54:22 23664
原创 VS 2013 c++ 头文件引用
一、VS配置属性中,VC++目录 与 c/c++ 的包含目录有什么不同VC++目录 与 链接器 中的附加库目录有什么不同? “VC++目录” 与“ c/c++ ”都有包含目录,这两个包含目录有什么区别?“VC++目录” 与 “链接器” 中都有“库目录”又有什么区别?1 VC++目录一般包括 头文件目录、库文件目录、引用目录等,所引用的是公共库得目录比如SDK、system32下的平台组
2016-10-29 21:33:07 8853
原创 windows 环境变量 命令行操作 符号链接
一、如果基于会话地操作环境变量:查看当前会话的环境变量:set变量即可;set 命令:set Path=%Path%C:\python27;二、永久设置环境变量setx程序,当windows系统版本高于或者等于windows 7,就可以使用这个命令1、备份环境变量set >> D:\environment.txt2、修改环境变量变量setx Path="stirin
2016-10-28 22:40:45 3110 4
原创 ubuntu 16.04 安装php7
apt-get install php7.0apt-get install libapache2-mod-php7.0apt-get install php7.0-gd测试:打开"终端窗口",输入gedit /var/www/info.php"保存,文件创建成功。在火狐浏览器中输入"127.0.0.1\info.php"-->出现了php的版本信息页面,说明php安装配置成功。
2016-10-25 13:59:52 7866
转载 通过 itms:services://? 在线安装ipa ,跨过app-store
1.需要一个html文件,引导下载用户在线安装ipa 一键安装掌上综调iPhone版 一键安装掌上综调iPhone版2. 上文中的d.plist文件内容如下,其实它是一个XML文件,有关plist文件,请自行查阅google items assets
2016-10-25 13:51:53 1432 1
原创 js 判断移动端类型
微信浏览器:function isWeiXin(){ var ua = window.navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i) == 'micromessenger'){ return true; }else{ return false;
2016-10-25 13:44:52 449 1
原创 ubuntu 16.04 php7 开启错误显示
Modify the string " display_errors = Off" to "display_errors = On";then restart the apache2 service:/etc/init.d/apache2 restart
2016-10-25 13:42:02 2453
原创 widows scp file to linux
If U have installed Git for windows on your windows PC, U can use the scp comman. But the importance is that U should cd to the file location of the source file ,then U can use scp command,like this
2016-10-24 22:57:06 653
原创 EF System.NotSupportedException
System.NotSupportedException: The specified type member 'Date' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.【LINQ to Entities
2016-10-24 17:09:30 1933
原创 SQL 条件表达式
即在SQL语句中加入if-else的逻辑。在Oracle中有两种用法:CASE 表达式:SQL99的语法,比较繁琐DECODE 函数:Oracle自己的语法,比较简洁Demo:公司开始涨薪水了,President涨1000,Manager涨800,其他员工涨500。方式一:Case表达式:方式二:decode函数
2016-10-14 10:39:46 3307
转载 MySQL 中文乱码
MySQL会出现中文乱码的原因不外乎下列几点:1.server本身设定问题,例如还停留在latin12.table的语系设定问题(包含character与collation)3.客户端程式(例如php)的连线语系设定问题强烈建议使用utf8!!!!utf8可以兼容世界上所有字符!!!!进入mysql,输入status命令查看状态如下:设定数据库服务器的默认字符集
2016-10-12 00:29:24 283
原创 mySQL放在linux服务器 .NET程序放在windows服务器引起的错误
mySQL放在linux服务器 .NET程序使用的EF连接mySQL,放在windows服务器引起的错误:{MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'heyou.Orders' doesn't exist at MySql.这是由于Linux系统对于大小写敏感而windows对于名称对象大小不区分对待而造成的,因
2016-10-11 23:14:32 375
原创 ubuntu mysql 阿里云 远程
环境:阿里云ubuntu14.04、mySQL主要内容:1、阿里云ubuntu14.04镜像安装SSH、Desktop、VNC Server2、mySQL安装、开启远程访问拿到阿里云ubuntu14.04服务器后,以如下步骤安装远程桌面:sudo apt-get install xrdpsudo apt-get install vnc4serversudo apt-get i
2016-10-11 22:32:12 723 1
原创 mysql 语句收集
create table Goods1(ID integer unsigned not null AUTO_INCREMENT,CustomerID int not null,primary key (ID)) auto_increment=1;
2016-10-11 12:45:14 323
转载 windows 10 ubuntu 16.04 time Conflicts
Multiple Boot Systems Time ConflictsOperating systems store and retrieve the time in the hardware clock located on your motherboard so that it can keep track of the time even when the system doe
2016-10-11 11:19:56 464
原创 linq sum source为空的两种处理方式
total = query.Select(l => l.Price).DefaultIfEmpty(0m).Sum(); // Exceptions: // System.ArgumentNullException: // source is null. total = (from tb in query select tb.Price).Any() ? (fro
2016-10-11 10:45:28 2417
adt-bundle-linux-x86_64-20140624
2018-02-10
Booting multiple ISOs with GRUB2 from one single USB stick
2018-01-10
aspx jqgrid 分页、excel导出最佳实践
2017-12-11
全国行政区划地址数据库
2017-10-28
adt-bundle-windows-x86_64-20140702 第二卷
2017-07-17
vmware mac 第三卷 共三卷
2017-04-07
vmware mac 第一卷
2017-04-07
Android - NDK - Pro Android C++ with the NDK
2017-04-06
Android.NDK.Beginners.Guide.2nd.Edition
2017-04-06
cocos2d-x-3.14.1.zip 第二卷 第一卷请在我的下载里找
2017-04-05
cocos2d-x-3.14.1.zip 第一卷 第二卷请在我的下载里找
2017-04-05
android-ndk-r10e-darwin-x86_64 mac 第二个卷 共两卷
2017-04-05
android-ndk-r10e-darwin-x86_64 第一个卷
2017-04-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人