上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
  2012年4月10日
摘要: Q:filesystem: /etc/mtab exists in filesystemA:pacman -S filesystem --force[via]Q:initscrpts: /etc/profile.d/locale.sh exists in filesystemA:mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.old[via]Q:After updating my system, Can't into graphical mode on Virtual BoxA:reinstall VBox Guest Addi 阅读全文
posted @ 2012-04-10 21:21 eshizhan 阅读(473) 评论(0) 推荐(0) 编辑
摘要: You need merge four rootfs*.gz in one.cat rootfs4.gz rootfs3.gz rootfs2.gz rootfs1.gz > rootfs.gzand copy new rootfsgz to /boot, then create new iso file.grub.cfgmenuentry "SliTaz-4.0-RC3.iso" { set isofile="/boot/iso/slitaz-4.0-rc3.iso" loopback loop $isofile linux (loop)/boo 阅读全文
posted @ 2012-04-10 17:55 eshizhan 阅读(1308) 评论(0) 推荐(0) 编辑
摘要: 莫名其妙出现找不到文件的错误。经查,发现:OpenFileDialog,SaveFileDialog在选择文件后,会切换当前程序目录的路径(System.Environment.CurrentDirectory)。两个控件有个RestoreDirectory属性,=true,解决。而且这玩意儿还跟操... 阅读全文
posted @ 2012-04-10 16:42 eshizhan 阅读(1098) 评论(0) 推荐(0) 编辑
  2012年4月7日
摘要: 很少给大家推荐软件,工具之类的,这次还是开个先河吧强大万能的PDF工具 Pdftk - The PDF Toolkit各种你想到以及你没想到的功能跨平台,GPL,CLIhttp://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/官网介绍:If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple tool for d 阅读全文
posted @ 2012-04-07 01:05 eshizhan 阅读(3354) 评论(0) 推荐(0) 编辑
  2012年4月6日
摘要: 1. CASE WHEN 表达式有两种形式--简单Case函数 CASE sex WHEN '1' THEN '男' WHEN '2' THEN '女' ELSE '其他' END --Case搜索函数 CASEWHEN sex = '1' THEN '男' WHEN sex = '2' THEN '女' ELSE '其他' END 2. CASE WHEN 在语句中不同位置的用法2.1 SELECT CASE WHEN 用法SELEC 阅读全文
posted @ 2012-04-06 23:27 eshizhan 阅读(723448) 评论(14) 推荐(40) 编辑
摘要: Q:when grub2 boot archLinux 2011.08.19 iso file, the error is:waiting 30 seconds for device /dev/disk/by-label/XXXXerror: boot device didn't show up after 30 secondsA:mkdir /cdrommount -t vfat /dev/sda1 /cdrommodprobe looplosetup /dev/loop6 /cdrom/boot/iso/archlinux-2011.08.19-core-i686.isoln -s 阅读全文
posted @ 2012-04-06 15:54 eshizhan 阅读(4991) 评论(0) 推荐(0) 编辑
摘要: 命令其实很简单:VBoxManage internalcommands createrawvmdk -filename "%USERPROFILE%"\.VirtualBox\usb.vmdk -rawdisk \\.\PhysicalDriveX其中X为磁盘管理器中U盘的编号,如果你的机器为单硬盘,那么硬盘编号为0,U盘就为1啦,千万不要弄错。启动VBOX,选择模拟好的那块硬盘启动就OK啦。Win7/Vista,一定要在管理员下的干活。有兴趣的童鞋可以看看生成后的VMDK文件:# Disk DescriptorFileversion=1CID=ff985184parent 阅读全文
posted @ 2012-04-06 14:27 eshizhan 阅读(5551) 评论(0) 推荐(1) 编辑
  2012年3月8日
摘要: ListView hide column by easy way用简单方式隐藏ListView中的列lvData.Columns[5].Width=0;and并且lvData.ColumnWidthChanging += new ColumnWidthChangingEventHandler(lvMatchupList_ColumnWidthChanging);void lvMatchupList_ColumnWidthChanging(object sender, ColumnWidthChangingEventArgs e){ if (e.ColumnIndex == 5 &&am 阅读全文
posted @ 2012-03-08 12:16 eshizhan 阅读(636) 评论(0) 推荐(0) 编辑
  2012年1月3日
摘要: 临床症状为硬盘出现当当的金属碰撞声,这是磁头归位的声音,一个bug。其实不能算bug只是硬盘电源管理中一种节能功能,磁头归位后是为了硬盘停转。Mac OS X解决办法,安装hdpam,http://mckinlay.net.nz/hdapmLinux也会出现该问题,解决办法是将hdparm -B 254 /dev/sdX加入开机脚本rc.local,将/dev/sdX设为你要更改的硬盘。P.S.我的硬盘是日立的,官方提供一个工具ftool,可以将配置写入硬盘CMOS,这样就更彻底了。 阅读全文
posted @ 2012-01-03 03:24 eshizhan 阅读(1160) 评论(0) 推荐(0) 编辑
  2012年1月2日
摘要: Q:openbox: error while loading shared libraries: libxcb-aux.so.0: cannot open shared object file: No such file or directoryA:Because xcb-util-0.3.6 update to xcb-util-0.3.8 ChangeLog: commit 118a3c86b3d3b2fab20f365e4a5703e40ad2e1b1 Author: Arnaud Fontaine <arnau@debian.org> Date: Mon Aug 9 15: 阅读全文
posted @ 2012-01-02 11:07 eshizhan 阅读(962) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页