- A good free Git GUI - http://www.sourcetreeapp.com/
- A good set of tutorials - https://www.atlassian.com/git/tutorials/
- We follow the Feature Branch Workflow.
- All code modifications are done in their own dedicated branch.
| var stringToArrayBuffer = function(str, soffset, buf, boffset) { | |
| var ui8a = new Uint8Array(buf, boffset); | |
| for (var si = soffset, ai = 0; si < str.length; si++, ai++) | |
| ui8a[ai] = (str.charCodeAt(si) & 0xff); | |
| }; | |
| var loadBufferProgressive = function(url, cb) { | |
| var req = new XMLHttpRequest(); | |
| req.open("GET", url); | |
| req.overrideMimeType("text/plain; charset=x-user-defined"); |
| var SimpleUpdateLoop = function() { | |
| var _self = this; | |
| var _requestId; | |
| this.onUpdate = function(timestamp) {}; // function to implement | |
| var _update = function(timestamp) { | |
| _self.onUpdate(timestamp); | |
| _requestId = window.requestAnimationFrame(_update); | |
| }; |
| #!/usr/bin/python | |
| import os, sys | |
| def main(): | |
| # Command-line Processor | |
| cmd_dir, cmd_name = os.path.split(os.path.abspath(sys.argv[0])) | |
| cmd_args = sys.argv[1:] |
| class Singleton { | |
| public: | |
| static Singleton& getInstance() | |
| { | |
| static Singleton instance; // Guaranteed to be destroyed. | |
| // Instantiated on first use. | |
| return instance; | |
| } | |
| private: | |
| Singleton() {}; // Constructor (the {} brackets) are needed here. |