Categories

Archives

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

How to disable Protected View in Microsoft Word

If you’re routinely on the receiving end of Word documents and have a current version of Microsoft Office, you may have noticed something: Whenever you open one of these file attachments or downloads, Word opens in something called Protected View.

This is, believe it or not, a feature, even if it comes across an annoyance. By restricting to merely viewing the document, Word is protecting you from any viruses that may be embedded in the file. Because remember the infamous Melissa macro virus of 1999? You never know when it’s going to come roaring back.

I kid, I kid — better safe than sorry. And it’s easy enough to click Enable Editing and go on about your business. But if your documents always come from reliable sources and you’re running reliable antivirus software, you may prefer to turn off Protected View and save that extra step. Here’s how:

Step 1: Start Word, click File and then choose Options.

trust-center-settings.jpg
Screenshot by Rick Broida/CNET

Step 2: Click Trust Center and then Trust Center Options.

protected-view-disable.jpg
Screenshot by Rick Broida/CNET

Step 3: Click Protected View, then disable (uncheck) all three of the options listed there.

Step 4: Click OK and you’re done!

Again, this is something you should do at your own risk, as all it takes is one security breach to wreak havoc on your documents or entire system.

 

ที่มา: https://www.cnet.com/how-to/how-to-disable-protected-view-in-microsoft-word/

การ copy ไฟล์ โดยยังคง permission

HOW TO: Copy a Folder to Another Folder and Retain its Permissions

ตัวอย่าง

xcopy m:\user user /O /X /E /H /K

กรณียังไม่เคยมี folder user  โปรแกรม xcopy จะถามว่า destination เป็น File หรือ Directory

Summary


This step-by-step article describes how to copy a folder to another folder and retain its permissions.

When you copy or move files and folders by using Windows Explorer, the permissions that are set on the files or folders may change. For example, when you copy a file in an NTFS file system volume or between two NTFS volumes, Windows 2000 treats it as a new file. As a new file, it takes on the permissions of the destination folder, and you become the CREATOR OWNER.

NOTE: You must have Write permission for the destination folder to copy files and folders.

You can use the Xcopy command with the /O/X/E/H/K switches to copy the files and retain the existing permissions that have been specifically applied to the file or files.

These switches have the following effects:

/E – Copies folders and subfolders, including empty ones.
/H – Copies hidden and system files also.
/K – Copies attributes. Typically, Xcopy resets read-only attributes.
/O – Copies file ownership and ACL information.
/X – Copies file audit settings (implies /O).

NOTE: This procedure does not override inherited permissions. When you use the Xcopy command with the /O /X /E /H /K switches to copy the files, the following inherited permissions apply:

  • The security settings that are directly assigned to the files and folders are retained.
  • The security settings that are inherited from the source parent folder are lost.
  • The security settings of the destination folders are inherited.
  • When you move files or folders to FAT volumes, the folders and files lose their NTFS permissions because FAT volumes do not support NTFS permissions.

For more information about inheritance, see the “Changing inherited permissions” topic in Windows Help.

Copy a Folder to Another Folder and Retain its Permissions

  1. Click Start, and then click Run.
  2. In the Open box, type cmd, and then click OK.
  3. Type xcopy sourcedestination /O /X /E /H /K and then press ENTER, where source is the source path for the files to be copied, and destination is the destination path for the files.

Example

Type xcopy c:\olddocs c:\newdocs /O /X /E /H /K, and then press ENTER, where olddocs is the source folder and newdocs is the destination folder.

RC522

Code

 

EMON

Code

 

ESP8266 แจ้งเตือนเข้า LINE

ที่มา: https://www.ioxhop.com/article/47/esp8266-esp8285-%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%AA%E0%B9%88%E0%B8%87%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%81%E0%B8%88%E0%B9%89%E0%B8%87%E0%B9%80%E0%B8%95%E0%B8%B7%E0%B8%AD%E0%B8%99%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2-line

การต่อ OLED กับ WeMOS D1

อุปกรณ์ที่ต้องมี

  • WeMos D1
            
  • OLED I2C

Library

 

การติดตั้ง Library

 

การต่อสาย

60A16 – ระบบจอดรถอัฉริยะ (Smart Car park System)

<< โครงงานปี 2560

 

การต่อวงจร

ต่อ Sensor ตรวจจับรถ

ต่อ OLED

Code

 

 

ข้อมูลอ้างอิง

60A15 – ระบบตรวจหา Arduino (Arduino Finder with RPi)

<< โครงงานปี 2560

60A14 – อุปกรณ์ควบคุมด้วย Alexa Voice (Voice Control with Alexa)

<< โครงงานปี 2560

60A13 – เครื่องทาบบัตรนักศึกษา เพื่อการอนุญาตออกนอกสถานศึกษา สำหรับป้อมยาม (Student Check for free class)

<< โครงงานปี 2560

Page 1 of 6112345...102030...Last »