#android parse web page - jsoup. use in intelliJ IDE
now you can parse web page like jQUery, "jsoup".
##install jsoup,
Download jsoup jar, and import to your project. save jsoup.jar in libs folder in your project.
| #!/bin/sh | |
| #need to install redis and mysql | |
| # MacOS env | |
| brew install redis | |
| brew install mysql | |
| brew install zmq | |
| cd ~/ |
#android parse web page - jsoup. use in intelliJ IDE
now you can parse web page like jQUery, "jsoup".
##install jsoup,
Download jsoup jar, and import to your project. save jsoup.jar in libs folder in your project.
#when genymotion runs error.
After a lots setting, we can start intellij with genymotion.
if you face executed ERROR, message like this,
Failure [INSTALL_FAILED_OLDER_SDK]
##make sure you ADV version.
#start with intellijIDE
download intellijIDE
and flow the starting of android, because i want to learn android coding. :D
#first, download android sdk
| // Path: /api/models/user.js | |
| module.exports = { | |
| attributes: { | |
| /* e.g. | |
| nickname: 'string' | |
| */ | |
| username: "string", |
| npm install -g express grunt-init grunt bower coffee-script js2coffee |
| # linux or mac | |
| cd ~/ | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash | |
| cat ~/.nvm/nvm.sh >> ~/.bashrc | |
| source ~/.nvm/nvm.sh | |
| nvm install v10.15.3 | |
| nvm use v10.15.3 | |
| nvm alias default v10.15.3 |
| var exec = require('child_process').exec; | |
| var set = function (app) { | |
| app.post('/deploy', function (req, res) { | |
| var feedback; | |
| var branch = 'master'; | |
| try { | |
| feedback = JSON.parse(req.body.payload); |
| fs = require('fs'); | |
| var sandbox = {}; | |
| vm.runInNewContext(data, sandbox); | |
| socket.on('data',function(data){ | |
| // after proccessed data, left the callback function name. | |
| callback = JSON.parse(fs.readFileSync('./' + data)); | |
| callback.fn(); | |
| }); |
| # 1. Create a new file at /Library/LaunchDaemons/org.mongo.mongod.plist | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.mongo.mongod</string> | |
| <key>RunAtLoad</key> | |
| <true/> |