Skip to main content

Jixun's Blog 填坑还是开坑,这是个好问题。

Mastodon

Babel 7: Force Transpile of installed package source code

So here is the problem; I have an existing project which installs a private package that uses features not-yet-supported in an old version of node.

And due to the fact that @babel 7 will not transpile any files under node_modules (Maybe I need a file like .babelrc for that package?) regardless of my include or ignore configuration.

Read more »

Patch Win32 Disk Imager to work with system has RamDisk

This problem was reported back in 2017: win32diskimager/tickets/47

A quick workaround was to assign drive A or B as the RamDisk, and don’t let Win32DiskImager to access it:

004066CC | C1EB 02     | shr ebx,2                  |
004066CF | 85DB        | test ebx,ebx               |
004066D1 | 74 27       | je win32diskimager.4066FA  |
004066D3 | 90          | nop                        |
004066D4 | BE 43000000 | mov esi,43                 | 43:'C'

Or, use the patcher below to specify the drive you would like to ignore:

Read more »