2018年1月4日 星期四

AIX 查 RAM,CPU,HD,IP

AIX UNIX RAM
# prtconf -m
# bootinfo -r
# lsattr -El sys0 -a realmem
# lsattr -El mem0

Show CPU
# prtconf -s
# pmcycles -m
# lsdev -Cc processor

# bindprocessor -q

Show Hard disks/Capacity
# lsdev -Cc disk
# lspv
# bootinfo -s hdisk0

Show IP Addresses
# ifconfig -a | grep inet
# lsattr -El en0 -a netaddr

paging space
lsps -a

參考來源:http://www.unixmantra.com/2013/09/aix-listing-cpu-memory-ram-harddisks-ip-address.html

2017年11月17日 星期五

Google Apps (suite) 用 SDK 切主網域

Change of Primary Domain in Google Apps
  1. Login to your Google Apps Control Panel.
  2. Browse to Google Apps API Page where you change customer information. Make sure you see your Admin email address in to right corner.
  3. Click “Try it now” link.
  4. In “customerKey” field enter “my_customer“.
  5. In “fields” field enter “customerDomain“.
  6. Click “Request body” field, a drop down box will appear & select “customerDomain“.
  7. In the newly appear field, enter your Secondary Domain which you want to change to Primary Domain.
  8. Finally click the blue “AUTHORIZE AND EXECUTE” button.
  9. When the process is done, your secondary domain is converted to Primary Domain and vise versa.
參考:https://www.internetearnings.com/how-to-change-primary-domain-in-google-apps/

2017年9月28日 星期四

CSS at-rule (@)

下面是一些 @規則, 由它們的標示符指定, 每種規則都有不同的語法

@charset , 定義樣式表使用的字符集
@import , 告訴 CSS 引擎引入一個外部樣式表
@namespace , 告訴 CSS 引擎必須考慮XML命名空間

嵌套 @ 規則, 是嵌套語句的子集,不僅可以作為樣式表裡的一個語句,也可以用在條件規則組裡:
@media , 如果滿足媒介查詢的條件則條件規則組裡的規則生效。
@page , 描述打印文檔時佈局的變化.
@font-face , 描述將下載的外部的字體。
@keyframes , 描述 CSS 動畫的中間步驟 .
@supports , 如果滿足給定條件則條件規則組裡的規則生效。
@document , 如果文檔樣式表滿足給定條件則條件規則組裡的規則生效。 (推延至 CSS Level 4 規範)


參考來源:https://developer.mozilla.org/zh-CN/docs/Web/CSS/At-rule