Smile

…to Remember, …to Forget

Browsing Posts published by admin

星期天的大早上,麥當奴的快餐店裏。

點了兩份早餐,明明下單是「堂食」,領到的卻是「外帶」包裝的。
要了餐盤,帶回座位。
一面看着「感謝你支持環保,木刀叉。。。」,一面打開四個膠袋,一個紙袋。。。
撕開咖啡糖袋,
哪個half-witted把湯匙設計成這個紙樣的,
怎能用這樣的湯勺舀湯呢。。。
holy-shit!!!

。。。

我把咖啡糖全加進了通粉裹了!

。。。

吃吧,還能怎樣呢。
反正進了胃裹也是一樣。
a+b+c=(a+b)+c, the same, a+(b+c)

。。。

通粉加糖,味道確實不差!
微甜的味精湯,更有神韻!
(我也衹能夠這樣安慰自己)

那紙湯匙真的不好用,我是端著喝的!

On Windows 7, to add new firewall rules, or to modify the rules.

To add a new firewall rule:

netsh advfirewall firewall add  rule name="rdp-miles" dir=in localport=3389 action=allow remoteip=192.168.1.123,123.234.45.67/32 protocol=tcp

To alter the firewall rule:

netsh advfirewall firewall set  rule name="rdp-miles" new remoteip=192.168.1.0/24,123.234.45.67/32

To show the firewall rule

netsh advfirewall firewall show rule name="rdp-miles"

When remotely login into the Windows 2012 server, it pops reboot countdown of 15 minutes.

Damn! i don’t want to reboot now! Stop it!

here is the solution to stop the reboot countdown after updates:

c:\> net stop WUAUSERV

or in services, stop the service “Windows Update”.

after that, countdown stopped, do your things and reboot manually.

===============================================================

# What sort of halfwit thought that allowing a server to reboot automatically when a user logs in was a good idea?

# Same person who decided to keep the crazy tile theme on a server OS?

 

 

for Centos 7, chrony is used in place of ntp.
comparing chrony vs ntp, >>> http://chrony.tuxfamily.org/manual.html#Other-time-synchronisation-packages

 

to check what files chrony package installed,

rpm -ql chrony

[root@localhost ~]# rpm -ql chrony
/etc/NetworkManager/dispatcher.d/20-chrony
/etc/chrony.conf
/etc/chrony.keys
/etc/dhcp/dhclient.d/chrony.sh
/etc/logrotate.d/chrony
/usr/bin/chronyc
/usr/lib/systemd/ntp-units.d/50-chronyd.list
/usr/lib/systemd/system/chrony-wait.service
/usr/lib/systemd/system/chronyd.service
/usr/libexec/chrony-helper
/usr/sbin/chronyd
/usr/share/doc/chrony-1.29.1
/usr/share/doc/chrony-1.29.1/COPYING
/usr/share/doc/chrony-1.29.1/NEWS
/usr/share/doc/chrony-1.29.1/README
/usr/share/doc/chrony-1.29.1/chrony.conf.example
/usr/share/doc/chrony-1.29.1/chrony.conf.example2
/usr/share/doc/chrony-1.29.1/chrony.keys.example
/usr/share/doc/chrony-1.29.1/chrony.txt
/usr/share/doc/chrony-1.29.1/faq.txt
/usr/share/info/chrony.info.gz
/usr/share/man/man1/chrony.1.gz
/usr/share/man/man1/chronyc.1.gz
/usr/share/man/man5/chrony.conf.5.gz
/usr/share/man/man8/chronyd.8.gz
/var/lib/chrony
/var/lib/chrony/drift
/var/lib/chrony/rtc
/var/log/chrony

with reference to: https://kb.iu.edu/d/adqw

 

You can kill a Unix login session remotely by sending a hangup signal (SIGHUP) to the process running the login session. continue reading…

i have been busy for changing diapers, cleaning milk bottles for those months.

now, my girl is walking, hitting around, and will do a sweet kiss on papa’s playing long face, and my boy, growing up after his sister.

OK, everything is fine!

OK, i need to get back to work! Do Dance, Dance, and Dance.

🙂

Jquery – The write less, do more javascript library has all sorts of different code samples that do a wide variety of things. Today, we’ll be looking at different Jquery Slideshow applications that can be used to diversify your homepage, content, or anywhere that is big enough to display an image. continue reading…