The current setup has been tested on Next Js 7.0.0
.
You need to install Axios.
$ npm install axios
<?php | |
// File Location: projectroot/app/Http/Controllers/AwsController.php | |
namespace App\Http\Controllers; | |
use \App; | |
use \AwsS3; | |
class AwsController extends Controller |
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 : | |
from __future__ import unicode_literals | |
import json | |
import codecs | |
class AssetsLister(object): | |
def __init__(self, live, manifest): |
Within an <ion-scroll>
, this directive creates sticky item headers that get bumped out of the way by the next item.
Demo: http://cl.ly/2u2X390s0H1a
Requirements:
_.throttle
utility.or
#!/bin/zsh | |
# pyenv install for CentOS 6.5 x86_64 | |
yum install -y gcc gcc-c++ make git patch openssl-devel zlib-devel readline-devel sqlite-devel bzip2-devel | |
git clone git://github.com/yyuu/pyenv.git ~/.pyenv | |
export PATH="$HOME/.pyenv/bin:$PATH" | |
eval "$(pyenv init -)" |
// ACL to restrict write to user, and public read access | |
var custom_acl = new Parse.ACL(); | |
// give write access to the current user | |
custom_acl.setWriteAccess( Parse.User.current(), true); | |
// give public read access | |
custom_acl.setPublicReadAccess(true); | |
GameObject.setACL(custom_acl); | |
// ACL to restrict write to user, and no public access | |
var custom_acl = new Parse.ACL(); |
var fs = require('fs'), | |
url = require('url'); | |
module.exports = function (rootDir, indexFile) { | |
indexFile = indexFile || "index.html"; | |
return function(req, res, next){ | |
var path = url.parse(req.url).pathname; | |
fs.readFile('./' + rootDir + path, function(err, buf){ |