Posts

Showing posts from 2015

Remount Ejected USB without Replugging - OS X

You can use this command line to unload and reload the USB kernel extension. sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext Instead of ejecting, you can also use diskutil to unmount and remount later.

Write NTFS in OSX

In Terminal sudo chmod 666 /etc/fstab sudo nano /etc/fstab Then LABEL=drivename none ntfs rw,auto,nobrowse Make sure to replace drivename with the name of the drive.  Press Control-O to save the file and Control-X to exit nano. Change mod back to 644. After that unmount and remount. Access the disk via Shift+Cmd+G, /Volumes. Don't forget to unmount before detach.

Reverse Wheel Scrolling in Windows 8.1

เปลี่ยน Registry (??VID??\DeviceParameters\FlipFlopWheel) ไม่ work เพราะ Hardware ID ที่ดูใน properties อาจไม่ตรง ต้องเปิด PowerShell (Run As Admin) แล้ว Run Script Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 } เพื่อไล่เปลี่ยนทุกอัน เสร็จแล้วต้อง restart ด้วย ถ้าต้องการเปลี่ยนกลับเหมือนเดิมก็ Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopHScroll -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopHScroll 0 }