Guide created on 11/03/21 with VSCode version 1.53 (stable). Last tested with version 1.62.2.
I'm not a native English speaker, so please report inconsistencies to [/u/anonymous1184][00] (or send a .patch of the [source][01]).
| #!/bin/bash | |
| # for i in {1..8} ; do | |
| # DST=bike${i}.jpg | |
| # /usr/bin/cp -f bike.jpg ${DST} | |
| # exiftool -n -Orientation=$i ${DST} | |
| # done | |
| # for i in {1..8} ; do | |
| # SRC=bike${i}.jpg |
| /* | |
| * class WinHelper | |
| */ | |
| import android.app.Activity; | |
| import android.view.View; | |
| import android.view.WindowInsets; | |
| import android.view.WindowInsetsController; | |
| class WinHelper { | |
| public static void hideNavigationBar(Activity act) { |
| @echo off | |
| rem it is useful for me to install cygwin on a windows machine without admin permission | |
| setup-x86_64.exe --no-admin |
Guide created on 11/03/21 with VSCode version 1.53 (stable). Last tested with version 1.62.2.
I'm not a native English speaker, so please report inconsistencies to [/u/anonymous1184][00] (or send a .patch of the [source][01]).
| adb help // List all comands | |
| == Adb Server | |
| adb kill-server | |
| adb start-server | |
| == Adb Reboot | |
| adb reboot | |
| adb reboot recovery | |
| adb reboot-bootloader |
| import android.content.pm.PackageManager; | |
| import android.content.pm.FeatureInfo; | |
| import android.util.Log; | |
| // $ adb shell pm list features | |
| private void querySystemFeatures() { | |
| static final String APP_TAG = "app_tag"; | |
| final PackageManager pm = getPackageManager(); | |
| final FeatureInfo[] featuresList = pm.getSystemAvailableFeatures(); | |
| String feature_string = ""; |
| // You mention that you start with a CVMat* imagesource | |
| CVMat * imagesource; | |
| // Transform it into the C++ cv::Mat format | |
| cv::Mat image(imagesource); | |
| // Setup a rectangle to define your region of interest | |
| cv::Rect myROI(10, 10, 100, 100); | |
| // Crop the full image to that image contained by the rectangle myROI |
| package com.example.nileshdeokar.simplevibratedemo; | |
| import android.os.Build; | |
| import android.os.VibrationEffect; | |
| import android.os.Vibrator; | |
| import android.support.annotation.RequiresApi; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.widget.Toast; | |
| /* |
| #!/usr/bin/python3.6 | |
| # coding: utf-8 | |
| ''' | |
| brief description for this script | |
| ''' | |
| import time | |
| import numpy as np |
| #!/usr/bin/env python3 | |
| # coding: utf-8 | |
| s = '❤️🇧🇴🙋♀️🏈😃' | |
| print(s) | |
| line = '"' | |
| for cc in s: | |
| hx = hex(ord(cc)) # str, 0x1f1e7 | |
| hx = hx.upper() |