This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for d in dev sys run proc; do sudo mount -o bind /$d /mnt/$d ; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//migrate rtm tasks to asana | |
//1. export tasks using https://github.com/aliva/rememberthemilk-export-json and use var rtmTasks to store the json | |
//2. clean null elements in rtmTasks | |
//3. use this in browser enviroment with artoo.js (can be used also in nodejs with require instead of injectScript) | |
//4. get personal access token in profile settings in asana. use it in const part | |
//5. check workspace id and use it for WS (find it on the console by running client.workspaces.findAll().then(function(x){console.log(x)})). use it in const part | |
//6. run it "manually" : use init() after underscore, asana and async are loaded. use runMig() after all tags have been added | |
//7. check error on the console by evaluating errors var | |
var addTag, addTask; | |
artoo.injectScript('https://rawgit.com/jashkenas/underscore/master/underscore-min.js', function() { |