Di Wu
Di Wu
My `shop` model and `user` have many-to-many relationship. Only the user belongs to the shop can manage the shop. I followed instructions [here](https://github.com/ryanb/cancan/wiki/Defining-Abilities) in order to use scope. ###### shop.rb...
By using `--depth 1` when running `bower install`, it can clone vendor repos more quickly.
Current `Session` class stores user context in memory. This is legit when we are only serving bot on single machine. Once we are going to serve it onto multiple servers...
[Docker container was ran as user `mysql`](https://github.com/remoteinterview/compilebox/blob/master/API/DockerSandbox.js#L134), which leads to permission denied issue. ``` root@vagrant-ubuntu-trusty-64:/compilebox/API/temp/testfolder# docker run -u mysql -e 'NODE_PATH=/usr/local/lib/node_modules' -i -t -v "/compilebox/API/temp/testfolder":/usercode virtual_machine /usercode/script.sh python file.py /usercode/script.sh:...
For example, I may want to sort votables by votes in the last one month.
Is there any i18n support? If there is, pls document it! :)
In the given example, `a{color: #ff0000;}` got compiled, and became `a{color:red}`. This is not always the case. In some browsers, the color **red** is not **#ff0000**.
e.g. Chinese letters.
Key tasks include: - Fix broken example link - Push to NPM