I hereby claim:
- I am chukaofili on github.
- I am chuka (https://keybase.io/chuka) on keybase.
- I have a public key ASDH2L0dSJmaX2CcTXURqsSrejb7oFArvJ173y0AO3AEHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Creates an alias on the loopback interface (lo0) with the IP 200.0.0.1 on Mac OS X.
/Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist
chmod 0644 /Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist
sudo chown root:wheel /Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist
sudo launchctl load /Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist
/** | |
* ExampleController.js | |
*/ | |
module.exports = { | |
list: function(req, res) { | |
var perPage = req.query.per_page; | |
var currentPage = req.query.page; | |
var conditions = {active: true}; | |
PaginationService.paginate(res, SailsModelHere, conditions, currentPage, perPage, [{name: 'AssociatedModel', query: {isDeleted: false}}], 'createdAt DESC'); |