#start with intellijIDE
download intellijIDE
and flow the starting of android, because i want to learn android coding. :D
#first, download android sdk
nodemailer = require 'nodemailer' | |
fs = require 'fs' | |
_sendMail = (email, code) -> | |
contentHtml = [ | |
"親愛的 Node.js 台灣社群朋友," | |
"<p>" | |
"由於你的支持,社群活動才能夠得以持續進行,因此特別送上 JSDC 邀請碼," | |
"<br/>" | |
"<br/>" |
<?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.redis.redis-server</string> | |
<key>Program</key> | |
<string>/usr/local/bin/redis-server</string> | |
<key>ProgramArguments</key> |
# 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/> |
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(); | |
}); |
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); |
# 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 |
npm install -g express grunt-init grunt bower coffee-script js2coffee |
// Path: /api/models/user.js | |
module.exports = { | |
attributes: { | |
/* e.g. | |
nickname: 'string' | |
*/ | |
username: "string", |
#start with intellijIDE
download intellijIDE
and flow the starting of android, because i want to learn android coding. :D
#first, download android sdk
#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.