physicsdude / lazysyncer Goto Github PK
View Code? Open in Web Editor NEWCommand line tool to 'constantly' push changes from a local directory to a directory on a remote machine without constantly using the network.
Command line tool to 'constantly' push changes from a local directory to a directory on a remote machine without constantly using the network.
There's nothing fancy to see here; it just works. constant_push.pl: Command line tool to 'constantly' push changes from a local directory to a directory on a remote machine without constantly using the network. sync.pl: Used by constant_push.pl to do the actual syncing of files. Why would you use this? constant_push.pl can be handy when you're doing remote development. It turns out it's really nice to be able to edit files that actually exist on your local box instead of editing the code using vim over ssh or using sshfs. If you've tried doing either of those things you know they have downsides, admit it. That's not to say using this script doesn't have downsides, e.g. you need to make sure you set up and start this script, and it blows away your remote .git directories (you keep your local ones - it turns out syncing git directories all the time is not a great idea), but IMO it's preferable to edit files locally. Another benefit is that you can have several copies of your repo on your local machine, each with different branches on them, and you can sync the chosen one to the remote server. Then you can work on something else without having to mess with what you were doing in the other directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.