Skip to content

Instantly share code, notes, and snippets.

Stephen Gutknecht RoundSparrow

Block or report user

Report or block RoundSparrow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@RoundSparrow
RoundSparrow / gist:60bed4d09f68e8c52db584474963b76e
Created Jun 30, 2017
Ubuntu 17.04 xrandr Python3 script problem
View gist:60bed4d09f68e8c52db584474963b76e
Python script from:
https://askubuntu.com/questions/665709/how-to-recover-offscreen-window-after-disconnecting-second-monitor/665899
Ubuntu 17.04 with 3 4K screens:
$ python3 stackoverflow_665899_try0.py
Traceback (most recent call last):
File "stackoverflow_665899_try0.py", line 9, in <module>
View SimpleCamera2ServicePublish.java
import android.app.Service;
import android.content.Intent;
import android.graphics.ImageFormat;
import android.hardware.camera2.CameraAccessException;
import android.hardware.camera2.CameraCaptureSession;
import android.hardware.camera2.CameraCharacteristics;
import android.hardware.camera2.CameraDevice;
import android.hardware.camera2.CameraManager;
import android.hardware.camera2.CaptureRequest;
import android.media.Image;
You can’t perform that action at this time.