Categories
- FFMpeg (5)
- Libav (1)
- Google (3)
- iBeacon (1)
- LDAP (3)
- Me (2)
- Network (11)
- OS (149)
- RTMP (4)
- SIP (1)
- Kamailio (1)
- SNMP (1)
- VMware (20)
- VCP考試 (1)
- 伺服器 網站服務 (105)
- 名詞解釋 (4)
- 專案管理 (1)
- 工具軟體 (51)
- Adobe (1)
- FMS (1)
- Cloudera (1)
- Docker (1)
- Eclipse (4)
- Intellij (2)
- OBS (2)
- Office (10)
- Excel (4)
- PowerPoint (5)
- Postman (2)
- Splunk (13)
- Virtualbox (2)
- Visual Studio (2)
- 文字編輯器 (10)
- Sublime Text 2 (6)
- Sublime Text 3 (3)
- Vim (3)
- 連線工具 (1)
- Xshell (1)
- Adobe (1)
- 程式語言 (80)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (30)
- JavaScript (5)
- jQuery (4)
- jsTree (2)
- JSP (3)
- PHP (16)
- Python (8)
- Ruby (1)
- sed (1)
- Shell Script (8)
- Windows Bash Script (1)
- XML (1)
- 資料庫 (37)
- FFMpeg (5)
Author Archives: cowman.chiang
[Java] unicode to string
public static void main(String[] args) { try { String abc = “0043006F0077006D0061002E002E002E90808ACB”; System.out.print(getString(abc)); } catch (Exception e) { System.out.println(“err”); } } public static String getString(String strValue) { StringBuilder str = new StringBuilder(); String temp; for (int i = 0; i … Continue reading
Posted in Java
Leave a comment
HBase: put byte value
put “TableName”, “rowkey”, “cf:fieldname”, [0].pack(“N”) N => byte array put “TableName”, “rowkey”, “cf:fieldname”, [0].pack(“Q>”) Q => 64-bit unsigned, native endian => change endian to big endian
Posted in HBase
Leave a comment
[Linux] sudo: sorry, you must have a tty to run sudo
edit /etc/sudoers find ‘requiretty’ add username like this Defaults:webuser requiretty
Posted in Linux
Leave a comment
What I think?
I think the correct process of the information system is more important than beautiful code.
Posted in Me
Leave a comment
[CSS] Removing outline on image map area
Ref. Removing outline on image map area HTML <img class=”map” src=”…” usemap=”…” hidefocus=”true” /> CSS img.map, map area{ outline: none; }
Posted in CSS
Leave a comment
[PHP] Output debug information to console
echo “<script>console.log( ‘Debug Objects: ” . $data . “‘ );</script>”; Ref. stackoverflow: How can I write to console in PHP?
Posted in PHP
Leave a comment
[MySQL] Find in fixed string
Ref. MySQL 的 FIND_IN_SET函數 SELECT * FROM table WHERE FIND_IN_SET(ID, ‘2,5,6,7,8,9,11,21,33,45’)
Posted in MySQL
Leave a comment
[Git] List of changed files with another branch
git diff –name-only branchname
Posted in Git
Leave a comment
[HBase] Scan with filter by partial rowkey using HBase shell
If we have these rowkey list data. xx_abc xx_abc_def xx_abd xx_abd_rfg To get rowkey which contain “abc” scan ‘TableName’, FILTER => “RowFilter(=, ‘substring:abc’)” We will get these. xx_abc xx_abc_def But if we want only get “xx_abc” scan ‘TableName’, FILTER => … Continue reading
Posted in HBase
Leave a comment
Add SublimeText 2 context menu to windows explorer
Ref. Github: iaian/sublimeText2_contextMenu.reg Replace the Sublime Text Directory’s path.
Posted in Sublime Text 2, Sublime Text 3
Leave a comment