edit horizontal videos:
- OpenShot/openshot-qt#2197
- basically says make custom profile
- OpenShot/openshot-qt#201
- merged preset for instagram (did not know about that)
edit horizontal videos:
Install zerotier on router
from airflow.models import DAG | |
from airflow.operators.dummy_operator import DummyOperator | |
from airflow.operators.bash_operator import BashOperator | |
from airflow.utils.dates import days_ago | |
dag = DAG( | |
dag_id='example_runtaskonce', | |
schedule_interval='@once', | |
start_date=days_ago(1), | |
) |
runonce = RunOnceBranchOperator( | |
dag=dag, | |
task_id='runonce_example', | |
run_once_task_id='downstream_task_id_to_run_once', | |
skip_task_id='dummy_task_id_used_to_skip_other_task', | |
) | |
runonce.set_downstream(downstream_to_run_once) | |
runonce.set_downstream(dummy_task_used_to_skip_other_task) | |
from airflow.operators.python_operator import PythonOperator | |
from airflow.utils.db import provide_session | |
class RunOnceBranchOperator(PythonOperator, SkipMixin): | |
def __init__( | |
self, | |
run_once_task_id=None, | |
skip_task_id=None, | |
*args, **kwargs): | |
kwargs['python_callable'] = lambda x: x |
The issue: In Ubuntu 16.04 the laptop screen and also on external screen will get black for several seconds, until it is on again. This black screen flickering happens about once a minute and is really annoying.
Checking dmesg or /var/log/messages, the following error can be found:
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *error* cpu pipe a fifo underrun
or
copy into /etc/systemd/system/autossh-ssh.service
[Unit]
Description=Reverse tunnel for ssh
After=network.target
[Service]
User=pi
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 0 -oExitOnForwardFailure=yes -oStrictHostKeyChecking=no -oServerAliveInterval=30 -oServerAliveCountMax=2 -R {{autossh_reverse_remote_port}}:localhost:22 -N {{autossh_remote_host}}
Connect serial to a usb port and open it
Connect to Wifi and use ssh to connect over wifi:
ssh [email protected] (password root)