2014-01-15

邮件写博客测试

邮件写博客测试

--
Sent from my Ubuntu Linux Thunderbird

2014-01-02

Fwd: 【有图有真相】用错了吗?用对了……青岛大学医学院附属医院 东院 商神杖 之 歪打正着





美国也是很山寨的国家 所以将 商神杖(http://zh.wikipedia.org/wiki/%E5%95%86%E7%A5%9E%E6%9D%96)与 阿斯克勒庇俄斯之杖(http://zh.wikipedia.org/wiki/%E9%98%BF%E6%96%AF%E5%85%8B%E5%8B%92%E5%BA%87%E4%BF%84%E6%96%AF%E4%B9%8B%E6%9D%96)混用

喜欢跟风的青医附院东院 也跟着用错 

不过 细想 倒是用的很对 你懂的……


参考其他作者其他医院相关博文(真实性自己把握)


医生开豪车,住别墅、哎!大家花几分钟看看吧。可怕[惊讶][惊讶][惊讶]. 揭露一个医院的内幕... 太恐怖,有爱的人请读完……. 看了之后心情异常沉重!. 人常常不是死于疾病,而是死于无知http://16295.juke.so/w33575



2012-10-23

Re: Update dell studio 1558 bios with winpe

清理风扇  硬件 用户手册 技术文档





On Sat, Oct 22, 2011 at 3:54 AM, Andrew Goal <androidgao@gmail.com> wrote:
Are you going to update your bios?
Have you purged windows from your computer ? Are you enjoying linux? 
Yes? Go on...

1.Build your winpe from other one's windows 7

Booting Windows PE from a USB Drive Walkthrough

Άρθρο από Lefteris Karafilis Mon, 01/11/2010 - 13:15

Windows preinstallation environment (windows PE) is a bootable tool that provides a minimal set of operating system features for installation, troubleshooting, and recovery. In this post I am going to explain how you can setup a windows PE environment to boot from a USB drive in 5 simple steps:

  1. Download and install windows AIK from Microsoft
  2. Prepare WinPE image
  3. Add drivers to your WinPE image
  4. Setup USB drive to be able to boot
  5. Copy the files to USB drive

Download and install windows AIK from Microsoft

Windows AIK is a set of tools and documentation that support the configuration and deployment of Windows® operating systems. You can download WAIK from Microsoft download center http://www.microsoft.com/download (search term WAIK) and install it to your computer for free.

After WAIK installation a set of folders will be created by default under \program files\Windows AIK that contain the appropriate files and tools to create and manage WinPE images, unattended installation files, a volume activation management tool, SDKs and some sample files.

Prepare WinPE image

After installing WAIK you are ready to prepare your WinPE image. In order to do so you have to go to \program files\Windows AIK\Tools\PETools (default location) and copy your candidate WinPE image files to a temporary location. To do that you issue the command copype.cmd <x86|amd64|ia64> <temporary location> for example copype.cmd x86 c:\temp\WinPEx86 (x86 is the 32bit architecture).

As a final step you need to copy and rename the base image file c:\temp\WinPEx86\winpe.wim (based on the above example) to the ISO\Sources subdirectory of this temporary folder as boot.wim. To do this, issue the command copy c:\temp\WinPEx86\winpe.wim c:\temp\WinPEx86\ISO\sources\boot.wim.

Add drivers to your WinPE image (optional)

In case you need to preload any drivers to your WinPE image or add optional components you have to follow some additional steps outlined below. In case you don't you skip to the next section.

First step is to create a directory, for example c:\temp\WinPEx86\Drivers, and download your drivers in this location. Note that the drivers must be fully extracted with their .inf files exposed in order to be added to the WinPE image.

Second step is to mount the base WinPE image copied previously. To do that execute "c:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /mount-Wim /WimFile:c:\temp\WinPEx86\ISO\Sources\boot.wim /index:1 /MountDir:c:\temp\WinPEx86\Mount.

Third step is to add the downloaded drivers to the Image by executing "c:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /image:c:\temp\WinPEx86\Mount /Add-Driver /Driver:c:\temp\WinPEx86\drivers /recurse /ForceUnsigned. By including the /recurse switch you tell to the command to recurse the drivers' subfolders for valid .inf drivers and by including the /ForceUnsigned you tell the command to ignore driver signing requirements.

Fourth step is to unmount and commit the WinPE image by executing "c:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /unmount-wim /MountDir:c:\temp\WinPEx86\Mount /commit.

Note, that you can add additional files and folders to your custom WinPE image simply by copying your files to the c:\temp\WinPEx86\Mount. These files will be loaded to the RAM drive after WinPE boot (c:\). If you don't want these files to be loaded to the RAM Drive (consumes RAM) and be available to the USB drive instead, just copy them to a structure under c:\temp\WinPEx86\ISO folder.

Setup USB drive to be able to boot

In this step you need to use the diskpart utility (windows Vista and above O/S) to create a bootable partition to your usb drive as outlined below.

Use Diskpart to identify the disk ID of your usb drive:

  diskpart
list disk

diskpart

After you have identified your usb disk ID (based on size), you can wipe your partition information, create a new one and mark it as active.

  select disk 1
clean
create partition primary
select partition 1
active
format quick fs=ntfs
assign
exit

Copy the files to USB drive

Final step is to copy the files included under your ISO subfolder to your USB drive: xcopy c:\temp\WinPEx86\ISO\*.* f:\ /E (where f:\ is your USB drive).

Note that you may need to alter your PC's BIOS settings in order to be able to boot from USB drives and of course it needs to be USB boot capable.

Final Thoughts

In case you want to load drivers after WinPE boot you can use the drvload.exe command (drvload.exe inf_path).

To manipulate winPE environment you need to use the wpeutil <command> <argument> command. Most usable commands of wpeutil: EnableFirewall, DisableFirewall, Reboot, ShutDown, Initializenetwork.



2.Download latest bios from dell, unzip the exe file get files:
 1558_A12.exe  Version.txt  Win_1194.exe
3.Use Wine to extract the WinPhlash and bios.wph file from your ubuntu linux

because winpe from 1 have only cmd interface ,so can't run the .exe from dell, so you need a cmd version bois update tools.
 wine 1558_A12.exe
ignore any errors , but go to :
/home/andrew/.wine/drive_c/users/andrew/Temp
copy them to your usb disk


4.Reboot from usb disk, update your bios 
go to C:\ find Winphlash.exe
run: 
Winphlash.exe /BU BIOS1.WPH
or 
Winphlash64.exe /BU BIOS1.WPH


2011-10-25

golden dict partener

问题:
金典中添加的在线辞典(方法见以前的blog) 无法播放在线辞典网页的真人发音 又没有办法在浏览器中打开 甚至连个地址都复制不出来

解决:
自己写个网页 骗取金典生成的在线辞典查词地址 然后复制 粘贴 到浏览器打开 (ubuntu下用鼠标轮下键更加快捷)


<script>
var ods = {
ciba:"http://www.iciba.com/%GDWORD%/",
youdao:"http://dict.youdao.com/search?q=%GDWORD%",
dictcn:"http://dict.cn/%GDWORD%"
};
var goods = location.hash.split(/[#@]/);
document.write(ods[goods[2]].replace('%GDWORD%',goods[1]));
</script>


以上代码存成文件,例如 goldenDictPartener.htm 用web服务器发布

用以下地址和ciba在线辞典配合使用 就可以得到ciba的查词地址了 选中 鼠标轮下键在google chrome里面新建tab页即可
http://127.0.0.1/goldenDictPartener.htm#%GDWORD%@ciba

2011-10-22

Update dell studio 1558 bios with winpe

Are you going to update your bios?
Have you purged windows from your computer ? Are you enjoying linux? 
Yes? Go on...

1.Build your winpe from other one's windows 7

Booting Windows PE from a USB Drive Walkthrough

Άρθρο από Lefteris Karafilis Mon, 01/11/2010 - 13:15

Windows preinstallation environment (windows PE) is a bootable tool that provides a minimal set of operating system features for installation, troubleshooting, and recovery. In this post I am going to explain how you can setup a windows PE environment to boot from a USB drive in 5 simple steps:

  1. Download and install windows AIK from Microsoft
  2. Prepare WinPE image
  3. Add drivers to your WinPE image
  4. Setup USB drive to be able to boot
  5. Copy the files to USB drive

Download and install windows AIK from Microsoft

Windows AIK is a set of tools and documentation that support the configuration and deployment of Windows® operating systems. You can download WAIK from Microsoft download center http://www.microsoft.com/download (search term WAIK) and install it to your computer for free.

After WAIK installation a set of folders will be created by default under \program files\Windows AIK that contain the appropriate files and tools to create and manage WinPE images, unattended installation files, a volume activation management tool, SDKs and some sample files.

Prepare WinPE image

After installing WAIK you are ready to prepare your WinPE image. In order to do so you have to go to \program files\Windows AIK\Tools\PETools (default location) and copy your candidate WinPE image files to a temporary location. To do that you issue the command copype.cmd <x86|amd64|ia64> <temporary location> for example copype.cmd x86 c:\temp\WinPEx86 (x86 is the 32bit architecture).

As a final step you need to copy and rename the base image file c:\temp\WinPEx86\winpe.wim (based on the above example) to the ISO\Sources subdirectory of this temporary folder as boot.wim. To do this, issue the command copy c:\temp\WinPEx86\winpe.wim c:\temp\WinPEx86\ISO\sources\boot.wim.

Add drivers to your WinPE image (optional)

In case you need to preload any drivers to your WinPE image or add optional components you have to follow some additional steps outlined below. In case you don't you skip to the next section.

First step is to create a directory, for example c:\temp\WinPEx86\Drivers, and download your drivers in this location. Note that the drivers must be fully extracted with their .inf files exposed in order to be added to the WinPE image.

Second step is to mount the base WinPE image copied previously. To do that execute "c:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /mount-Wim /WimFile:c:\temp\WinPEx86\ISO\Sources\boot.wim /index:1 /MountDir:c:\temp\WinPEx86\Mount.

Third step is to add the downloaded drivers to the Image by executing "c:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /image:c:\temp\WinPEx86\Mount /Add-Driver /Driver:c:\temp\WinPEx86\drivers /recurse /ForceUnsigned. By including the /recurse switch you tell to the command to recurse the drivers' subfolders for valid .inf drivers and by including the /ForceUnsigned you tell the command to ignore driver signing requirements.

Fourth step is to unmount and commit the WinPE image by executing "c:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /unmount-wim /MountDir:c:\temp\WinPEx86\Mount /commit.

Note, that you can add additional files and folders to your custom WinPE image simply by copying your files to the c:\temp\WinPEx86\Mount. These files will be loaded to the RAM drive after WinPE boot (c:\). If you don't want these files to be loaded to the RAM Drive (consumes RAM) and be available to the USB drive instead, just copy them to a structure under c:\temp\WinPEx86\ISO folder.

Setup USB drive to be able to boot

In this step you need to use the diskpart utility (windows Vista and above O/S) to create a bootable partition to your usb drive as outlined below.

Use Diskpart to identify the disk ID of your usb drive:

 diskpart
list disk

diskpart

After you have identified your usb disk ID (based on size), you can wipe your partition information, create a new one and mark it as active.

 select disk 1
clean
create partition primary
select partition 1
active
format quick fs=ntfs
assign
exit

Copy the files to USB drive

Final step is to copy the files included under your ISO subfolder to your USB drive: xcopy c:\temp\WinPEx86\ISO\*.* f:\ /E (where f:\ is your USB drive).

Note that you may need to alter your PC's BIOS settings in order to be able to boot from USB drives and of course it needs to be USB boot capable.

Final Thoughts

In case you want to load drivers after WinPE boot you can use the drvload.exe command (drvload.exe inf_path).

To manipulate winPE environment you need to use the wpeutil <command> <argument> command. Most usable commands of wpeutil: EnableFirewall, DisableFirewall, Reboot, ShutDown, Initializenetwork.



2.Download latest bios from dell, unzip the exe file get files:
 1558_A12.exe  Version.txt  Win_1194.exe
3.Use Wine to extract the WinPhlash and bios.wph file from your ubuntu linux

because winpe from 1 have only cmd interface ,so can't run the .exe from dell, so you need a cmd version bois update tools.
 wine 1558_A12.exe
ignore any errors , but go to :
/home/andrew/.wine/drive_c/users/andrew/Temp
copy them to your usb disk


4.Reboot from usb disk, update your bios 
go to C:\ find Winphlash.exe
run: 
Winphlash.exe /BU BIOS1.WPH
or 
Winphlash64.exe /BU BIOS1.WPH

2011-10-07

史上最快的vnc(比xrdp快 慢的还可以忍受)

史上最快的vnc(比xrdp快 慢的还可以忍受)


在服务器端:
$ sudo x11vnc -nowf -noxfixes -noxdamage -auth /var/lib/gdm/:0.Xauth -display :0

在本地命令行执行命令登录服务器:
$ sudo apt-get install xtightvncviewer
$ vncviewer -encodings "tight" -compresslevel 9 -nocursorshape 10.8.0.22:1

这将把你带到物理控制台会话,你可以登录,用完请注销


已知的问题:
* 分辨率无法提高(800*600)美其名曰 快

2011-08-01

推荐 Fossil


中长期考虑 我比较看好和希望尝试 分布式的源码管理 和缺陷跟踪系统
并且我物色到一款合适的开源产品 Fossil , 似乎Fossil 能搞定我们需要的一切
Fossil is:
Simple, high-reliability, distributed software configuration management

sudo apt-get install fossil

http://www.fossil-scm.org/index.html/doc/trunk/www/concepts.wiki

  • The fossil program is a self-contained stand-alone executable. Just put it somewhere on your PATH to install it.
  • Use the clone or new commands to create a new repository.
  • Use the open command to create a new source tree.
  • Use the add and rm or delete commands to add and remove files from the local source tree.
  • Use the commit command to create a new check-in.
  • Use the update command to merge in changes from others.
  • The push and pull commands can be used to share changes manually, but these things happen automatically in the default autosync mode.
http://en.wikipedia.org/wiki/Fossil_(software)

sqllite项目 现在在用FOSSIL

FOSSIL目前还没有eclipese 插件

2011-07-29

Bing GoldenDict URL

李承鹏:这是一个奇迹

李承鹏:这是一个奇迹

大约十几天前,就是京沪高铁特别喜欢跟雷公玩偏瘫的时候,我看过一个冷静的技术帖:

这绝不是一般的雷击。一般雷击会造成瞬时短路,过几秒钟即恢复,而此次导致接触网长时间断电,很可能是遭遇恶意软件入侵。这种蠕虫病毒与去年11月份侵入伊朗离心机操控系统相类似。这其实是一次机密行动,由美国和日本联手发起。两国计算机专家制造出这种病毒后,今年1月17日曾在日本新干线电网控制系统做过模拟测试,那次测试造成日本新干线多列停驶,影响八万多人出行,最长延时达2小时。报称,英国和德国在知情或不知情的情况下为制造此种病毒提供了帮助。。。。。。

我承认,这是一个奇迹。

我还认为这个帖是所有帖的总帖,所有的事故原因因之都迎刃而解。所以当另一个奇迹也就是甬温线的前车却追了后车的尾时,我并不关心停电与制动,无线通讯第二套备用,闭塞式区间管理失灵,安全锤砸不烂车窗……这些技术问题永无答案。CIA、特高课、占士邦和蠕虫都不远万里赶来时,技术问题是最狗屁的问题。为了说明这个,我还可以举例子,前段时间日本高管说中国人剽窃各国技术,讨论是否要以安全为代价提速,铁道部顾问、院士王梦恕并不屑跟他们探讨技术问题,而像外交部发言人一样开朗地笑笑:他们吃醋了。

这是一个奇迹……有醋以来。中国的铁路,从一百年辛亥的那一根,到成昆线到动车直到京沪高铁,从来就不是技术问题,而是政治问题,只是以前事关龙体,现在事关国体。如果你能在这个高度看问题,就很好理解雷公雷母总成为被告,铁道部永不公布遇难者名单,匆忙宣布无生命迹象开始掩埋车体时,一个三岁女孩忽然很不懂事地冒出来,逼使王勇平发了生平最火的一句“这是一个奇迹”……这些奇迹了。可不要以为只有铁道部是奇迹,也不要以为现在才忽然奇迹。一个迅雷不及掩耳盗铃之势发展的国家,各行各业都需要奇迹。

大跃进那会儿,为超英赶美,全国都在大炼钢铁,把自家锅碗瓢盆都送到乡里自建的高炉里熔炼,不一会儿就钢产量万吨了。那些庄稼汉兴奋地扑上去对钢砣砣又亲又啃的,发现不对,因为力气大一些的,手一使劲,钢砣砣就是一个坑。这是世界钢铁史和神龙教的奇迹。

我上大学那会儿,整个学校才四千多人,去年回去一看已芸芸八万学子,校长俨然已是董事长兼CEO。我头回坐飞机时全国客机也就三四百架且绝少晚点,要是晚点,空姐比我姐还关切地端茶送水还送小飞机模型,现在全国客机几千架机场建得跟鸡场一样多,碰巧哪天正点起飞一定会惊着你。还有收费站比日本鬼子炮楼还多的高速路,永远扩张永远亏损的中石油中石化……剩下的例子你们自己举。反正一切都在变,除了奇迹。

这列火车已不是火车,它是一个国家的图腾,这个国家本身就是个奇迹。这个国家需要不断的奇迹来证明合理性。因为它明白,在一个很少有人见过选票,常显示“你所搜索的网页不存在”,大部份农民说不清法院和检察院的区别,看了建党伟业却不敢向先烈们学习建党……的国家,只有不断创造GDP奇迹才可证明优越性。可创造奇迹,又得依赖一个庞大官僚机构以及支付巨额的花石纲,所以就得亲,落后性,亲,不合理性,亲,劣根性。

这样,动车的追尾,不是技术上的前车追了后车的尾,是落后性追了先进性的尾,当然你也可理解为这其实是情深意切交了尾。这个奇迹层面上,我们的合订本是不可以看的,过去的电视节目也不可看,昨天温故一个铁道部工程师骄傲的爱国宣言:中国列车的安全是有保证的,我们安全试验距离已绕地球一圈了。后来人们发现,该名工程师境外有28亿美元存款,如换成100元面值的人民币,连起来,确实可绕地球一圈还要多,由于绕过了,追了尾,才暴露。我们知道,他叫张曙光。

剩下还有很多奇迹,比如:

一、第一时间,群众们就去献血了。共和国盲肠成为脊梁,这是一个奇迹。

二、可每逢重大灾难,国家的血库就会缺血,群众就会献血。一个连血都没有的国家却要求人民有血性,这是另一个奇迹。

三、中国司机十天学会德国司机三个月的驾驶本领,学高铁比学开车快,这是驾驶课的奇迹。

四、生命探测仪没探测出生命,这是我国自主研发产品的再一个识别奇迹,据了解,每回新产品试验时都拿铁道部官员试测。这是奇迹。

五、活着买不起房,死了买不起墓,可坐趟动车就把你埋了,这是中国模式买一送一的奇迹。

六、《环球时报》社论:《高铁是中国人必须经历的自我折磨》。在神州舔菊史,这也是个奇。

七、奇迹不停步。刚刚有个人事调动,当年经历胶济铁路事故造成72人死亡,时任铁道部总调度长安路生被免职,这次又重回上海局当局长。所以当《安路生重回上海当局长》的标题出现,我一度看成是《安徒生重回上海当局长》。

第七大奇迹,是最浪漫奇迹。

这篇要是不被和谐,是我附送的一个奇迹。

所见所闻所思