cs-education / sysbuild

A system programming learning environment in the browser
https://cs-education.github.io/sys/
Other
36 stars 35 forks source link

Code Snippet Sharing or Distribution via URL Shortener #165

Open coltonmercurio opened 8 years ago

coltonmercurio commented 8 years ago

Share a single file using a URL shortener.

The idea is take the content of a file and its name and encode this information into a URL. Process the resulting URL in a URL shortener https://goo.gl/ to create a shareable link that has the file pre-loaded.

If files are too long to encode into a single URL, clever use of chaining shortened URLs could solve this.

The benefit of this solution is that it is server independent.