Tuesday, December 29, 2009
Friday, December 25, 2009
Monday, December 21, 2009
WPF
Compact introductions and various tips: http://www.wpftutorial.net/Home.html
WPF Threading model http://msdn.microsoft.com/en-us/library/ms741870.aspx
WPF Threading model http://msdn.microsoft.com/en-us/library/ms741870.aspx
High performance graphics in WPF
WPF Profiling Tool: http://windowsclient.net/wpf/perf/wpf-perf-tool.aspx
WPF Internals from PDC2008: http://microsoftpdc.com/Sessions/CL10?type=wmvhigh
Blur text issues: http://forum.evernote.com/phpbb/viewtopic.php?f=53&t=12316&p=48976&hilit=net+registry#p48976
WPF and MVVM pattern: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx
What should a WPF developer know ? http://stackoverflow.com/questions/58739/interview-questions-wpf-developer
Composite Application Guidelines for WPF http://blogs.msdn.com/b/somasegar/archive/2008/07/15/composite-application-guidance-for-wpf.aspx
Blur text issues: http://forum.evernote.com/phpbb/viewtopic.php?f=53&t=12316&p=48976&hilit=net+registry#p48976
WPF and MVVM pattern: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx
What should a WPF developer know ? http://stackoverflow.com/questions/58739/interview-questions-wpf-developer
Composite Application Guidelines for WPF http://blogs.msdn.com/b/somasegar/archive/2008/07/15/composite-application-guidance-for-wpf.aspx
Wednesday, December 16, 2009
Python
Documentation: http://docs.python.org/index.html
Regular Expression: http://docs.python.org/library/re.html
Shell util (File operation): http://docs.python.org/library/shutil.html
Friday, December 11, 2009
Wednesday, October 21, 2009
Wednesday, September 23, 2009
Inheritance case study #2: Implementing interface inside a base class
class D1 {
public:
virtual void Test(int a) = 0;
};
class D4 {
public:
void Test(int d){
}
};
class D5 : public D1, public D4 {
public:
};
Inheritance case study #1: Inheriting an identical interface from two different classes
class D1 {
public:
virtual void Test(int a) = 0;
};
class D2 {
public:
virtual void Test(int b) = 0;
};
class D3 : public D1, public D2 {
public:
void Test(int c){
}
};
Tuesday, August 4, 2009
simple bash
A good and compact Bash reference
Another good introduction. More complete.
A Very Simple example:
Getting the script path
Another good introduction. More complete.
A Very Simple example:
#!/bin/bash
i=0
while [ $i -lt 400 ]; do
printf "%i : %b\n" "$i" "\0$i"
let "i++"
done
Getting the script path
SCRIPT_PATH="${BASH_SOURCE[0]}";
if([ -h "${SCRIPT_PATH}" ]) then
while([ -h "${SCRIPT_PATH}" ]) do SCRIPT_PATH=`readlink "${SCRIPT_PATH}"`; done
fi
pushd . > /dev/null
cd `dirname ${SCRIPT_PATH}` > /dev/null
SCRIPT_PATH=`pwd`;
popd > /dev/null