Nine Rivers

Molecular modeling in Materials Sciences Web development Programming IT

Entries for the ‘Software’ Category

Killer apps to tidy up html files and make Ebook

I’ve tried to download many freeware or trial versions in order to convert lots of html files downloaded from internet into some Ebook format, such as chm or pdf. Unfortunately and surprisingly none of them is satisfactory. Some cracked commercial software do exist, but I don’t like to be a victim of Trojan.

Get random numbers under BASH and DOS

Both Linux Bash and Windows DOS support random number generation. The random number is ‘stored’ in a system environment variable named “RANDOM” (I believe this variable links to a script to generate the actual random numbers on both systems), use it in the same way as you use other ENV variables.  E.g.

SSH tunneling and example Python client-server codes

This document demonstrates how we could run client-server software via SSH. The main purpose of using this technique relies on that on most HPC servers most of the IP ports are nromally blocked except for the SSH port 22. SSH tunneling settings in PuTTY In this case, the server port 8888 is mapped to the [...]

LAMMPS has no API document

According to this thread, LAMMPS has no API document available for developers, which is a pity! Similar discuss can be found for Gromacs here, which tells there is no API document neither. Both of them are powerful simulation codes and can be used as libraries, but apparently this is not the encouraged usage. Although in [...]

Drag URL to Bookmark bar in Firefox 3.5+

After changing to Firefox 3.5, I could not bookmark an URL simply by dragging  and dropping it onto the bookmark bar, which was the way I liked. In fact, this functionality is still there. But only when you know it you will find it’s so simple. This post tells the trick. You just have to [...]

UnFREEz an open source animation GIF maker

Free, single executable with source code. http://www.whitsoftdev.com/unfreez/

Python and pizza.py

Pizza.py is a post-processing tool package for lammps – a MD package. I downloaded it and unpacked in a local directory. Each time I have to start it with a command like “python -f abs_path/pizza.py” where the abs_path is the absolute path to pizza.py source directory. However this directory is very long on my computer [...]

Hard disk clone using dd command

A neat description of the several ways to use ‘dd’ command — see here

Keywords highlight and auto-completion for lammps input file in Notepad++

Lammps is a powerful multi-purpose  simulation software. To run a simulation with lammps, one needs to prepare an input script file in which commands are issued to control the work flow. There are MANY commands  and lots of keywords supported by lammps. I found it’s good if there is a text editor capable of highlighting [...]

ReCAPTCHA技术

不得不说这是一个很好很有用的创意! CAPTCHAs是一种恼人的技术,据资料统计,全球用户每天要完成1亿次 CAPTCHA 测试。ReCAPTCHA是 Carnegie Mellon 大学启动的一个项目,目的是借助 CATPTCHA 技术将那些残旧图书数字化,据估计,该技术每天可以完成160本书。 该项目目前已经在40000家网站上部署了 ReCAPTCHA 技术,ReCAPTCHA 的基本原理是,对光学字符识别(OCR)软件来说,它们的辨识能力是有限的,尤其是那些印刷不清晰的旧书或残书,而人类可以凭借自己的阅读经验,轻松识别 那些 OCR 无法识别的文字。对这样的文字,人类的识别成功率可以达到99%,而OCR软件只能达到80%。

Your Name (required)

Your Email (required)

Subject

Your Message

留言类型: 一般留言 交换链接

captcha

Enter the validation code here: