The offline data access & synchronization is built from three components:
- Change tracking
- Replication of changes
- Browser version of LoopBack
'use strict'; | |
var app = require('../../server/server'); | |
module.exports = function(Restaurant, app) { | |
// Restaurant.validatesUniquenessOf('UUID', {message: 'UUID EXISTS'}); | |
Restaurant.observe('before save', function setDefaultUsername(ctx, next) { | |
if (ctx.instance) { | |
if(!ctx.instance.created){ | |
ctx.instance.created = Date.now(); |
module.exports = { | |
get: function (req, res) { | |
res.sendfile(req.path.substr(1)); | |
}, | |
_config: { | |
rest: false, | |
shortcuts: false | |
} | |
}; |
(updated version of http://www.joyceleong.com/log/installing-phantomjs-on-ubuntu/)
export P=phantomjs-1.9.8-linux-x86_64
cd /usr/local/share
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/$P.tar.bz2
sudo tar xvf $P.tar.bz2
sudo ln -s /usr/local/share/$P /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
phantomjs --version
<?php | |
/** | |
* Replace the default "_" (underscore) with "-" (hyphen) in protected custom fields for debugging purposes | |
* | |
* @param bool $protected The default value | |
* @param string $meta_key The meta key | |
* @return bool True for meta keys starting with "-" (hyphen), false otherwise | |
*/ | |
function unprotected_meta( $protected, $meta_key ) { |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
All binary can be downloaded http://pan.baidu.com/s/1hqH2Pko
VERSION | PLATFORM | OFFSET | ORIGINAL | CRACKED |
---|---|---|---|---|
3083 | Linux x64 | 0xcbe3 | 85 | 39 |
3083 | Linux x86 | 0xc6f2 | 85 | 39 |
3083 | Win x64 | 0xe21b3 | 85 | 3B |
3083 | Win x86 | 0x9eb1a | 1a | 2a |
3083 | OSX | 0x69cf | 85 | 39 |
All binary can be downloaded http://pan.baidu.com/s/1hqH2Pko
VERSION | PLATFORM | OFFSET | ORIGINAL | CRACKED |
---|---|---|---|---|
3083 | Linux x64 | 0xcbe3 | 85 | 39 |
3083 | Linux x86 | 0xc6f2 | 85 | 39 |
3083 | Win x64 | 0xe21b3 | 85 | 3B |
3083 | Win x86 | 0x9eb1a | 1a | 2a |
3083 | OSX | 0x69cf | 85 | 39 |