Export:
- Copy from
${user}/.atom:
- config.cson
- keymap.cson
- snippets.cson
- styles.less
- Save installed packages list
apm list --installed --bare > packages.list
Export:
${user}/.atom:apm list --installed --bare > packages.listIf we have the following structure in our application:
And we fill our index.php with the following content just to get a basic website with a form working. You should be able to run this through a php-server of your choice.
Export:
${user}/.atom:apm list --installed --bare > packages.list| /** | |
| * Generates number of random geolocation points given a center and a radius. | |
| * @param {Object} center A JS object with lat and lng attributes. | |
| * @param {number} radius Radius in meters. | |
| * @param {number} count Number of points to generate. | |
| * @return {array} Array of Objects with lat and lng attributes. | |
| */ | |
| function generateRandomPoints(center, radius, count) { | |
| var points = []; | |
| for (var i=0; i<count; i++) { |