Git
TortoiseGit
Temporal solution for a problem that 'git svn' fails if certificate is not trusted
- Open (git installation dir)/libexec/git-core/git-svn with a text editor
- Go to a subroutine "ssl_server_trust" (line 3929-)
- Modify codes in the subroutine as below and save. It's not necessary to restart TortoiseGit.
prompt:
print STDERR $may_save ?
"(R)eject, accept (t)emporarily or accept (p)ermanently? " :
"(R)eject or accept (t)emporarily? ";
STDERR->flush;
# change start
#$choice = lc(substr(<STDIN> || 'R', 0, 1));
$choice = "p";
# change end
if ($choice =~ /^t$/i) {
$cred->may_save(undef);
} elsif ($choice =~ /^r$/i) {
return -1;
} elsif ($may_save && $choice =~ /^p$/i) {
$cred->may_save($may_save);
} else {
goto prompt;
}
Doxygen
Setup
- Set paths for the following programs
Fail to build
- Error after "Generating bitmaps for formulas in HTML"
Check the path to your "latex". There is latex.exe in Cygwin and also in other latex software such as MikTex. The one in Cygwin doesn't work and will displays an error message.
CMake
- Use relative paths by default
# Using relative paths may not work!
SET ( CMAKE_USE_RELATIVE_PATHS ON CACHE BOOL "Relative paths used in makefiles and projects." FORCE )
cmake .. -G"Unix Makefiles" -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc
-DCMAKE_BUILD_TYPE=Debug
OpenOffice
math formula
f = {alignc {a b}over{c^3 x + c^2 y} }
format
- Disabling auto numbering/bullets
Tools > AutoCorrect > Options tab and disable Apply numbering - symbol:*
MPICH
Start
mpiexec -localonly (nr. jobs) (program)
Firefox
Change language in Google search
Add the following line in
- Windows XP: C:\Program Files\Mozilla Firefox\searchplugins\google.xml
- Ubuntu 9.10: /usr/lib/firefox-addons/searchplugins/en-US/google.xml
language |
line |
English |
<Param name="hl" value="en"/> |
German |
<Param name="hl" value="de"/> |
Japanese |
<Param name="hl" value="ja"/> |
Change default search engine
- Go to "about:config"
- enter keyword:
- browser.search.defaultenginename
- browser.search.defaulturl
- keyword.URL
- change URL as you like
- google: http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=
Vi/Vim
最終更新:2011年05月17日 18:50