C Plus Plus (C++) Tutorial Reference site: http://www.cplusplus.com/doc/tutorial
Posts in category Tutorial
Generating Wave Files from Mac OS X Say Commands
Mac OS X provides say command in its Terminal Utility to perform Text-To-Speech.
Just type: say “Hello World”, it will speak out.
To output this sound into a Wave file, you can provide file name, it will infer the file extension on file name, and you provide the data format, just type:
say -o hi.wav –data-format=LEF32@8000 “Hello World”
Git and Github Reference
Git is a distributed revision control and source code management (SCM) system.
Github is a place for you to host your project. The other can fork up your project, give patches, contribute, and discussion.
Help on setup Github: http://help.github.com/mac-set-up-git/
And the Pro Git Book: http://progit.org/book/ch2-2.html
Turing.js a learning framework
Alex Young had written a series of posts teach on how to build a JavaScript framework, and he named the framework that going to be built as Turing.js.
Let’s follow this link: http://dailyjs.com/2010/02/25/djscript-part-1-structure/
Web Links on Programming Stuff by amptblog
I found a blog post on web links on programming stuff by amptblog. He collected a vast amount of web links on programming stuff and categorized it based on different web technologies such as HTML5, JQuery, CSS, ASP.NET MVC, Node.JS and other design and programming stuff here.
I saw my blog post about Node.JS on Amazon EC2 is listed.
Inversion of Control (IoC)
Inversion of Control, or IoC, is an abstract principle describing an aspect of some software architecture designs in which the flow of control of a system is inverted in comparison to procedural programming.
Saw IoC many times in many technical articles especially with the topics of Object-oriented design or software engineering development. However, I have no fully understand what IoC is talking about at the first pace. Therefore, I had carried out a research about this.
To understand this, let take a scenario.
Consider we have a framework, and application that runs on the framework.
In traditional aspects, application calls required libraries or API to carry out their tasks. The central control is held by central piece of code in application. In Inversion of Control, framework actively calls application to carry out tasks. It often using inheritance to realize IoC. Parent class actively calls the method from child class. Framework lets relevant parent classes work together to define the process of the tasks. At the meantime, parent class leave interface, or in Java Term, abstract method, to be implemented by child classes.
The advantage of Inversion of Control is that there is decoupling of the execution of a certain task from implementation. Secondly, it enables less hassles in system replacement.
Further reading:
QXINNET BLOGGER LIST New API Tutorial
For who already installed Qxinnet Blogger List or not installed, I want to make an announcement that I have made changes on it.
The changes I made is about the queries length returned. That mean you can control how many posts, links shown on your gadget.
Currently, we use this line code.
<script src="http://u.qxinnet.com/qxblog.php" type="text/javascript" charset="gbk"></script>
For the src: "http://u.qxinnet.com/qxblog.php" we can make changes on it.
We add one parameter named limit on it.
http://u.qxinnet.com/qxblog.php?limit=smallest
For example.
For limit set to smallest, it will returned 3 links.
Below is the referring table.
| limit | Default 10 |
| smallest | 3 |
| smaller | 5 |
| normal | 10 |
| larger | 15 |
| largest | 20 |
Lastly, if you want to know more about Qxinnet Blogger List, you can navigate to this link: http://fyhao.qxinnet.com/2008/12/computer-and-it/qxinnet-blogger-list/
imageshack 教程
首先,进去:
http://imageshack.us/
你会看到类似这样的画面:

然后,点击browse框框,就会出现另外一个框框让你选择图片:

选择你所需要的图片后,就点击按open:

然后就按HOST IT!
如果你需要调整图片的大小,就在resize images打勾并选择你要的大小:

最后,就会出现这页:

copy起Hotlink for forums (1),过后paste在帖子就可以了。大功告成!
祝各位贴图愉快。所谓熟能生巧,希望大家多多使用,累计经验吧!