綺麗な写真が撮れました。「Sun Shower」
![]() |
| タイトル: Sun Shower |
上海見聞録、Java考察、ハイテク関連などを中心として日々の思いをぶちまけます。
$ sudo apt-get [TAB][TAB]とやると
$ sudo apt-getとなる。
autoclean clean purge upgrade
autoremove dist-upgrade remove
build-dep dselect-upgrade source
check install update
$
# enable programmable completion features (you don't need to enableが怪しいので/etc/bash_completionを調べてみたらServerには存在し無かったので入れてみたら解決。
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
bash-completion - programmable completion for the bash shellインストールは下記でOK。
sudo apt-get install bash-completion
cnt=0
for name in $(ls *.dat)
do
cnt=$(($cnt+1))
mv $name prefix_$(printf "%03d" $cnt).dat
done
$ sudo apt-get remove openoffice.org-core
$ tar xvz OOo_3.1.0_LinuxIntel_install_ja_deb.tar.gz
$ cd OOO310_m11_native_packed-4_ja.9399
$ ls
DEBS licenses readmes update
$ cd DEBS
$ ls
desktop-integration
ooobasis3.1-base_3.1.0-11_i386.deb
(たくさんあるので省略)
openoffice.org3_3.1.0-11_i386.deb
$ sudo dpkg -i o*.deb
$ cd desktop-integration
$ sudo dpkg -i o*.deb
$ sudo vi /usr/bin/soffice
# export STAR_PROFILE_LOCKING_DISABLED
export SAL_EMBEDDED_BITMAP_PRIORITY=0
いったい、いつ直すんだ?
このせいで俺のソフトはLinuxで動かねえ。
マジ頼むよ。
Sunの連中は、このバグのせいでSwing/AWTのアプリが
非英語圏のLinux環境じゃ使えないってわかってんのか?
AWT_TOOLKIT=MToolkit の設定は意味ないっぽいね、
つーか前よりひどくなった。ESCでWindow閉じると再現する。
AWT_TOOLKIT=XToolkit の設定は少し良くなったけど、
Windowスイッチするとやっぱり発生するね。

http://jp.archive.ubuntu.com/ubuntu/pool/universe
/l/***/******_i386.deb の取得に失敗しました
404 Not Found
E: いくつかのアーカイブが取得できません。
apt-get update を実行するか --fix-missing
オプションを付けて試してみてください。
sudo apt-get update
-----略------
http://security.ubuntu.com/ubuntu/dists
/gutsy-security/multiverse/source/Sources.gz
の取得に失敗しました
404 Not Found
パッケージリストを読み込んでいます... 完了
E: いくつかのインデックスファイルのダウンロードに
失敗しました。これらは無視されるか、古いものが
代わりに使われます。

E71-1 RM-346 = GSM 850/900/1800/1900; WCDMA 900/2100
E71-2 RM-357 = GSM 850/900/1800/1900; WCDMA 850/1900
E71-3 RM-407 = GSM 850/900/1800/1900; WCDMA 850/2100
E71-1; Euro, Asia, Middle-East, Africa
E71-2; North America (US/Canada)
E71-3; Australia, New Zealand,
Small part in south america

svn: Can't open '.svn/tmp/tempfile.tmp': No such file or directory
#!/bin/bash
# Rebuilds empty directories which are lost
# by HG but required by SVN
for d in `find . -type d | grep /.svn$`;
do
# -p to make $d/tmp parent directory
`mkdir -p $d/tmp/prop-base`
`mkdir $d/tmp/props`
`mkdir $d/tmp/text-base`
done
function merge_config(&$target,$array){
foreach ($array as $key=>$value){
if(is_array($value)){
//再帰処理
merge_config(&$target[$key],$value);
}else{
$target[$key]=$value;
}
}
}