Skip to content

Instantly share code, notes, and snippets.

View murano500k's full-sized avatar

Artem Radchenko murano500k

View GitHub Profile
git push gl-mirror HEAD:refs/for/r
-car-o-gl
https://source.android.com/devices/input/touch-devices#touch-device-configuration
My current /system/usr/idc/Vendor_dead_Product_beef.idc contains:
# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1
# Touch Size
# Tool Size
started on 11:30 20jun17
ar / Qwe1qwe1qwe1qwe1
python android/scripts/install.py
#### Android
Once the CTS binary is built and installed on the device, a new application
called `ES3.2 CTS`, `ES3.1 CTS`, `ES3 CTS`, `ES2 CTS`, or `GL4.5 CTS` (depending
on the test version you built) should appear in the launcher. Conformance test
runs can be done by launching the applications.
adb shell dumpsys window windows | grep 'mCurrentFocus'
adb shell am start -n com.example.demo/com.example.test.MainActivity
am start -n "com.example.app.dev/com.example.app.phonebook.PhoneBookActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
adb shell am start -n net.kishonti.gfxbench.gl.v50000.corporate/net.kishonti.benchui.initialization.InitActivity
net.kishonti.app.MainActivity
/storage/emulated/0/Android/data/net.kishonti.gfxbench.gl.v50000.corporate/files/data/top-results.sqlite
adb install sgfxbench_gl-5.0.0-RC5+corporate.armeabi-v7a.x86_64.arm64-v8a.x86.apk
.adb shell am start -n net.kishonti.gfxbench.gl.v50000.corporate/net.kishonti.app.MainActivity
#% before, # after
./cts-tradefed run cts --shards 3
adb shell -s h1 input text "artem.radchenko"
./ph.sh 0 0
./ph.sh 0 1
./ph.sh 1 0
./ph.sh 1 1
--skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker
#!/bin/bash
HOST=$(hostname)
function install_postfix() {
echo | sudo debconf-set-selections <<__EOF
postfix postfix/root_address string
postfix postfix/rfc1035_violation boolean false
postfix postfix/mydomain_warning boolean
postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
sudo phidget-lite-x86_64 -r{$1} -s{$2}
06-06 22:10:44.392 944-1025/? E/WindowState: getStack: Window{248c1380 u0 Starting com.stc.radio.player} couldn't find taskId=963 Callers=com.android.server.wm.WindowState.getDisplayContent:807 com.android.server.wm.WindowState.getWindowList:1390 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:3229 com.android.server.wm.WindowManagerService.removeWindowLocked:3106
06-06 22:10:44.392 944-1025/? E/WindowState: getStack: Window{248c1380 u0 Starting com.stc.radio.player} couldn't find taskId=963 Callers=com.android.server.wm.WindowState.getDisplayContent:807 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:3234 com.android.server.wm.WindowManagerService.removeWindowLocked:3106 com.android.server.wm.WindowManagerService.removeWindow:3028
06-06 22:10:52.321 944-1025/? E/WindowState: getStack: Window{7915bdb u0 Starting com.stc.radio.player} couldn't find taskId=964 Callers=com.android.server.wm.WindowState.getDisplayContent:807 com.android.server.wm.WindowState.getWindowList:1
/*
Modify the pattern finding program to take its input from a set of named files
or, if no files are named as arguments, from the standard input. Should the
file name be printed when a matching line is found?
*/
#include <stdio.h>
#include <string.h>
package com.murano500k.test.myvcracker;
/**
* Created by artem on 5/16/17.
*/
/*
* Try reading or running this code, which cracks the Vigenere cipher
*
* The Vigenere Cipher rotates each letter of the input message by an amount