- 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.
| 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. |
| #!/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:] |
| 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); | |
| }; |
| 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 basename = function(path) { | |
| return path.replace(/\\/g, "/").replace( /.*\//, ""); | |
| }; | |
| var dirname = function(path) { | |
| return path.replace(/\\/g, "/").replace(/\/[^\/]*$/, ""); | |
| }; |
| /** | |
| * The ultimate split path. | |
| * Extracts dirname, filename, extension, and trailing URL params. | |
| * Correct handles: | |
| * empty dirname, | |
| * empty extension, | |
| * random input (extracts as filename), | |
| * multiple extensions (only extracts the last one), | |
| * dotfiles (however, will extract extension if there is one) | |
| * @param {string} path |
| # Magikarp Jump | |
| # Expert League 3 Automated Clicker | |
| # | |
| # Notes: | |
| # | |
| # All tap positions are hardcoded to my OnePlus3. | |
| # Please re-adjust positions if phone resolution is different. | |
| # | |
| # Any league-triggered event will interrupt this script. | |
| # It is best that level is maxed out before starting the league. |
| # Magikarp Jump | |
| # Date Settings Exploit Automated Clicker | |
| # | |
| # Instructions: | |
| # | |
| # Connect Android USB Debugging and run in "adb shell". | |
| # Open Android Settings to the Date page and have it be the most recent app. | |
| # Adjust values marked "VARIABLE" accordingly. | |
| # Adjust the number of repetitions as you like. | |
| # |
| # Magikarp Jump | |
| # Master League Automated Clicker | |
| # | |
| # Notes: | |
| # | |
| # All tap positions are hardcoded to my OnePlus3. | |
| # Please re-adjust positions if phone resolution is different. | |
| # | |
| # Any league-triggered event will interrupt this script. | |
| # |