patch-package
snapdrop
Our great sponsors
patch-package | snapdrop | |
---|---|---|
65 | 430 | |
9,953 | 17,330 | |
- | - | |
6.3 | 0.6 | |
9 days ago | about 1 month ago | |
TypeScript | JavaScript | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
patch-package
-
Finding Stars and Affirmations in the Sky with Three.js for Ayra Starr
In order to allow users to use their device as a controller to adjust the position of the camera and find stars, I use the depreciated DeviceOrientationControls by patching it back into Three. In order for DeviceOrientationControls to function, we need access the user to grant access to their device's orientation. I attempt to gain access to this, alongside their camera, during a previous step of the UX using a custom composable I wrote for this purpose. You can see that permission step in the mockup video above. Once this permission is granted, we can initialize our DeviceOrienationControls with a single line.
-
TypeScript NPM Packages Done Right
If you use Yarn, there’s the `yarn patch` command [1], which lets you maintain patches for your dependencies. Even though I try to upstream patches wherever possible, sometimes you just want to apply a quick patch and move on, especially if the dependency is poorly maintained or even worse, deeply nested in your dependency hierarchy. I use `yarn patch` regularly, it’s one of the main reasons why I moved to Yarn in the first place.
If you’re not using Yarn, there seems to be a similar thing on npm, `patch-package`. [2] I never had to use that though.
[1]: https://yarnpkg.com/cli/patch
[2]: https://www.npmjs.com/package/patch-package
- Fix broken node modules instantly
-
How to ignore an error , that happens in a node modules library ?
You can use patch-package to edit the part of the library.
- Jest not recommended to be used in Node.js due to instanceOf operator issues
-
Getting kinda stuck with a build error, any help much appreciated
patch-package
-
Credentials Leak with Knex
NPM doesn't have a patch command, but you can use patch-package to achieve the same result.
-
Why react native is so shit
If there's issue ticket discussing it and someone can fix it, ask for patch file and use patch-package to patch it
- Eas local build, how skip npm install
-
Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
You can try this (I highly recommend you to use the Patch Package library to track changes on any external library that you are using. (https://www.npmjs.com/package/patch-package)
snapdrop
-
WebRTC API
Snapdrop.net is one of many examples of the uses for this API, using it with WebSocket API allows endpoints on the same local network to distribute files and send data between them. We can find the source code for the project here.
- LocalSend: Open-source, cross-platform file sharing to nearby devices
- How to copy a file between devices?
-
Free and Open Source Alternative to Airdrop
similar: I have been using https://snapdrop.net/ for a few years now.
-
Is there a way to get to linux devices (say a desktop and a laptop) to sync and share files between them?
Localsend for sharing files once in a while, snapdrop is an online alternative. Syncthing to sync folders between devices.
-
Localsend: Open-Source Airdrop Alternative
Related projects:
- FlyingCarpet: direct transfer over local adhoc WIFI: https://github.com/spieglt/FlyingCarpet
- LANDrop: Drop any files to any devices on your LAN: https://github.com/LANDrop/LANDrop
- In-browser file transfer similar to Airdrop: https://snapdrop.net/
- Magic Wormhole: simple file transfer from computer-to-computer over the net: https://github.com/magic-wormhole/magic-wormhole
- Croc: similar to magic wormhole: https://github.com/schollz/croc
- Wormhole: user-friendly in-browser based e2e encrypted file transfer: https://wormhole.app/
- Ask HN: What method do you use to send a link from smartphone to laptop?
-
Transfer files from android
I can’t 100% vouch for it, but snapdrop.net seems like a good cross platform option here.
-
How to transfer videos from iPhone to PC?
https://snapdrop.net/. Been using it for years for quick iOS > Windows transfers. Works great and unique names mean you know what device you’re sending to!
-
PSA: LocalSend is the easiest way to copy files to your deck wirelessly
I use snapdrop.net. Doesn't necessarily need an app.
What are some alternatives?
husky - Git hooks made easy 🐶 woof!
sharedrop - Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
node-pre-gyp - Node.js tool for easy binary deployment of C++ addons
PairDrop - PairDrop: Local file sharing in your browser. Inspired by Apple's AirDrop. Fork of Snapdrop.
vite - Next generation frontend tooling. It's fast!
LANDrop - Drop any files to any devices on your LAN.
vercel - Develop. Preview. Ship.
localsend - An open-source cross-platform alternative to AirDrop
Faker.js - What really happened with Aaron Swartz?
libreddit - Private front-end for Reddit
basic-ftp - FTP client for Node.js, supports FTPS over TLS, passive mode over IPv6, async/await, and Typescript.
updog - Updog is a replacement for Python's SimpleHTTPServer. It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use http basic auth.