For generic skin emulator with default apis (without google apis):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images
-
Download Image:
sdkmanager --install "system-images;android-29;default;x86"
class InitCSVHandler(webapp2.RequestHandler): | |
def get(self): | |
fetched = self.request.get('fetched') | |
if not fetched: | |
self.response.write("no fetched date") | |
return | |
taskqueue.add(url='/create_csv', queue_name='csv', params={'fetched': fetched}) | |
self.response.write("creating " + str(fetched)) |
controllers.controller('MainCtrl', function($scope, $location, Facebook, $rootScope, $http, $location, Upload, Auth, User, Question, Category, Serie, Record, Location, Popup, Process, Card, Question) { | |
$scope.$on('authLoaded', function() { | |
$scope.isExpert($scope.main.serieId); | |
$scope.isMember($scope.main.serieId); | |
}); | |
$scope.loadAuth = function() { | |
Auth.load().success(function(data) { | |
$scope.main.user = data.user; | |
$scope.$broadcast("authLoaded"); |
function nestCollection(model, attributeName, nestedCollection) { | |
//setup nested references | |
for (var i = 0; i < nestedCollection.length; i++) { | |
model.attributes[attributeName][i] = nestedCollection.at(i).attributes; | |
} | |
//create empty arrays if none | |
nestedCollection.bind('add', function (initiative) { | |
if (!model.get(attributeName)) { | |
model.attributes[attributeName] = []; |
everyauth.password | |
.respondToLoginSucceed( function (res, user) { | |
if (user) { /* Then the login was successful */ | |
res.json({ success: true }, 200); | |
} | |
}) | |
.respondToLoginFail( function (req, res, errors, login) { | |
if (!errors || !errors.length) return; | |
return res.json({ success: false, errors: errors }); | |
}); |
$ git clone github:lenary/guides.git | |
Cloning into guides... | |
remote: Counting objects: 255, done. | |
remote: Compressing objects: 100% (216/216), done. | |
remote: Total 255 (delta 111), reused 163 (delta 35) | |
Receiving objects: 100% (255/255), 1.49 MiB | 564 KiB/s, done. | |
Resolving deltas: 100% (111/111), done. | |
$ cd guides | |
$ git remote -v |