……が、12月24日分であるこの記事を実際には1月3日に書いたことはヒ・ミ・ツ。
twiccaの基本的な使い方については「Twicca の使い方」を見ていただくのが一番ですが、その記事に書かれていないor後にtwiccaに追加された機能については記述が漏れています。
今のところ、気付いているのは以下です。
- タイトルバー押下でタイムラインのスクロールが一番上まで戻る
- ユーザ情報画面
・左上のアイコン押下でアイコン画像拡大表示
・「Web」押下でそのURLを開く
↓アイコンを拡大表示した例
sqlite> select * from secure where name like 'tether%';
29|tether_dun_apn|docomo tethering,dcmtrg.ne.jp,,,,,,,,,440,10,0,*
30|tether_dun_required|1
俺達のメガネ Xperia arc(SO-01C) 2.3.4アップデートでの Network error occurred 対策
http://chaosore.blog38.fc2.com/blog-entry-317.html
user@localhost:~$ adb shell
$ su
# /data/data/com.keramidas.TitaniumBackup/files/sqlite3 /data/data/com.android.providers.settings/databases/settings.db
SQLite version 3.7.6.3-Titanium
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from secure where name = 'tether_dun_required';
30|tether_dun_required|1
sqlite> update secure set value = 0 where name = 'tether_dun_required';
sqlite> select * from secure where name = 'tether_dun_required';
30|tether_dun_required|0
sqlite> .exit
# exit
$ exit
※ 2回のselectは値の確認のためで、別に必要な操作ではない。Androidマーケットのtwiccaページ
// パース。第2引数でクラスを指定しない場合、戻りはObjectになるが、中身はArrayListかLinkedHashMap。
InputStream is = ほげ;
Hoge[] hoges = JSON.decode(is, Hoge[].class);
// シリアライズ
String json = JSON.encode(hoges);
// パース。第2引数で必ず型を指定する必要がある。Mapとか指定してもとりあえずは動く。JSONIC同様に、ArrayListかLinkedHashMapのインスタンスが返る。
InputStream is = ほげ;
BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
Hoge[] hoges = new Gson().fromJson(reader, Hoge[].class);
// シリアライズ。第2引数の型指定は省略できるが、そうすると激遅。
String json = new Gson().toJson(hoges, Hoge[].class);
// パース。Hogeクラスの専用パーサーとしてビルド時に自動生成されたHogeGenクラスを使用
InputStream is = ほげ;
List<Hoge> hoges = HogeGen.getList(is);
// シリアライズ。直接文字列を返す手段はサポートされておらず、Writerクラスを経由する。
StringWriter sw = new StringWriter();
HogeGen.encodeListNullToNull(sw, hoges);
String json = sw.toString();
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- bad order -->
<item android:state_focused="true" android:drawable="@drawable/item_focused" />
<item android:state_pressed="true" android:drawable="@drawable/item_pressed" />
<item android:drawable="@drawable/item_normal" />
</selector>
Note: The order of the- elements is important. When this drawable is referenced, the
- s are traversed in-order to determine which one is appropriate for the current button state. Because the "normal" image is last, it is only applied when the conditions android:state_pressed and android:state_focused have both evaluated false.
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- correct order -->
<item android:state_pressed="true" android:drawable="@drawable/item_pressed" />
<item android:state_focused="true" android:drawable="@drawable/item_focused" />
<item android:drawable="@drawable/item_normal" />
</selector>
u"ww" : (u"っ", u"w"),というところがあったので、行頭に#を追記してコメントアウト。
SubSection "Display" Virtual 1280 2048 EndSubSectionというサブセクションがあったが、nx6125にインストールしているUbuntu9.04ではハードウェアのこういった設定はHALにやらせるので、xorg.confに設定を書き込んではいけない筈なのだ。それをウィザードで勝手にやっちゃうのかよ……
指定したハッシュタグをつけてるツイートは自分のTLには流れないように設定できたらいいと思わない?というTwitterでの発言を受けて、思わずUserScript作ってみた。





SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"sudo chmod a+rx /etc/udev/rules.d/51-android.rules// ==UserScript==
// @name Twitter public_timeline link
// @namespace mstssk
// @include http://twitter.com/*
// ==/UserScript==
var li = document.getElementById("header").getElementsByTagName("li").item(0);
var newli = document.createElement("li");
var a = document.createElement("a");
var txt = document.createTextNode(" Public Timeline ");
a.href = "http://twitter.com/public_timeline";
a.appendChild(txt);
newli.appendChild(a);
li.parentNode.insertBefore(newli, li);
auto lo iface lo inet loopback auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider auto eth0 iface eth0 inet manualデフォルトの状態は最初の2行だけです。それ以降の行はざっくり削除します。



(これと同じことをコマンドでやるのが、リリースノートで紹介されている方法なのです。)



echo *echo */
方法 1:
========
1)システム->設定->キーボード->レイアウト->Other options
Alt/Win キーの挙動: "Meta を両側の Windows キーに割り当て" を選ぶ。
2)システム->設定->キーボード・ショートカット
"ホーム・フォルダを開く" を選び、好きなキーの組み合わせを押す。
例えば、Win+Eなら"Mod4+E"と表示されるでしょう。
方法 2:
========
1)"設定エディタ(gconf-editor)"を起動する。
2)"/apps/metacity/global_keybindings" で
"run_command_1" の値を "<Super>E" に変更。
3)"/apps/metacity/keybinding_commands" で
"command_1" の値を "nautilus" に変更。
(これは、Alt/Winキーの挙動が"デフォルト"か"Meta を両側の Windows キーに割り当て"(訳注)に設定されている場合のみ有効です。方法1を見て、適宜対応してください。)
方法 3 (コマンドラインでの操作):
====================================
gconftool-2 --type string --set /apps/metacity/global_keybindings/run_command_1 'E'
gconftool-2 --type string --set /apps/metacity/keybinding_commands/command_1 'nautilus'
P.S: "/apps/panel/global/menu_key" に関するコマンドラインでの操作を検索しているうちに、gconfに関する別の面白い情報も見つけました。
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWgndoc/GNOMEADMIN/p5.html
とても面白い。(^_^)

akira さんのコメント...
purgeなら設定も消去されました。

| Seagate 3.5インチ内蔵HDD 1.5TB 7200rpm S-ATA/300 32MB ST31500341AS Seagate 売り上げランキング : 2547 Amazonで詳しく見る by G-Tools |
$ dateと$ LANG=C dateのそれぞれの実行結果を見比べると一目瞭然。$ LANG=en dateとやると、やはり英語で表示してくれる。'LANG=C' sets the locale for gnumeric to the C locale. The 'C' locale isそれっぽい和訳
defined as the "default" locale for applications, meaning that their
strings are displayed as written in the initial code (without passing
through a translation lookup).
This is the standard C locale. The attributes and behavior it provides are specified in the ISO C standard.
$ hoge="foo"; eval "echo $hoge"
foo
具体的にはどういう流れでこうなるのかというと、#!/bin/sh
#declareコマンドでシェル変数iとjを整数値として生成。
#ただi=0とやると、0という文字を代入していることになってしまう。
declare -i i=0
declare -i j=0
#2重ループで、array_${i}_${j}の各要素にランダムな値を入れていく。
while [ $i -lt 3 ]
do
while [ $j -lt 3 ]
do
eval array_${i}_${j}=\$RANDOM
j=$j+1
done
j=0
i=$i+1
done
#各要素の内容を表示
i=0
j=0
while [ $i -lt 3 ]
do
while [ $j -lt 3 ]
do
eval echo array_${i}_${j}=\$array_${i}_${j}
j=$j+1
done
j=0
i=$i+1
done
array_0_0=17314
array_0_1=30499
array_0_2=5518
array_1_0=19522
array_1_1=7919
array_1_2=2510
array_2_0=8634
array_2_1=31473
array_2_2=5638
$ sudo apt-get install libk3b3-extracodecs
$ sudo date -s '2009/2/14 08:31:30' && date '+%s'


