「Other softwares」の編集履歴(バックアップ)一覧はこちら
「Other softwares」(2011/05/17 (火) 18:50:09) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
* 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.
#highlight(perl){{
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
-- latex
-- dvips
-- gswin32
** 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
#highlight(){{
# Using relative paths may not work!
SET ( CMAKE_USE_RELATIVE_PATHS ON CACHE BOOL "Relative paths used in makefiles and projects." FORCE )
}}
- Use Intel C Compiler
cmake .. -G"Unix Makefiles" -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc
- Build for debugging
cite) http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_multiple_modes_without_switching_.3F
-DCMAKE_BUILD_TYPE=Debug
* OpenOffice
** math formula
- alignment of a fraction
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"/> |
Source: http://www.verot.net/google_language.htm
** 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=
http://kb.mozillazine.org/Location_Bar_search
*Vi/Vim
- Ubuntu: install vim-nox
#contents
* 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.
#highlight(perl){{
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
-- latex
-- dvips
-- gswin32
** 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
#highlight(){{
# Using relative paths may not work!
SET ( CMAKE_USE_RELATIVE_PATHS ON CACHE BOOL "Relative paths used in makefiles and projects." FORCE )
}}
- Use Intel C Compiler
cmake .. -G"Unix Makefiles" -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc
- Build for debugging
cite) http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_multiple_modes_without_switching_.3F
-DCMAKE_BUILD_TYPE=Debug
* OpenOffice
** math formula
- alignment of a fraction
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"/> |
Source: http://www.verot.net/google_language.htm
** 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=
http://kb.mozillazine.org/Location_Bar_search
*Vi/Vim
- Ubuntu: install vim-nox