Posts

Share of print

โดนเอาเลขบัตรเครติดไปใช้ออนไลน์

Image
Time Line....... พุธ 25 กค 2018    ตื่นมาตอน 8 โมงเช้า หยิบมือถือมาดูเห็นมี SMS จาก TMB ส่งมาตอน 05.37 ว่า "คุณได้ใช้บัตร TMB ซื้อของผ่าน internet จำนวน 16,650.36 บาท  หากสงสัยให้โทร 026134360" ตกใจ หูตั้งหางชี้ สิครับ.. รีบกระโดดไปเปิดกระเป๋าหาบัตร  ก็อยู่นิ ไม่ได้หายไปไหน....    จึงรีบกดโทรไปเบอร์ใน SMS ทันที ...     แน่นอนครับ โทรไปธนาคารอย่างที่คาดไว้ก็คือ  ...ขณะนี้พนักงานกำลังให้บริการเต็มทุกคู่สาย.... รอไปสิครับ  ...    ในใจฉุกคิดหรือว่า เป็น Phishing หลอกหลวง...  ลองเอาเบอร์ไปค้นดูดิว่าใช้เบอร์ธนาคารจริงปล่าว   😱เวงหล่ะ  ของจริง...งานเข้าแล้ว  วันนี้ต้องไปต่างจังหวัดด้วย.... เอาไงดี    รีบเปิด notebook เข้า web  tmbdirect.com ดู Transaction ดิ ว่ามีขึ้นหรือปล่าว   ปรากฏว่ายังไม่มีขึ้น  (ธรรมดาต้องรอให้เรียกเก็บก่อนถึงจะมีขึ้นใน unbill balance)    กด  webchat ใน web tmb ด่วนเลย  โชคดีตอนเช้า มีพนั...

ดูรายละเอียด process บน Linux

159 down vote accepted On all POSIX-compliant systems, and with Linux, you can use  ps : ps -p 1337 -o comm= Here, the process is selected by its PID with  -p . The  -o  option specifies the output format,  comm meaning the command name. You can find the process name or the command used by the process-id or pid from /proc/pid/cmdline by doing cat /proc/pid/cmdline Here pid is the pid for which you want to find the name For exmaple: # ps aux ................ ................ user 2480 0.0 1.2 119100 12728 pts/0 Sl 22:42 0:01 gnome-terminal ................ ................ To find the process name used by pid 2480 you use can # cat /proc/2480/cmdline gnome-terminal

วิธีการ ดู postfix mailq process sender

ลบ postfix q mailq postsuper -d ALL https://www.wirehive.com/5-top-tips-reviewing-postfix-mail-queue/ 2- View message (contents, header and body) in Postfix queue To view a message with the  ID XXXXXXX (you can see the ID from the queue) postcat -vq XXXXXXXXXX 2- View message (contents, header and body) in Postfix queue To view a message with the  ID XXXXXXX (you can see the ID from the queue) postcat -vq XXXXXXXXXX postcat: dict_eval: const  1s postcat: dict_eval: const  127.0.0.0/8 [::1]/128 postcat: inet_addr_local: configured 2 IPv4 addresses *** ENVELOPE RECORDS maildrop/2829CBFBCA *** message_arrival_time: Fri Dec  9 11:11:28 2016 named_attribute: rewrite_context=local sender_fullname: www-data sender: michael_kemp@gScm.nida.ac.th *** MESSAGE CONTENTS maildrop/2829CBFBCA *** regular_text: To: mjaxeman@hotmail.com regular_text: Subject: The interview is scheduled for tomorrow! regular_text: X-PHP-Originating-Script: ...

css สำหรับทำหน้า website เป็น สีขาว-ดำ

Image
แนะนำ CSS ไว้สำหรับทำหน้า website รวมถึงรูปภาพเป็น ขาวดำ ครับ นำไปใน File .css ที่ท่านใช้งาน   เลือก .css ที่ท่านเรียกใช้งานทุกหน้าครับ body { filter: grayscale(1); transition-property: filter; transition-duration: 5s; } จะกลายเป็น

การใช้ Powershell เข้า Office 365 (Exchage Online)

Image
สามารถใข้ power shell ต่อไป Office 365 ( Exchange Online) ได้โดย Windows 8.1 , 10 Run > พิมพ์ PowerShell    จากนั้น คลิ๊ก ขวา ให้ Run as Administrator จะได้หน้าจอสีน้ำเงินขึ้นมา จากนั้นพิมพ์  $Cred = Get-Credential จะมีหน้าจอให้ login   ให้ใส่ Office 365 Account ที่เป็น admin  จากนั้น $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection ต่อด้วย Import-PSSession $s ต่อสำเร็จให้ลอง พิมพ์  Get-mailbox      ถ้าได้แสดงว่าต่อสำเร็จแล้ว ถ้าจะออก ก็  พิมพ์  Remove -PSSession $s Get-Mailbox -Identity "xxx@xxxx"| Select-Object * Get-MailboxStatistics -Identity "xxxxx@xxxxx"| Select-Object * Get-LogonStatistics -Identity "xxxxxx" | Select-Object *

KM

find / -name *.php -printf '%Tc %p\n'|grep 2016 |more

ทำความเข้าใจเรื่อง การ Clear Browser Cache

Image
เวลาเราใช้  Browser เพื่อเข้าสู่ Website นั้น ในครั้งแรกที่เราไปเข้า website ที่ไม่เคยเข้า  Browser จะไปเอาข้อมูลจริงๆ มาไว้ที่เครื่องเราด้วย ดังนั้น Status ของ HTTP status code จะเท่า 200 OK  คือ ไปดึงข้อมูลล่าสึดมาจาก website จริงๆ ซึ่ง แต่ละหน้า Webpage จะประกอบด้วยหลายๆ component หลายส่วน เช่น Code html , Java Script , รูปภาพ , VDO , Flash , ไฟล์เสียง จากรูปข้างล่างจะแสดงให้เห็นว่า  Page หน้านี้  ต้องไปดึง component  มาทั้งหมด 98 ตัว และต้องใช้ traffic 4.2 MB  ในการโอนข้อมูลจาก Web Server มาที่เครื่องของเรา 200  OK  คือไปดึงข้อมูลมาจาก website จริงๆ แต่พอเราไปเข้า หน้า Webpage เดิม  ไม่ว่าจะด้วยการ กด F5 หรือ ปุ่ม Refresh หรือ ปุ่ม Reload  เพื่อดึงข้อมูลมาอ่าน   ทาง ฺBrowser จะวิ่งไปถาม Web server ว่า  หน้านั้นมีอะไรเปลียนแปลงหรือไม่ หากไม่มีการเปลียงแปลงของข้อมูลของแต่ละ Component       HTTP status code จะเท่า 304  Not Modified    เป็นการบอกว่าให้ ใช้ข้อ...