curran / code-hub Goto Github PK
View Code? Open in Web Editor NEWA database of code snippets with dependency management
A database of code snippets with dependency management
No one wants to have to scroll to save.
so users don't need to first go to "edit" before running
Before hitting save, add a message to your script (make the message full HTML)
In the code editor, have strings exactly matching dependency names links to their edit pages.
Ideally when you are editing a revision, you'd be able to see a list of dependencies and be able to click on each one to open it in a new browser tab.
Perhaps this could open the editor for that dependency in a modal dialog. After making a change and closing the dialog, the UI could ask if you want to automatically update that dependency to the newest revision.
And then use Git as the backend rather than SQL.
so debugging messages from the javascript engine correlate to the right lines of code in the editor - so you can actually use the tool seriously. This could be done by: every time a revision of the source code is pulled, store the number of lines of code which are present in the concatenated transitive closure of dependencies script before appending the top level script. Then, when the editor loads (or saves with AJAX), the number for the first line of code in the code editor UI would be set to the number retrieved from the database, stored the first time that revision was pulled (requested with full source code). This way, the lines of code fed to the browser match those displayed in the editor, so error messages point you to the right line of code to debug.
Create the module for parsing the ProcessingDB DSL and write unit tests for it which read sample data from files, parse them using the module, and check the resulting "revision" object for correctness.
stupidly now once you click on a dependency, you can't go back to having nothing selected
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.