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"
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "AllowViewAccountInfo", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "iam:GetAccountPasswordPolicy", | |
| "iam:GetAccountSummary", | |
| "iam:ListVirtualMFADevices" |
| import { KinesisClient, PutRecordCommand, PutRecordCommandInput, KinesisClientConfig } from "@aws-sdk/client-kinesis"; // ES Modules import | |
| interface KinesisStreamInterface { | |
| data: string, | |
| config: KinesisClientConfig, | |
| client: KinesisClient, | |
| channelId: string | |
| } |
| Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
| This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
| usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
| Getting help: | |
| -h — print basic options | |
| -h long — print more options | |
| -h full — print all options (including all format and codec specific options, very long) |
| //"avcoti" hexadecimal representation of the following three bytes in the (subset) sequence parameter set Network Abstraction Layer (NAL) unit specified in AVC: 1.profile_idc, 2.the byte containing the constraint_set flags (currently constraint_set0_flag through constraint_set5_flag, and the reserved_zero_2bits), 3.level_idc. | |
| AVC1_CODEC_MAP = { | |
| ,"avc1.66.30": {profile:"Baseline", level:3.0, max_bit_rate:10000} //iOS friendly variation (iOS 3.0-3.1.2) | |
| "avc1.42001e": {profile:"Baseline", level:3.0, max_bit_rate:10000} | |
| ,"avc1.42001f": {profile:"Baseline", level:3.1, max_bit_rate:14000} | |
| //other variations | |
| ,"avc1.77.30": {profile:"Main", level:3.0, max_bit_rate:10000} //iOS friendly variation (iOS 3.0-3.1.2) | |
| ,"avc1.4d001e": {profile:"Main", level:3.0, max_bit_rate:10000} | |
| ,"avc1.4d001f": {profile:"Main", level:3.1, max_bit_rate:14000} |
| git config --global --add alias.permission-reset '!git diff -p -R --no-ext-diff --no-color | grep -E "^(diff|(old|new) mode)" --color=never | git apply' |
| # Initial Value For Foreign Keys | |
| class MyModelAdmin(admin.ModelAdmin): | |
| def formfield_for_foreignkey(self, db_field, request, **kwargs): | |
| if db_field.name == 'author': | |
| kwargs['initial'] = request.user.id | |
| return super(MyModelAdmin, self).formfield_for_foreignkey( | |
| db_field, request, **kwargs | |
| ) |
| folder=artikel | |
| host_server=*.*.*.* | |
| ssh_user=ubuntu | |
| ssh_port=1003 | |
| cd $folder | |
| ssh -p $ssh_port $ssh_user@$host_server "mkdir /home/ubuntu/apps/customers/$folder" | |
| tar --exclude static --exclude venv --exclude node_modules -zcvf $folder.tar.gz * | |
| scp -P $ssh_port $folder.tar.gz $ssh_user@$host_server:/home/ubuntu/apps/customers/$folder | |
| ssh -p $ssh_port $ssh_user@$host_server "cd /home/ubuntu/apps/customers/$folder && tar -xvf $folder.tar.gz" |
| find . -name .git -type d -execdir git pull -v \; | |
| find . -maxdepth 2 -name package.json -type f -execdir npm install \; | |
| find . -maxdepth 2 -name package.json -type f -execdir npm audit fix \; | |
| pm2 restart all | |
| cd $DIRNAME | |
| ng build | |
| pkill chromium |
| """ workon cv | |
| pip install requests""" | |
| # import the necessary packages | |
| from imutils import paths | |
| import argparse | |
| import requests | |
| import cv2 | |
| import os |