<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/derax7/">
    <title>derax7 @ ウィキ</title>
    <link>http://w.atwiki.jp/derax7/</link>
    <atom:link href="https://w.atwiki.jp/derax7/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>derax7 @ ウィキ</description>

    <dc:language>ja</dc:language>
    <dc:date>2012-05-17T17:46:16+09:00</dc:date>
    <utime>1337244376</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/22.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/21.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/20.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/19.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/18.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/17.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/16.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/15.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/14.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/derax7/pages/13.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/22.html">
    <title>勉強ノート</title>
    <link>https://w.atwiki.jp/derax7/pages/22.html</link>
    <description>
          </description>
    <dc:date>2012-05-17T17:46:16+09:00</dc:date>
    <utime>1337244376</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/21.html">
    <title>SQL</title>
    <link>https://w.atwiki.jp/derax7/pages/21.html</link>
    <description>
          </description>
    <dc:date>2011-08-31T06:29:04+09:00</dc:date>
    <utime>1314739744</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/20.html">
    <title>JavaScript</title>
    <link>https://w.atwiki.jp/derax7/pages/20.html</link>
    <description>
          </description>
    <dc:date>2011-07-07T16:18:29+09:00</dc:date>
    <utime>1310023109</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/19.html">
    <title>Java</title>
    <link>https://w.atwiki.jp/derax7/pages/19.html</link>
    <description>
          </description>
    <dc:date>2011-07-07T16:17:36+09:00</dc:date>
    <utime>1310023056</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/18.html">
    <title>Android</title>
    <link>https://w.atwiki.jp/derax7/pages/18.html</link>
    <description>
      ***Android

&amp;bold(){クリックイベント:}
 Button start = (Button) findViewById(R.id.start);
		start.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				//処理
			}
		});

&amp;bold(){状態保持:}
 // ハイスコア読み込み
 SharedPreferences pref;
 pref = this.getSharedPreferences(&quot;PreferencesEx&quot;,    Activity.MODE_PRIVATE);
 int stage = pref.getInt(&quot;stage&quot;, 0);

 // ハイスコアの書き込み
 pref = getContext().getSharedPreferences(
 &quot;PreferencesEx&quot;, Activity.MODE_PRIVATE);
 SharedPreferences.Editor editor = pref.edit();
 editor.putInt(&quot;stage&quot;, level);
 editor.commit();

&amp;bold(){isFinishing()で終了状態取得:}
 isFinishing()を利用すると、Activityの終了状態を判別できる 
 画面遷移の種類
 -Intentを飛ばした場合:false
 -ホームボタンを押した場合:false
 -戻るボタンを押した場合:true


&amp;bold(){Androidで音を鳴らす。［SoundPool編］:}
 SoundPoolクラスの場合、基本は下記の３処理。

 ①SoundPoolを new して、
 ②音声ファイル読み込んで、
 ③再生する

 SoundPool soundPool = new     SoundPool(5,AudioManager.STREAM_MUSIC, 0); // ①  
 int soundID = soundPool.load(context, R.raw.lalala, 1); // ②  
 s    </description>
    <dc:date>2012-01-10T21:28:07+09:00</dc:date>
    <utime>1326198487</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/17.html">
    <title>awk</title>
    <link>https://w.atwiki.jp/derax7/pages/17.html</link>
    <description>
          </description>
    <dc:date>2011-07-06T18:57:39+09:00</dc:date>
    <utime>1309946259</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/16.html">
    <title>その他</title>
    <link>https://w.atwiki.jp/derax7/pages/16.html</link>
    <description>
          </description>
    <dc:date>2011-07-06T18:07:12+09:00</dc:date>
    <utime>1309943232</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/15.html">
    <title>操作関連</title>
    <link>https://w.atwiki.jp/derax7/pages/15.html</link>
    <description>
      ***操作関連
&amp;bold(){eclipse関連}

