我們家的寶貝最近有新的乳名 "小二"
小二就是店小二
我們都會請她幫我們做簡單的事情, 列如:
拿水壺, 媽媽的水壺裝滿水的時候滿重的.
她都要用兩隻手拖著水壺走
拿自己的毛巾去洗澡
拿自己的奶瓶
還會幫我們按摩(跑到我們的背後摸我們的脖子,然後一直說"按摩按摩"...
從小培養幫忙做家務,希望以後不會有公主病!
我們家的寶貝最近有新的乳名 "小二"
小二就是店小二
我們都會請她幫我們做簡單的事情, 列如:
拿水壺, 媽媽的水壺裝滿水的時候滿重的.
她都要用兩隻手拖著水壺走
拿自己的毛巾去洗澡
拿自己的奶瓶
還會幫我們按摩(跑到我們的背後摸我們的脖子,然後一直說"按摩按摩"...
從小培養幫忙做家務,希望以後不會有公主病!
今天早上的天氣特好
洗完衣服後,餵了喬恩一瓶奶就推著她出去走走
可惜媽媽今天還要加班ㄚ!
從決定買這裡,至今住了6,7年還是很滿意我們的住宅區Alamanda

今天Alamanda Cafe裡面幾乎滿座, 所以我們兩人就到外面坐囉

小寶貝到外面走走特高興

喝完咖啡,去看鴨鴨

多了好多小天鵝,幸福的家庭

小寶貝回家的路上在推車裡就呼呼大睡了
開始準備小寶貝的午餐囉!
Install Ubuntu Server as usual
Don't forget to install Openssh Server during the process
After it finished, if you want to install lightweight desktop: (this is optional, because most of the works are done in terminal via ssh)
For ex: (lxde)
#sudo apt-get install --no-install-recommends lubuntu-desktop
Now to install NetXMS (current: 2.0.6)
#apt-get update
#apt-get install mysql-server
#apt-get install tomcat7
#apt-get install libmysqlclient-dev
#apt-get install libssl-dev
#apt-get install g++
#apt-get install c++
Create a database:
#sudo mysql -u root
mysql> CREATE DATABASE netxms;
mysql> GRANT ALL ON netxms.* TO netxms@localhost IDENTIFIED BY 'password';
mysql> quit
Download the NetXMS server package:
#wget http://www.netxms.org/download/netxms-2.0.6.tar.gz
#tar -xvf netxms-2.0.6.tar.gz
Configure the package:
#cd netxms.x.x.x
#sudo sh ./configure --with-server --with-mysql --with-agent (it will show some results)
#sudo make
#sudo make install
#sudo cp contrib/netxmsd.conf-dist /etc/netxmsd.conf
#sudo cp contrib/nxagentd.conf-dist /etc/nxagentd.conf
#sudo nano /etc/netxmsd.conf
sample output:
DBDriver = mysql.ddr DBServer = localhost DBName = netxms DBLogin = netxms DBPassword = password LogFile = /var/log/netxmsd LogFailedSQLQueries = yes
#sudo nano /etc/nxagentd.conf
MasterServers = 127.0.0.1, 192.168.1.1
Initiaze agent and server services:
#sudo cat /etc/ld.so.conf.d/libc.conf (check it contain /usr/local/lib, if not add it)
#sudo ldconfig
#sudo ldconfig -p|grep libnetxms (it shows some output)
#/usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql
#/usr/local/bin/nxagentd -d
#/usr/local/bin/netxmsd -d
Download the web based management:
#wget http://www.netxms.org/download/webui/nxmc-2.0.6.war
#sudo rename nxmc-2.0.6.war nxmc.war
#sudo cp nxmc.war /var/lib/tomcat7/webapps/
#sudo netxmsd (this is to start netXMS server properly, otherwise you will get connection refused when you login)
Open browser:
http://ip_address:8080/nxmc/nxmc
(default username: admin, password: netxms)
NetXMS website: http://www.netxms.org/
My installation was based on this reference, though there was some hiccups along the way!
這幾個星期真是難熬
自從打完18個月的疫苗後,喬恩就病了好幾次
或許是巧合, 從一歲斷奶後加上去day care真的比較常生病
先是腹瀉好幾天
拉肚子,拉到屁股紅紅, 擦的時候都會痛哭
後來去看醫生, 醫生看不到5分鐘就開了抗生素給她
因為怕她去奶媽家,奶媽沒辦法一直盯著她
我和小雅還特地請假在家顧她 (其實自己很累也想休息)
上星期六晚上又開始咳嗽發燒
晚上咳的特別嚴重
呼吸短促又快
前兩個晚上還咳到吐, 吐到衣服和床單都要換
半夜還要趕快把她的衣服和床單洗一洗
小孩睡不好, 大人更不用說了
星期三晚上帶她去看醫生(non bulk bill)
看的很仔細, 跟我們解釋的很清楚
也跟我們說一般病毒感染其實不需要用抗生素的
小孩一般情況下會自己產生抗體,以後才不會那麼常生病
還說一般市場賣的咳嗽藥水其實沒效,可能對小孩還會造成不好的影響
沒有(家)人在旁幫忙照顧小孩
對我們來說其實想要喘息的機會都沒有
特別是小孩不舒服的時候
晚上睡不好, 白天要工作
下班回到家, 還要準備晚餐午餐和一堆家事
很多時候還要一手抱著十幾公斤的她,一手邊做事情或煮飯
若這時候其中一個大人又不舒服
這種慘和可憐只有自己知道
幾乎崩潰
但我們能說什麼呢?
為了小孩, 只能咬緊牙根撐下去
畢竟這就是當父母和小孩成長的過程
想想世上許多比我們還不幸的家庭
我們又幸福太多了
這時候只能看看小孩開心的照片
就會覺得一切其實都是值得的


1歲半打預防針, 打針前的開心!
第一針打下去時, 停了幾秒才哇哇大哭!護士還讚她brave girl!
下一次打就4歲了.






For reference only
change commands to suit your needs.
1. Boot with WinPE 5.0
2. Follow normal diskpart procedures to prepare/configure Hard disk.
3. At the command prompt:
DISM /mount-wim /wimfile:[Path to eduSTAR Image] /index:1 /MountDir:[Path of folder created]
* may need /ReadOnly
DISM /unmount-wim /MountDir:[Path to mounted directory] /commit
4.
DISM /Apply-image /Imagefile:[Path to image on usb] /index:1 /ApplyDir:C:\
ex: dism /Apply-image /Imagefile:d\win8.wim /index:1 /ApplyDir:C:\
5.
DISM /Apply-image /Imagefile:[Path to image on usb] /index:2 /ApplyDir:D:\
6. remove all media, reboot.
===Confirmed: After diskpart, skip step 3, then do step 4/5 to apply image.===
If after rebooted, and there is error about OS not found.
boot into WinPE5.0 again, in cmd:> bcdboot C:\Windows
Reboot again.
This is for reference only:
* Change commands to suit your needs.
diskpart /s f:\diskpart.txt
Or manually:
> diskpart > list disk > select disk 0 (usually 0, which is the disk you want to image) > clean > list volume > select volume 1 (drive C) > delete volume > create partition primary (This is will the default size left, or you could specify ex: create partition primary size=80000 > list partition > select partition 1 (The newly created partition) > format fs=ntfs quick > active > assign letter=c > exit
cd TechTools
> imagex /apply source:\C.wim 1 C:
run regedit, browse to:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
Create a new key (DWORD 32bit), LocalAccountTokenFilterPolicy, value = 1
Reboot computer, done.
Reference here.
小寶貝在奶媽家學畫畫, 好像蠻有天份的.

Here is a powershell script where it could "compare and update".
This particular powershell will look for the username and insert it from one file to the other.
* Adjust and use it in your own risk.
$strPath = "C:\s\library.csv" # this is the main spreadsheet which we look for the username and update the password
$strPath2 = "C:\s\Year102016.csv" # this is the csv file which contains the username and password
$objExcel = New-Object -ComObject Excel.Application
$objExcel.Visible = $false
$workbook1 = $objExcel.Workbooks.Open($strPath)
$worksheet1 = $workbook1.sheets.item("library")
$intRowMax1 = ($worksheet1.UsedRange.Rows).count
$workbook2 = $objExcel.Workbooks.Open($strPath2)
$worksheet2 = $workbook2.sheets.item("Year102016")
$intRowMax2 = ($worksheet2.UsedRange.Rows).count
$colA = 1 # column contain the username
$colO = 15 # Where we need to insert the password
#
#
Function checkAndAdd
{
Param($username, $password)
write-host "Second FOR Loop: " $intRow1 " Looking for username: " $username
# Loop from Row 1 to the last Row
for ($intRow1 = 1 ; $intRow1 -le $intRowMax1 ; $intRow1++)
{
# read the username into $colA
$colA = $worksheet1.cells.item($intRow1,1).value2
if ($colA -match $username)
{
Write-Host "Found username: " $username " insert password to column now."
$worksheet1.cells.item($intRow1, $colO) = $password
break
}
} # ROW FOR LOOP
}
# READ the Year102016.csv row by row, pass in the Username, Password, to the other Excel file
# MAIN For Loop
#
Function ReadUsernamePassword
{
# Loop from Row 2 to the last Row
for ($intRow2 = 2; $intRow2 -le $intRowMax2 ; $intRow2++)
{
# Make sure column 1 = username, column 8 = password
$username = $worksheet2.cells.item($intRow2, 1).value2
$password = $worksheet2.cells.item($intRow2, 8).value2
write-host "MAIN For Loop: "$intRow2 " checking username: " $username " password: " $password
checkAndAdd $username $password
}
}
#>
# Check 1 code only
# Beware the strPath file that you read/write to may need to change.
Function Check1Code
{
Param($username, $password)
checkAndAdd $username $password
}
## Uncomment this to Run Check1Code
##
##
#
#Check1Code "abc1234" "password"
ReadUsernamePassword
$workbook1.SaveAs('C:\s\LibraryFINAL.csv') # output file
$objexcel.quit()