Alex刺客

          Dancing fingers, damage world. -- 舞動手指,破壞世界.

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            57 隨筆 :: 0 文章 :: 76 評論 :: 0 Trackbacks

          2010年6月17日 #

          Linux下的播放器.

          還記得N年前,本本裝個Linux能發(fā)出聲都是萬幸的事.現(xiàn)在 Linux 平臺越來越強大.驅(qū)動也更完善 . 像咱們這些喜歡音樂的 fans 也開始追逐 Linux 上的音質(zhì)表現(xiàn).
          大多數(shù)Linux發(fā)行版本默認(rèn)都不帶音/視頻解碼器.只要你配置了第3方y(tǒng)um 比如(http://rpmfusion.org/). 然后打開系統(tǒng)自帶的 totem 播放器隨意打開個視頻就會自動下載相關(guān)的解碼器(建議嘗試播放你機子上所有不同的視/音頻格式.這種你就獲得了最全面的解碼器).
          目前常見的格式 flac ape wav ogg mp3 aac m4a wma 只要你的系統(tǒng)安裝了對應(yīng)解碼器都可獲得支持.至少在我過的播放器中沒碰見那種格式不能解釋的.(前提你系統(tǒng)安裝了解碼器)
          音樂播放器.
          ?? ?1.Rhythmbox gnome 默認(rèn)帶的大多數(shù)格式都支持(前提你系統(tǒng)安裝了解碼器). 音質(zhì)還算一般. 樣子有點像 iTunes.均衡要裝插件,調(diào)節(jié)后會有一點點的改善.但不突出.

          ?? ?2.Audacious (有自己的解碼器) 跟win 下的千千靜聽差不多.個人不太喜歡它的均衡沒法調(diào).
          ???????? 安裝方法: # yum install audacious audacious-plugins*

          ?? ?3.Exaile 比較小 Python 語言寫的. tags編輯功能是一大亮點,分類是我最喜歡的方式.均衡相對來說比以上兩個要好一些.是我比較喜歡的一個player.
          ???????? 安裝方法: # yum install exaile

          ?? ?4.Mplayer + smplayer 雖說是Linux下最牛的視頻播放(全視頻格式都支持,我機子上740p, 1080p都能跑就是CPU高了點.),用來播放音樂不合適.但是Linux下的音樂播放器(只說音質(zhì)的話)我認(rèn)為沒一個音樂播放器的音質(zhì)比mplyer強.不信你自己用無損的音樂仔細(xì)試聽一下.總感覺有層次感一些.(調(diào)一點點均衡"V型"更容易突出這種效果.)
          ???????? 安裝方法: # yum install smplayer

          剛捉的圖欣賞一下. 每個播放器都帶均衡調(diào)節(jié)喔.我的均衡方案說不定不適合你喔(理論上來說增強了低音跟高音,降低了中音頻)合適聽R&B,Hip-Hop,Rap,Rock.風(fēng)格.
          圖: http://www.flickr.com/photos/56749281@N05/

          Tips:
          ?推薦一個桌面歌詞 Osd-lyrics 感覺還不錯
          os: feodra 14
          Downlaod: http://code.google.com/p/osd-lyrics/

          posted @ 2010-12-06 23:49 Alex刺客 閱讀(7068) | 評論 (0)編輯 收藏

               摘要: linux 安裝 Tomcat6
          linux 安裝 apache-tomcat-6.0.29
          Tomcat 配置成 Linux 服務(wù)
          Linux install Tomcat
          Configured Linux installation services tomcat6  閱讀全文
          posted @ 2010-10-27 19:08 Alex刺客 閱讀(1746) | 評論 (0)編輯 收藏

               摘要: WebQQ 無法登錄 沒有登錄按鈕  閱讀全文
          posted @ 2010-10-17 22:23 Alex刺客 閱讀(1777) | 評論 (3)編輯 收藏

               摘要: Linux 下安裝 牛津高階英語詞典 第8版 英英 支持 英音 美音 真人發(fā)音  閱讀全文
          posted @ 2010-10-13 02:19 Alex刺客 閱讀(5991) | 評論 (3)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-10-13 01:53 Alex刺客 閱讀(3934) | 評論 (2)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-09-09 04:13 Alex刺客 閱讀(440) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-09-04 09:28 Alex刺客 閱讀(48218) | 評論 (6)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-29 23:17 Alex刺客 閱讀(2032) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-29 22:38 Alex刺客 閱讀(523) | 評論 (0)編輯 收藏


          ?1?????<!--?Proxool?連接池配置?-->
          ?2?????<bean?id="datasource"?class="org.logicalcobwebs.proxool.ProxoolDataSource">
          ?3?????????<property?name="alias"?value="pfms-proxool"?/>
          ?4?????????<property?name="driverUrl"?value="jdbc:mysql:///pfmsdb"?/>
          ?5?????????<property?name="driver"?value="com.mysql.jdbc.Driver"?/>
          ?6?????????<property?name="user"?value="root"?/>
          ?7?????????<property?name="password"?value="123456"?/>
          ?8?????????<property?name="maximumConnectionCount"?value="10"?/>
          ?9?????????<property?name="houseKeepingTestSql"?value="select?CURRENT_DATE"?/>
          10?????</bean>

          posted @ 2010-08-24 22:15 Alex刺客 閱讀(752) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-24 22:11 Alex刺客 閱讀(2829) | 評論 (1)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-23 04:53 Alex刺客 閱讀(304) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-14 04:21 Alex刺客 閱讀(3156) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-14 04:02 Alex刺客 閱讀(5573) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-10 08:04 Alex刺客 閱讀(321) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-10 07:55 Alex刺客 閱讀(328) | 評論 (0)編輯 收藏

               摘要: 看來ExtJS 3 border 布局 又增加了新的屬性
          collapseMode: 'mini',
          minSize: 80, //最小高/寬度
          maxSize: 400, //最大高/寬度
          看看這些屬性帶來了什么功能  閱讀全文
          posted @ 2010-08-03 09:08 Alex刺客 閱讀(1546) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-03 07:28 Alex刺客 閱讀(1006) | 評論 (1)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-03 06:40 Alex刺客 閱讀(413) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-07-30 09:07 Alex刺客 閱讀(326) | 評論 (0)編輯 收藏

          Tomcat服務(wù)器.在使用 Ajax get方法的時候中文參數(shù)提交到了服務(wù)器變成了亂碼.
          這是因為 Tomcat 默認(rèn)的 URL 編碼為 ISO-8859-1 導(dǎo)致的.以下有兩種解決方案.

          1.java轉(zhuǎn)換編碼方式
          ?1?????/**
          ?2??????*?轉(zhuǎn)換字符串編碼
          ?3??????*?@param?str 要進(jìn)行轉(zhuǎn)換的字符串
          ?4??????*?@param?oldCode?指定str的編碼
          ?5??????*?@param?newCode?目標(biāo)字符串編碼
          ?6??????*?@return 目標(biāo)字符串
          ?7??????*?@throws?UnsupportedEncodingException
          ?8??????*/
          ?9?????public static String?transcoding(String?str,String?oldCode,?String?newCode)?throws?UnsupportedEncodingException{
          10?????????byte[]?bytes?=?str.getBytes(oldCode);
          11?????????String?newStr?=?new?String(bytes,?newCode);
          12?????????return?newStr;
          13?????}

          1?String?name?=?request.getParameter("name");
          2?String?resultStr?=?transcoding(name,?"ISO-8859-1",?"UTF-8");
          3?System.out.println(resultStr);

          2.指定Tomcat URL編碼
          1?<Connector?port="80"?protocol="HTTP/1.1"?
          2????????????????connectionTimeout="20000"?
          3????????????????redirectPort="8444"
          4????????????????URIEncoding="UTF-8"/>
          在配置http端口的地址添上URIEncoding="UTF-8".

          這樣就可這直接獲取 URL 的屬性
          1?String?name?=?request.getParameter("name");
          2System.out.println(name);

          posted @ 2010-07-14 23:33 Alex刺客 閱讀(310) | 評論 (0)編輯 收藏

               摘要: 剛剛看了一下struts2/docs/json-plugin.html文檔,正好前幾天研究一下jQuery的API今天就試著練練jQuery做個 Study_Notes.IDE: eclipse-jee-galileo-SR2-linux-gtk例子完整的源代碼,日志最下面有下載.1.注解方式Code highlighting produced by Actipro CodeHighlighter...  閱讀全文
          posted @ 2010-07-13 10:32 Alex刺客 閱讀(5253) | 評論 (2)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-07-02 23:10 Alex刺客 閱讀(445) | 評論 (0)編輯 收藏

               摘要: 省市縣三級連動SQL語句  閱讀全文
          posted @ 2010-07-02 09:50 Alex刺客 閱讀(2014) | 評論 (0)編輯 收藏

               摘要: 前言:
          一.fedora 下載地址 跟 oracle database 11gr2
          二.查看自己機子的信息
          三.安裝oracle database11gr2依賴包
          四.配置系統(tǒng)文件
          五.安裝Oracle Database 11GR2
          六. 成功安裝完成后再接著配置。
          問題1 解決方案
          問題2 : 重啟系統(tǒng)后oracle服務(wù)不會自動啟動  閱讀全文
          posted @ 2010-06-22 22:29 Alex刺客 閱讀(7410) | 評論 (3)編輯 收藏

          1.首先找到my.cnf(MySQL配置文件)
               一般情況下在/etc/my.cnf 或者/etc/mysql/my.cnf 這個路徑.如果你都找不到請用 "find /etc -name my.cnf" 命令搜索.

          用vim打開 更改相應(yīng)的屬性值

           1 [mysqld]
           2 
           3 # MySQL 字符集
           4 default-character-set=utf8
           5 
           6 # MySQL 連接字符集
           7 init_connect='SET NAMES utf8'
           8 
           9 # 默認(rèn)使用innoDB引擎
          10 default-storage-engine=INNODB
          11 
          12 # 指定Mysql不區(qū)分大小寫表名
          13 lower_case_table_names=1
          14 
          15 [client]
          16 
          17 # 客戶端字符集
          18 default-character-set=utf8
          19 


          參考MySQL5.1官方中文手冊
          http://dev.mysql.com/doc/refman/5.1/zh/index.html

          posted @ 2010-06-21 23:54 Alex刺客 閱讀(490) | 評論 (0)編輯 收藏

               摘要: /**
          * Project Name : Oracle_Database_11g_Study_Notes
          * File Name : 2.User_Management.sql
          * Author : Alex刺客
          * Date : June 21,2010
          */  閱讀全文
          posted @ 2010-06-21 04:10 Alex刺客 閱讀(528) | 評論 (0)編輯 收藏

               摘要: /**
          * Project Name : Oracle_Database_11g_Study_Notes
          * File Name : 1.Start_Login.sql
          * Author : Alex刺客
          * Date : June 21,2010
          */  閱讀全文
          posted @ 2010-06-21 04:03 Alex刺客 閱讀(557) | 評論 (0)編輯 收藏

          初次安裝Oracle11G時EM服務(wù)已經(jīng)啟動但是關(guān)機后(或者IP時間過期后)EM無法啟動

          1.在系統(tǒng)環(huán)境變量設(shè)置ORACLE_SID = oracle (數(shù)據(jù)庫sid),

          2.在DOS中執(zhí)行“emca -config dbcontrol db -repos recreate”命令重建EM.

          3.如果還是無法解決請禁止網(wǎng)卡后再試(如果這種方案通過以后在啟動EM時先禁止網(wǎng)卡)。

          提示:
          如果你的IP總是在更換比如在公司回來又在家(EM肯定在一個地方無法啟動),
          如查你的IP是DCHP非靜態(tài)IP。

          以上情況最好在安裝前Oracle把網(wǎng)卡禁止掉,再安裝Oracle,安裝完成后再開啟網(wǎng)卡。以后在啟動EM時先禁止網(wǎng)卡啟動EM后。再開啟網(wǎng)卡。(我只有這個辦法不知道哪位還有更好的方法)


          安裝好Oracle后 在Windwos服務(wù)當(dāng)中把Oracle相關(guān)的3個設(shè)置成手動啟動,這樣加快計算機啟動時的速度,要用Oracle的時候,再去XP的服務(wù)當(dāng)中開啟Oracle 的服務(wù)。

          EM啟動停止命令

          emctl start dbconsole
          emctl stop dbconsole
          posted @ 2010-06-16 08:13 Alex刺客 閱讀(901) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 当雄县| 福安市| 万州区| 康马县| 武陟县| 巴里| 新营市| 东乡县| 肇庆市| 贵州省| 兴隆县| 兴安盟| 彭山县| 宁明县| 边坝县| 泌阳县| 武鸣县| 青岛市| 缙云县| 科技| 且末县| 台湾省| 会宁县| 久治县| 湄潭县| 宁安市| 白河县| 山东省| 阳原县| 胶南市| 长武县| 南京市| 四会市| 和硕县| 九台市| 三台县| 西盟| 吉木乃县| 丽水市| 兴国县| 吉安市|