Tuesday, September 27, 2011

get the protocol (http) back in firefox 7 location bar

To get the protocol (http https ftp) to appear in the location bar of firefox 7

open the config by typing "about:config" in the location bar
Click the Ill be careful i promise button.

search for browser.urlbar.trimURLs
set to false

The protocols should now be visible again.

Monday, September 26, 2011

remember tao_root

When generating the workspace using mwc (Make Project Creator) and you get the error

ERROR: Unable to locate parent: tao_versioning_idl_defaults

be sure to set your TAO_ROOT variable to the TAO location.

Thursday, September 8, 2011

see the defines in gcc g++

touch test.h
g++/gcc -E -dM test.h

Friday, September 2, 2011

single shell line for

for fle in `find . -name '*vs8*' | grep -v '.svn'`; do \
export newfle=`echo $fle | sed -e "s/vs8/vs10/g"`; \
if [ ! -f "$newfle" ] ; then \
cp "$fle" "$newfle"; \
else \
echo "$newfle" already exists; \
fi \
done



note the semicolons and export(to use the variable name)

pass define to make

make CPPFLAG+=-Ddefine_name=value