・コマンド操作
 インデントの自動整理：ctl+shift+&quot;f&quot; 
 部分コメントアウト：ctl+&quot;/&quot;（xcodeでも対応）
 選択範囲コメントアウト：ctl+shift+&quot;f&quot;
 関数の参照：関数名をctl+”クリック”
 関数参照箇所の検索：関数名上でctl+shift+&quot;g&quot;
・デプロイ時の外部jarの参照方法
 [ファイル]-&gt;[インポート]-&gt;[ファイルシステム]からパス指定
・複数jarをまとめる
 EclipseプラグインのFat.jarでまとめられる。
 http://fjep.sourceforge.net/
 プロジェクト選択-&gt;FatJar-&gt;Mainクラス指定-&gt;同梱したいjar選択
&amp;bold(){xcode関連}
 インデントの自動整理(選択範囲)：ctl+&quot;i&quot;
 部分コメントアウト：ctl+&quot;/&quot;

&amp;bold(){screen関連}
 起動：screen
 新規タブ：ctrl+t+c
 タブ移動：ctrl+t+番号
 タブ終了：ctrl+t K
 (&quot;t&quot;に関してはキー割当で変わるけど)

&amp;bold(){wowza関連}
 起動/停止
 # /etc/init.d/WowzaMediaServerPro start
 # /etc/init.d/WowzaMediaServerPro stop
 # /etc/init.d/WowzaMediaServerPro restart
 # /etc/init.d/WowzaMediaServerPro status     </description>
    <dc:date>2011-04-27T18:01:24+09:00</dc:date>
    <utime>1303894884</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/14.html">
    <title>プログラミング関連</title>
    <link>https://w.atwiki.jp/derax7/pages/14.html</link>
    <description>
      -[[awk]]
-[[Android]]
-[[Java]]
-[[JavaScript]]
-[[SQL]]    </description>
    <dc:date>2011-08-25T23:49:20+09:00</dc:date>
    <utime>1314283760</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/derax7/pages/13.html">
    <title>環境設定関連</title>
    <link>https://w.atwiki.jp/derax7/pages/13.html</link>
    <description>
      ***環境設定関連

&amp;bold(){【eclipse】キーバインド覚え書き}
Back History  履歴を戻る
Forward History　履歴を進む
Content assist　補完

&amp;bold(){【Tex】MacへのTex導入}
下記サイト参照[[Tex導入&gt;http://blog.cyclogy.com/2010/12/20/texshop/]]

&amp;bold(){【iso】ディスクからiso作成}
+ディスクユーティリティでディスク選択、［イメージフォーマット］を［圧縮］から［DVD/CDマスター］に変更し、［暗号化］が［なし］となっているのを確認してから［保存］ボタンを押し、ディスクのcdrを作成
+hdiutil makehybrid -iso -joliet -o [新規イメージ.isoファイル] ［ディスクユーティリテイで作成した.cdrファイル］

&amp;bold(){【MacPorts】SnowLeopardへの導入}
1. Xcode Toolsのインストール
まず、MacPortsはコンパイルやらを行うので、Xcode Toolsをインストールする。公式サイトからインストールしてもいいし、インストールディスクに入っているものどっちでもよい。

2. MacPortsのインストール
そしてMacPortsの公式サイトから[[SnowLeopard用のインストーラ&gt;http://distfiles.macports.org/MacPorts/MacPorts-1.8.0-10.6-SnowLeopard.dmg]]を持ってくる。そしてインストールする。

3. パスを通す
MacPortsは/opt/local以下にインストールするのでパスを通しておく。
自分の場合はzshなので~/.zshrcに、bashの場合は~/.bashrcに以下の設定をして、sourceで反映させる。
export PATH=/opt/local/bin:/opt/local/sbin/:$PATH

4. アップデート
以上でインストールは完了！
以下のコマンドでMacPorts自体をアップデートし、取得できるパッケージ一覧を更新する。
sudo port -d selfupdate
sudo     </description>
    <dc:date>2012-02-02T04:15:15+09:00</dc:date>
    <utime>1328123715</utime>
  </item>
  </rdf:RDF>
