git discard all local changes/commits and pull from upstream
git reset --hard origin/master
git pull origin master
| /* Following canvas-based Perlin generation code originates from | |
| * iron_wallaby's code at: http://www.ozoneasylum.com/30982 | |
| */ | |
| function randomNoise(canvas, x, y, width, height, alpha) { | |
| x = x || 0; | |
| y = y || 0; | |
| width = width || canvas.width; | |
| height = height || canvas.height; | |
| alpha = alpha || 255; | |
| var g = canvas.getContext("2d"), |
git discard all local changes/commits and pull from upstream
git reset --hard origin/master
git pull origin master
This is a non-technical reading list for technical people.
This is a list of software you should read like a novel.
| // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript | |
| // Define the Person constructor | |
| var Person = function(firstName) { | |
| this.firstName = firstName; | |
| }; | |
| // Add a couple of methods to Person.prototype | |
| Person.prototype.walk = function(){ | |
| console.log("I am walking!"); |
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |