随笔分类 - Others
只有注册用户登录后才能阅读该文。
只有注册用户登录后才能阅读该文。
只有注册用户登录后才能阅读该文。
只有注册用户登录后才能阅读该文。
摘要:in client/app.js, we put user login logic inside here, so that other module can reuse those code by call: app.js: config.js: How to use in user page:
阅读全文
摘要:JSONP—or JSON with padding—is a sneaky technique that web developers came up with to work around the browser restrictions when requesting data from th
阅读全文
摘要:Note that many editors support “safe write” feature and have it enabled by default, which makes dev server unable to watch files correctly. “Safe writ
阅读全文
摘要:1.1: <!DOCTYPE html> <html> <head> <base href='http://courseware.codeschool.com/ember/' /> <link href='bootstrap.css' rel='stylesheet' /> <link href='
阅读全文
摘要:GO to setting, search Terminal:Change shell path :C:\cygwin\bin\bash.exe --login -i (to the local which you install cygwin)Change the default pwd to ...
阅读全文
摘要:# 加载rJava、Rwordseg库 library(rJava); library(Rwordseg); library(RColorBrewer); # == 读入数据 lecture=read.csv("G:\\test.txt",sep=",",header=TRUE,fileE...
阅读全文
摘要:Sometime you might want to dump some tables or database from the mysql database. If you using heroku, you can not find the graphy interface like phpMy...
阅读全文
摘要:1. First you need to login heroku:heroku login2. Then you need to download the code:heroku git:clone -a Get a remote repo: git remote add heroku git@h...
阅读全文
摘要:After you download the VirtualBox install package and install it (just defualt setting).Then you should download theubuntu.iso file from the website.T...
阅读全文
摘要:Using WebStrom can easily debug the Node applcation.For example, we have an Node+Express application.server.js:/** * Created by Answer1215 on 12/9/201...
阅读全文
摘要:1. Go to the git to create a new repository:2. Add some ignore file / dir into .gitign.idea // Webstrom setting files dir3. Then open the webstrom lo...
阅读全文
摘要:1. Tab --> Auto complateEX: div.button + tab -->2. Ctrl + Shift + Alt + J --> Change mutli lines3. Add shortCut keyFile-->Settings-->Live Template-->F...
阅读全文
摘要:Tools: Draw bounding box. var ne = this.viewport.getNorthEast(); var sw = this.viewport.getSouthWest(); g_map.setBounds(this.viewport); ...
阅读全文