• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






wenloveforever

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 下一页

2013年4月13日

centos googlechrome root 启动问题
摘要: 第一次用linux,安装chrome的时候,装上以后发现不能以root来启动chrome,大概提示如下Google Chrome can not be run as root,需要加上--usr-data-dir选项,肯定是有个地方配置chrome了,网上找了下,解决方法如下#vi /opt/google/chrome/google-chromeand Find lineexec -a “$0″ “$HERE/chrome” “$@”and change it to followingexec -a “$0″ “$HERE/chrome” “$@” –user-data-dir( Two Hy 阅读全文
posted @ 2013-04-13 15:46 skyrun 阅读(307) 评论(0) 推荐(0)
 
cenos6.4 yum配置以及GNOME安装
摘要: 修改/etc/yum.repos.d/CentOS-Base.repo,将baseurl打开,加上以上的地址http://mirrors.163.com/centos/ 163-网易http://mirrors.ta139.com/centos/ 中国移动通信(山东移动)http://centos.ustc.edu.cn/centos/ 中国科学技术大学http://mirror.neu.edu.cn/centos/ 东北大学配置为如下#released updates[updates]name=CentOS-$releasever - Updatesmirrorlist=http://mir 阅读全文
posted @ 2013-04-13 15:07 skyrun 阅读(280) 评论(0) 推荐(0)
 

2013年4月12日

u盘安装centos6 x86-64
摘要: 1.格式化U盘FAT322.将CentOS-6.2-x86_64-minimal.iso的文件夹images和isolinux完整的复制到U盘根目录.3.将isolinux文件夹改名为syslinux,进入此目录,将 isolinux.bin改名为syslinux.bin isolinux.cfg改名为syslinux.cfg4.复制CentOS-6.2-x86_64-minimal.iso到U盘5.解压syslinux-4.05.zip,进入以下路径\syslinux-4.05\win32\ 输入命令syslinux.exe-d/syslinux-ma H:(U盘盘符)6.启动电脑安装... 阅读全文
posted @ 2013-04-12 00:51 skyrun 阅读(451) 评论(0) 推荐(0)
 

2013年4月11日

FreeBSD port安装 *** [checksum] Error code 1
摘要: 再安装port时,有时候会出现*** [checksum] Error code 1错误,出现这种错误的原因是有可能之前你安装时装了一半被打断了,需要重新clean掉再install.我是在安装git的时候装依赖软件p5-Socket时出的问题,解决如下whereis p5-Socketcd xxxmake distclean接着回到/usr/pors/devel/git重新安装 阅读全文
posted @ 2013-04-11 21:27 skyrun 阅读(277) 评论(0) 推荐(0)
 

2013年4月10日

fix dd for windows error writing file : 5拒绝访问
摘要: dd --list dd if=yourimg.img of=\\?\Device\Harddisk1\Partitions0 bs=10240 --filter=removable --progress, 其中,具体的\\?\Device\Harddisk1\Partitions0可以从dd --list的数据取得一般情况下,输入以上命令就开始拷贝了,但是过程中可能会出现error writing file : 5拒绝访问,碰到这个问题首先重新拔插U盘,一般可以解决,如果还是不行的话按以下步骤解决(http://www.mydellmini.com/forum/dell-mini-9-os. 阅读全文
posted @ 2013-04-10 22:01 skyrun 阅读(916) 评论(0) 推荐(0)
 

2013年3月18日

字符串拷贝
摘要: or ecx, 0FFFFFFFFh ;exc设最大xor eax, eax ;eax清0mov edi, edx ;edx 源字符串地址repne scasb ; 循环一直到0not ecx ;exc就是字符串长度了sub edi, ecx ;edi恢复指向字符串首地址mov eax, ecxshr ecx, 2 ;长度/4,提高效率,拷贝用movsdmov esi, edimov edi, offset ?g_szAppFolderPath@@3PADA ; char * g_szAppFolderPathrep movsd ;用... 阅读全文
posted @ 2013-03-18 11:51 skyrun 阅读(203) 评论(0) 推荐(0)
 

2013年2月19日

vs 2008设置vs6.0字体
摘要: 看习惯了vs 6.0的字体,突然看vs 2008感觉超不习惯,可以通过设置字体改回vs 6.0风格tools /Option / Environment / Fonts and Colors Font: Fixedsys, size:16 阅读全文
posted @ 2013-02-19 14:53 skyrun 阅读(247) 评论(0) 推荐(0)
 

2013年2月14日

android-x86-4.0-RC2 安装配置
摘要: 我的处理器是AMD Athlon(tm) II X4 641 Quad-Core,本来是想安装android-x86-4.2-20121225.iso这个镜像,但在我的系统上virtualbox安装这个镜像,无法进入图形系统,只能放弃。 接着尝试Android-x86-4.0-RC2系列,都试了一遍,发现只有android-x86-4.0-RC2-thinkpad和android-x86-4.0-RC2-eeepc可以安装并可以进入图形系统,但是android-x86-4.0-RC2-thinkpad有个问题,就是进入系统后alt+F1无法进入命令模式,最终,选择了android-x8... 阅读全文
posted @ 2013-02-14 00:25 skyrun 阅读(2837) 评论(0) 推荐(0)
 

2013年2月8日

android 无法读取lua文件问题2
摘要: 第一次把游戏移到android上,出了can not get file data of SceneManager.lua这个问题,我看了,是在相应目录下,琢磨了很久发现assert里这个文件是以sceneManager.lua小写的s打头的,修改后OK 阅读全文
posted @ 2013-02-08 16:28 skyrun 阅读(477) 评论(0) 推荐(0)
 
cocos-2dx lua 路径问题的一个bug (网络整理)
摘要: 在android手机里运行时,弹出提示Get data from file(aaa/xxx.lua)failed!,我xxx.lua是放在aaa目录下,结果无法获取数据。std::string filename(luaL_checkstring(L, 1)); std::string strsrc("."); std::string strdst("/"); std::string::size_type pos = 0; std::string::size_type srclen = strsrc.size(); std::... 阅读全文
posted @ 2013-02-08 16:20 skyrun 阅读(323) 评论(0) 推荐(0)
 
上一页 1 2 3 下一页