This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // How to use: | |
| // 1. Go to a page of GitHub Wiki with Firefox. | |
| // 2. Copy this script to the clipboard. | |
| // 3. Hit Ctrl-Shift-K to open Web Console. | |
| // 4. Hit Ctrl-Shift-V to paste this script. | |
| // 5. Hit Enter to run script. | |
| // 6. If you are not in edit mode, click the "Copy ToC" button shown in the page. | |
| // Then ToC is copied to the clipboard, so paste the TOC from the clipboard. | |
| var container = document.querySelector('.markdown-body'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.natevogtphoto.camera2test; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.content.pm.ActivityInfo; | |
| import android.graphics.ImageFormat; | |
| import android.graphics.SurfaceTexture; | |
| import android.hardware.camera2.CameraAccessException; | |
| import android.hardware.camera2.CameraCaptureSession; | |
| import android.hardware.camera2.CameraCaptureSession.CaptureCallback; |