Record a video of your app
Developer options -> Check show touches
adb shell screenrecord /sdcard/video.mp4
adb pull /sdcard/video.mp4| This is gist. | |
| There are many like it, but this one is mine. | |
| It is my life. | |
| I must master it as I must master my life. | |
| Without me gist is useless. | |
| Without gist, I am useless. |
| #!/usr/bin/env python | |
| # based on cb-exit used in CrunchBang Linux <http://crunchbanglinux.org/> | |
| import pygtk | |
| pygtk.require('2.0') | |
| import gtk | |
| import os | |
| import getpass |
| <script> | |
| var host = "YOURDOMAIN.github.io"; | |
| if ((host == window.location.host) && (window.location.protocol != "https:")) | |
| window.location.protocol = "https"; | |
| </script> |
| import com.android.volley.TimeoutError; | |
| import com.android.volley.VolleyError; | |
| import com.android.volley.Request; | |
| import com.android.volley.Response; | |
| import com.android.volley.toolbox.JsonObjectRequest; | |
| import org.json.JSONObject; | |
| Response.Listener<JSONObject> successListener = new Response.Listener<JSONObject>() { |
| - | e | p | |
|---|---|---|---|
| l | execl | execle | execlp |
| v | execv | execve | execvp |
| #!/usr/bin/env python | |
| '''Using Webhook and self-signed certificate''' | |
| # This file is an annotated example of a webhook based bot for | |
| # telegram. It does not do anything useful, other than provide a quick | |
| # template for whipping up a testbot. Basically, fill in the CONFIG | |
| # section and run it. | |
| # Dependencies (use pip to install them): | |
| # - python-telegram-bot: https://github.com/leandrotoledo/python-telegram-bot |
| From eb244d10da4f96f8147cc0bcadf2e043106745a4 Mon Sep 17 00:00:00 2001 | |
| From: Francesco Salvatore <[email protected]> | |
| Date: Fri, 14 Dec 2018 16:15:44 +0100 | |
| Subject: [PATCH] Fix reboot-on-shutdown issue with the new camera module | |
| Since the introduction of Android N on FP2 devices equipped | |
| with the new camera module, when an user tries to shutdown the device | |
| it starts the power-off procedure but reboots before finishing. | |
| This makes it impossible to turn off the phone and, | |
| as a side effect, even to encrypt the device. |