At ubuntu command line, make sure
1. curl and git are installed
2. http_proxy and htts_proxy are set
3. use http url of the git repository to access it
3. ~/.gitconfig has ‘[http] sslverify = false’, if met ‘https://lizhao.ok%40gmail.com@git2.projectlocker.com/lizhao/DanceVee.git’

因为外婆的严格要求,所以写了这个田字格生字本生成器给天天。

http://sourceforge.net/projects/kidbooks/

1. 打开kisbook.xlsm

2.把生字放进这个excel表

3.选中要生成的字

4.点’generate’键

5.如果你不满意生成的缺省字体,可以改新打开的word文档

对于外婆的要求,我要改成虚线字体,如图:

6.点’generate’键

7.打印(可以调整页面布局,让所有列打印在一页内)

Notes: for Mondrian 3.4.1, the install.html is problematic, for mysql, here is a working config (mysql):

/WEB-INF/datasources.xml:
<?xml version="1.0"?> <DataSources> <DataSource> <DataSourceName>Provider=Mondrian;DataSource=MondrianFoodMart;</DataSourceName> <DataSourceDescription>Mondrian FoodMart Data Warehouse</DataSourceDescription> <URL>http://localhost:8080/mondrian/xmla</URL> <DataSourceInfo>Provider=mondrian;Jdbc=jdbc:mysql://localhost/foodmart?user=foodmart&#38;password=foodmart;Catalog=/WEB-INF/queries/FoodMart.xml;JdbcDrivers=com.mysql.jdbc.Driver;</DataSourceInfo> <ProviderName>Mondrian</ProviderName> <ProviderType>MDP</ProviderType> <AuthenticationMode>Unauthenticated</AuthenticationMode> <Catalogs> <Catalog name="FoodMart"><Definition>/WEB-INF/queries/FoodMart.xml</Definition> </Catalog> </Catalogs> </DataSource> </DataSources>

for /WEB-INF/web.xml, change connectString parameters

<param-name>connectString</param-name>

<param-value>Provider=mondrian;Jdbc=jdbc:mysql://localhost/foodmart?user=foodmart&#38;password=foodmart;Catalog=/WEB-INF/queries/FoodMart.xml;JdbcDrivers=com.mysql.jdbc.Driver;</param-value>

When trying xmla queries, please replace <DataSourceInfo>FoodMart</DataSourceInfo> with <DataSourceInfo>Provider=Mondrian;DataSource=MondrianFoodMart;</DataSourceInfo>

Trying to use quantlib/boost at Ubuntu, failed to install at both Ubuntu 12.10 and 12.04, due to wrong package dependency.

For ubuntu 12.10, libquantlib0-dev needs libboost, which is a dummy package pointing current libboost package (boost 1.49), however, libboost-program needs boost 1.50, so that you cannot install both packages.

An easier way to bypass this problem is to:

1. apt-get source boost-defaults
2. cd boost-defaults-1.49.0.1
3. vi debian/control (then replace all 1.49 with 1.50)
4. dpkg-buildpackage -rfakeroot -b
5. install required deb generated

PDFEdit code example I used to remove background of powerpoint slides.


for (i=0;i<188;i++) {
cnt = page().getContentStream(0);

it = cnt.getFirstOperator().iterator();
while (!it.isEnd()) {
num = it.current().childCount();
if (num>2) {
if ( "q" == it.current().childs().element(num-2).getName()) {
it.current().childs().element(num-2).remove();
}
}
it.next();
}
PageSpace.nextPage();
}

Just found QtOctave is dead, and cannot find its website anymore.
Here, Davide Cittaro keeps a latest version for OSX. Thanks

finally got time to record him again. 天天两岁就差两个星期了。好快。




1year4month16days already.

© 2013 李钊 LI, Zhao's blog Suffusion theme by Sayontan Sinha