advertisement

2016年4月14日

特殊符號 英文對照表

Ref: http://www.lookuptables.com/

https://www.freeformatter.com/html-entities.html

CharacterEntity NameEntity NumberDescription
  Space
!!Exclamation mark
""Quotation mark
##Number sign
$$Dollar sign
%%Percent sign
&&&Ampersand
''Apostrophe
((Opening/Left Parenthesis
))Closing/Right Parenthesis
**Asterisk
++Plus sign
,,Comma
--Hyphen
..Period
//Slash
00Digit 0
11Digit 1
22Digit 2
33Digit 3
44Digit 4
55Digit 5
66Digit 6
77Digit 7
88Digit 8
99Digit 9
::Colon
;&#59;Semicolon
<&lt;&#60;Less-than
=&#61;Equals sign
>&gt;&#62;Greater than
?&#63;Question mark
@&#64;At sign
A&#65;Uppercase A
B&#66;Uppercase B
C&#67;Uppercase C
D&#68;Uppercase D
E&#69;Uppercase E
F&#70;Uppercase F
G&#71;Uppercase G
H&#72;Uppercase H
I&#73;Uppercase I
J&#74;Uppercase J
K&#75;Uppercase K
L&#76;Uppercase L
M&#77;Uppercase M
N&#78;Uppercase N
O&#79;Uppercase O
P&#80;Uppercase P
Q&#81;Uppercase Q
R&#82;Uppercase R
S&#83;Uppercase S
T&#84;Uppercase T
U&#85;Uppercase U
V&#86;Uppercase V
W&#87;Uppercase W
X&#88;Uppercase X
Y&#89;Uppercase Y
Z&#90;Uppercase Z
[&#91;Opening/Left square bracket
\&#92;Backslash
]&#93;Closing/Right square bracket
^&#94;Caret
_&#95;Underscore
`&#96;Grave accent
a&#97;Lowercase a
b&#98;Lowercase b
c&#99;Lowercase c
d&#100;Lowercase d
e&#101;Lowercase e
f&#102;Lowercase f
g&#103;Lowercase g
h&#104;Lowercase h
i&#105;Lowercase i
j&#106;Lowercase j
k&#107;Lowercase k
l&#108;Lowercase l
m&#109;Lowercase m
n&#110;Lowercase n
o&#111;Lowercase o
p&#112;Lowercase p
q&#113;Lowercase q
r&#114;Lowercase r
s&#115;Lowercase s
t&#116;Lowercase t
u&#117;Lowercase u
v&#118;Lowercase v
w&#119;Lowercase w
x&#120;Lowercase x
y&#121;Lowercase y
z&#122;Lowercase z
{&#123;Opening/Left curly brace
|&#124;Vertical bar
}&#125;Closing/Right curly brace
~&#126;Tilde

2016年4月13日

Linux 上傳檔案到 Gist GitHub


platform:Debian Jessie x64 PC

安裝gist
# apt-get install gist

登入gist帳密
$ gist-paste --login
Obtaining OAuth2 access_token from github.
GitHub username: clementyan
GitHub password:
Success! https://github.com/settings/applications

檢查
$ ls -la | grep gist
-rw------- 1 clementyan clementyan 40 Apr 13 21:27 .gist

上傳檔案
$ gist-paste linux_kernel_source_tree.txt -f kernel_source_tree.txt -o

說明
-o, --open Open the resulting URL in a browser.
-f, --filename [NAME.EXTENSION] Sets the filename and syntax type.
--login Authenticate gist on this computer.

Ref:gist-paste -h

2016年4月8日

RPM 、DPKG 和 APT Package Manager 指令對照表

Ref:
https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/RedHatEnterpriseLinuxAndFedora
http://packman.linux.is/

下載 package source code


Step 1. 確認sources.list檔案是否有deb-src
$ cat /etc/apt/sources.list|grep deb-src
deb-src http://opensource.nchc.org.tw/debian/ jessie main
deb-src http://security.debian.org/ jessie/updates main
deb-src http://opensource.nchc.org.tw/debian/ jessie-updates main

Step 2. 下載 package source code
$ apt-get source libc6
# ls -l
total 13136
drwxr-xr-x 73 root root 4096 Apr 8 05:50 glibc-2.19
-rw-r--r-- 1 root root 1043764 Feb 28 10:24 glibc_2.19-18+deb8u4.debian.tar.xz
-rw-r--r-- 1 root root 8238 Feb 28 10:24 glibc_2.19-18+deb8u4.dsc
-rw-r--r-- 1 root root 12387008 Jun 18 2014 glibc_2.19.orig.tar.xz

Ref:https://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html

Qt-Android Project Adding external library

Ref:
http://stackoverflow.com/questions/32018316/adding-external-library-into-qt-android-project
http://forum.qt.io/topic/29027/qt-creator-android-and-external-libraries/3
http://doc.qt.io/qt-5/deployment-android.html
http://doc.qt.io/qtcreator/creator-deploying-android.html

2016年4月6日

Raspberry Pi 3 環境建置流程


why?因應公司要求
what?寫RPi3環境建置教學文件給公司
how?如下

Raspbian預設登入帳密
帳號:pi
密碼:raspberry
事前準備:
1.          Raspberry Pi 3
2.          USB充電器(Output 建議2A)
3.          USB2.0 to microUSB cable
4.          4GB micro SD card
5.          micro SD card讀卡機
6.          HDMIVGA(option)

2016年3月15日

Raspberry Pi 3 Wifi 測試

Pi 3 拿到就等不急要拿來玩拉~~

Plantform:Raspberry Pi 3
O.S.:RASPBIAN JESSIE LITE

# iwconfig
# iwlist wlan0 scan |grep ESSID
# wpa_passphrase ESSID PASSWORD >> /etc/wpa_supplicant/wpa_supplicant.conf
# /sbin/shutdown -r now