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"
| #Generate a certificate authority certificate and key. | |
| openssl req -new -x509 -days <duration> -extensions v3_ca -keyout ca.key -out ca.crt | |
| #Server | |
| - Generate a server key. | |
| openssl genrsa -des3 -out server.key 2048 |
| 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)) |
| function b(a){return a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,b)} |
| 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"); |
| AddHandler fcgid-script .fcgi | |
| Options +FollowSymLinks | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^static/(.*)$ static/$1 [QSA,L] | |
| RewriteCond %{REQUEST_URI} !(myproject.fcgi) | |
| RewriteRule ^(.*)$ myproject.fcgi/$1 [QSA,L] | |
| @media screen and (min-width: 1600px) | |
| .contr | |
| width: 100% | |
| @media screen and (min-width: 1900px) | |
| .contr | |
| width: 100% |
| #I like to work in home bin directory | |
| cd $HOME/bin | |
| #Get the source code | |
| wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.4/poky-dylan-9.0.0.tar.bz2 | |
| #Extract the files into the corresponding directory | |
| tar xvf poky-dylan-9.0.0.tar.bz2 | |
| cd poky-dylan-9.0.0 |