Warning
This is a rather old guide and may or may not work with modern versions of Android.
- Boot into TWRP
- Connect device to computer
- Terminal: List devices with
adb devices
Sometimes I want to make a screencapture of a websites behaviour.
In Chrome, I am quite happy doing this with the [Awesome Screenshot: Screen Video Recorder][1] extension.
Besides screenshots, the extension offers the ability to make a recording. (Limited to 30 seconds in the free version).
The recording can be uploaded to Youtube or Google Drive. It can also be downloaded as WebM file.
What would you need:
Hardware requirements
| #!/bin/bash | |
| # | |
| # escapeHTML.sh by Martin Wermers[1], 2018 | |
| # Written for my answer on the StackOverflow question 'Include another HTML file in a HTML file': | |
| # https://stackoverflow.com/questions/8988855/include-another-html-file-in-a-html-file/15250208#15250208 | |
| # | |
| # This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 | |
| # International License. See https://creativecommons.org/licenses/by-sa/4.0 . | |
| # | |
| # Credits to Greg Minshall[2] for the improved sed command that also escapes |
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
| /* | |
| * Copyright (c) 2019 Michael Krane | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining | |
| * a copy of this software and associated documentation files (the | |
| * "Software"), to deal in the Software without restriction, including | |
| * without limitation the rights to use, copy, modify, merge, publish, | |
| * distribute, sublicense, and/or sell copies of the Software, and to | |
| * permit persons to whom the Software is furnished to do so, subject to | |
| * the following conditions: |
| # | |
| # Original solution via StackOverflow: | |
| # http://stackoverflow.com/questions/35802939/install-only-available-packages-using-conda-install-yes-file-requirements-t | |
| # | |
| # | |
| # Install via `conda` directly. | |
| # This will fail to install all | |
| # dependencies. If one fails, | |
| # all dependencies will fail to install. |
As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.
| import numpy as np | |
| import numpy.linalg | |
| # Relevant links: | |
| # - http://stackoverflow.com/a/32244818/263061 (solution with scale) | |
| # - "Least-Squares Rigid Motion Using SVD" (no scale but easy proofs and explains how weights could be added) | |
| # Rigidly (+scale) aligns two point clouds with know point-to-point correspondences | |
| # with least-squares error. |
| /* | |
| Unportify is a script that exports your Google Play music to text. | |
| Copyright (C) 2016 Arnau Villoslada | |
| This program is free software; you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; either version 3 of the License, or | |
| (at your option) any later version. | |
| This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |