Top/article
English | Japanese
English | Japanese

Menu

  • Top
  • Akihiko Yamaguchi 山口 明彦
  • Project プロジェクト
  • Text テキスト
  • Recent articles 最近の記事
  • Articles 記事一覧 (a to z)
  • Search 検索

Tags タグ †

  • [c++][bash][python][latex][php]
  • [linux][windows][mac][android]
  • [math][algorithm][idea][trick]
  • [liboctave][opencv][git][ros]
  • [setting][bug][general]
↑

Recent articles 最近の記事 †

2019-07-02
  • article/Display-Unix-Time
  • article/Synchronize-Linux-Time-to-Remote
2018-09-27
  • article/python-multimode-singleton
2018-09-02
  • article/rosinstall-git-default-remote
2017-07-28
  • article/SubMenu
2017-03-05
  • article/Import-a-different-version-of-OpenCV-in-Python
2015-08-17
  • article/DRC-finals-2015
2015-01-05
  • article/Upgrade-Android-to-Lollipop
2015-01-01
  • article/Kernel-panic-of-Linux-when-using-Xtion
  • article/Do-not-skip-freeing-data-when-using-tri-mesh-in-ODE
Access: 1/10518 - Admin

List of articles (a to z)

記事一覧 (a to z)

< Previous 20 pages | 81 to 100 | Next 20 pages >
article/Script-to-automate-LaTeX-compile

Script to automate LaTeX compile

Including version and time stamp for drafts

LaTeX のコンパイルを自動化するスクリプト

ドラフト版のバージョン情報・タイムスタンプも

[latex][bash]
2010-01-22

LaTeX のコンパイルを, jbibtex のコンパイルも含めて(自動的に判断される),自動化するスクリプトを書いた.また,昨日の記事 作成時刻やバージョン情報を PDF にスタンプする を使って,バージョン情報,リビジョン情報,タイムスタンプなどをドラフトバージョンに付加できるようにした.

... read more (article/Script-to-automate-LaTeX-compile)
article/Script-to-convert-LaTeX-eqs-to-PNG-and-SVG

Script to convert LaTeX eqs to PNG and SVG

LaTeX の数式を PNG と SVG に変換するスクリプト

[latex][bash][trick]
2008-11-16

先日,LaTeX の数式を PNG と SVG に変換する方法についての記事を載せた.この方法を使いやすくスクリプト化してみた.

... read more (article/Script-to-convert-LaTeX-eqs-to-PNG-and-SVG)
article/Script-to-generate-fade-in-out-videos

Script to generate fade-in fade-out videos

フェードイン・アウトする動画をコマンドラインから作るスクリプト

[bash]
2009-09-22

高価な動画編集ソフト(premiere とか)がなくても動画作れちゃうんだぜ!

... read more (article/Script-to-generate-fade-in-out-videos)
article/Search-symbol-from-object-files-and-shared-objects

Search a symbol from object files and shared objects

あるシンボルが どのオブジェクトファイル/共有オブジェクトに含まれているか検索するスクリプト

[linux][bash]
2009-11-22

プログラミングしていると,あるシンボル(変数名,関数名,クラス名,etc.)がどのオブジェクトファイル(or アーカイブファイル)や共有ライブラリで定義されているか,調べたいことがある(どのファイルをリンクすればいいかわからないときなど).通常はシンボル名でググればよろしい.だが,稀に,ググるのでは解決できないことがある.そのような場合の対処法として,無理矢理 /usr/lib や /lib にあるライブラリファイルを検索する方法を紹介する.

... read more (article/Search-symbol-from-object-files-and-shared-objects)
article/Serial-communication-trouble-on-Ubuntu-10.10-and-11.04

Serial communication trouble on Ubuntu 10.10 and 11.04

Ubuntu の 10.10 や 11.04 でシリアル通信ができない

[c++][bug][linux]
2011-06-07

シリアルケーブルをUSBに変換するコネクタを使って,BioloidというROBOTIS社のロボットを,PCで制御する際の問題について.

... read more (article/Serial-communication-trouble-on-Ubuntu-10.10-and-11.04)
article/Setting-to-install-Debian-on-VMware-over-Windows7

Setting to install Debian on VMware over Windows7

Debian を Windows7 上の VMware にインストールする場合の設定まとめ

[linux][windows][setting]
2010-05-07

VMware のできはとてもよろしいので,新しいPCにインストールするのと同じ感覚で Debian をインストールすることができた.しかし,キーバインドの設定など,若干トラブったので,まとめる.

... read more (article/Setting-to-install-Debian-on-VMware-over-Windows7)
article/Setting-to-watch-DVD-movies-on-Debian

Setting to watch DVD movies on Debian/Linux

Debian/Linux でDVD(映画)を見るための設定

[linux][setting]
2010-04-03

暗号化されたDVDをmplayerとかVLCで再生するとエラーが出る場合,libdvdread4, libdvdcss2 をインストールすると見られるようになる.

... read more (article/Setting-to-watch-DVD-movies-on-Debian)
article/Setup-Japanese-TeX-on-Debian

Setup memo of Japanese TeX on Debian

Debian で日本語 TeX 環境を構築するメモ

[latex][linux][setup]
2010-11-01

Debian で日本語 TeX 環境を構築するには,以下のような手順を踏めばよいようだ.

... read more (article/Setup-Japanese-TeX-on-Debian)
article/Seven-tools-for-writing-papers

Seven tools for writing (English) papers

(英語)論文を書くための七つ道具

[latex]
2010-03-31

(主に英語)論文を書くために使っているツール,ウェブサイトを紹介.

... read more (article/Seven-tools-for-writing-papers)
article/Sharing-between-C-and-C++

Sharing functions and variables between C and C++

C と C++ の間で関数や変数を共有する

[c++][trick]
2008-10-19

C++ で実装した関数を C から利用したい場合,あるいはその逆の場合がある.同じソースの中に両方のプログラムコードを書くことはできないが,それぞれのソースをコンパイルしてオブジェクトファイルを生成し,それらをリンクすることは可能だ.ただし C++ 特有の名前空間 (namespace) や関数オーバーロードに対処する必要がある.

... read more (article/Sharing-between-C-and-C++)
article/Shooting-game-on-console

Shooting game on console

コンソールで動くシューティングゲームを作ってみた

[c++][linux]
2009-04-02

眠かったから,ncurses ライブラリを使ってシューティングゲームを作ってみた.10年以上昔,N88-BASICで同じようなプログラムを作ってたのを思いだした.

... read more (article/Shooting-game-on-console)
article/Specialize-template-member-methods-outside-the-class

Specialize template member methods outside the class

テンプレートメンバ関数の特殊化はクラス外で

[c++]
2012-03-04

クラスのメンバ関数をテンプレート関数として作成し,さらにそれを特殊化する場合,特殊化は,特殊化宣言も含めてクラス外で行わなければならないらしい.

... read more (article/Specialize-template-member-methods-outside-the-class)
article/Specialize-templates-for-generic-structures

Specialize templates for generic structures

テンプレートを汎用的な構造体に対して特殊化するには

[c++][trick]
2010-05-12

template<typename T> function(const T&) のようなテンプレート関数があったとして,この実装を T が構造体の場合は変更したい(部分特殊化したい)とする.特定の構造体に対する特殊化なら話は簡単だが,本記事では汎用的な構造体に対する部分特殊化を扱う.この問題は,少々厄介だ.

... read more (article/Specialize-templates-for-generic-structures)
article/Speedup-Google-Chrome-with-RAM-disk

Speedup Google Chrome with RAM disk

Google Chrome が重いので RAMディスク を使って高速化!

[linux][bash]
2010-08-31

Google Chrome がたまにすごく重くなる.ディスクアクセスが原因のようだ.そこでキャッシュ(消えても問題ないファイル群)~/.cache/google-chrome を RAMディスク /dev/shm 以下に移動したのだが,それでも改善されない.そこで,設定ファイル~/.config/google-chrome も RAMディスク 上に置くことにした.

# 追記@Sep.04,2010:スクリプト修正.

... read more (article/Speedup-Google-Chrome-with-RAM-disk)
article/Stamp-date-time-version-etc-on-PDF

Stamp date, time, version, etc. on PDF

作成時刻やバージョン情報を PDF にスタンプする

[bash][latex]
2010-01-21

作成時刻やバージョン情報を PDF にスタンプするためのスクリプトを作った. LaTeX とか pdftk を使う.

... read more (article/Stamp-date-time-version-etc-on-PDF)
article/SubMenu
... read more (article/SubMenu)
article/Synchronize-Linux-Time-to-Remote

Synchronize Linux Time to a Remote Server

リモートサーバにLinux時間を同期する

[linux]
2019-07-02

It can be done by stopping the service ntp, and then running the command ntpdate with the remote server.

... read more (article/Synchronize-Linux-Time-to-Remote)
article/Things-only-macros-can-do

Things only macros can do

When should we use macros?

マクロにしかできないこと ~C++でマクロを使うべきな場面~

[c++][trick]
2008-12-17

C++では, #define で定数を定義するな, const TYPE によるグローバル変数(もしくは適当な名前空間に内包されたグローバル変数)を使え, #define でマクロ関数を定義するな,代わりに inline 関数を使え,みたいなことが言われる.これは確かにその通りだ.

1項 #define ではなく, const と inline を使おう
Scott Meyers (スコット・メイヤーズ): Effective C++ (吉川訳, アスキー出版局, 1998)

に書いてあるように, プリプロセッサよりコンパイラに仕事させるべき だ.でもマクロにしかできないことも多々あるわけで.

... read more (article/Things-only-macros-can-do)
article/Tricks-to-avoid-double-free

Tricks to avoid double free

メモリの二重解放回避テク

[c++][trick]
2008-12-05

メモリの二重解放とは, new などで確保したメモリ領域(ヒープ領域)を2回 delete などで解放することを言う. new と delete をきちんと対応させて書いていないときに起こる問題だ.特にクラスのメンバに動的確保したメモリへのポインタを含む場合にやってしまいがちである.ここでは二重解放によって発生する問題を解説する.

... read more (article/Tricks-to-avoid-double-free)
article/Trouble-of-X-when-installing-new-NVIDIA-driver

Trouble of X when installing new NVIDIA driver

NVIDIAの新しいドライバを入れたらXが起動しなくなった

[linux][bug]
2010-05-01

Debian で,NVIDIA のドライバを 190.53 → 195.36.15 にアップグレードしたら,

NVRM: API mismatch: ...

というエラーが出てXが起動しなくなった.環境は Debian squeeze/testing, GeForce 9800 GT.sudo update-initramfs -u を実行すると,解決した.

... read more (article/Trouble-of-X-when-installing-new-NVIDIA-driver)
< Previous 20 pages | 81 to 100 | Next 20 pages >

Last-modified:2015-01-04 (Sun) 22:24:36 (3779d)
Link: MenuBar(2844d) Top(2844d) article/Stamp-date-time-version-etc-on-PDF(3783d) article/LaTeX-eqs-to-PNG-and-SVG(3784d)
Site admin: Akihiko Yamaguchi.
Written by: Akihiko Yamaguchi.
System: PukiWiki 1.5.0. PHP 5.2.17. HTML conversion time: 0.318 sec.