Skip to content

Instantly share code, notes, and snippets.

View Bomberus's full-sized avatar

Pascal Maximilian Bremer Bomberus

  • Sinsheim, Germany
View GitHub Profile
@Bomberus
Bomberus / script.sh
Created March 29, 2020 13:06
Convert Video Folder for Davinci Resolve Import
# You might need to adjust the initial file selection
#!/bin/bash
for file in *.MOV;
do ffmpeg -y -i $file -c:v mpeg4 -force_key_frames "expr:gte(t,n_forced*1)" -r ntsc-film -b:v 250000k -c:a pcm_s16le "${file}.mov";
done
@Bomberus
Bomberus / Readme.md
Last active May 5, 2020 23:21
Remote Connection with Python + tigerVNC + ngrok + Telegram

beispiel

What it does

Present a simple python application. After clicking connect, the sysadmin gets the grok address to connect to client via vnc.

Prerequisites

  • TigerVNC needs to be installed
  • ngrok binary in path
  • Create VNC Authentication file: vncpasswd pass
  • Replace authtoken (telegram/ngrok) with your own!
@Bomberus
Bomberus / data.xml
Created October 30, 2020 14:49
XFA Adobe Forms: Count Table Rows per page
<?xml version="1.0" encoding="UTF-8" ?><records>
<record>
<author>Desirae Stephens</author>
<title>et, lacinia vitae, sodales at, velit. Pellentesque ultricies</title>
<price>€744,47</price>
</record>
<record>
<author>Asher D. Francis</author>
<title>Phasellus dapibus quam quis diam. Pellentesque habitant morbi</title>
<price>€047,38</price>
@Bomberus
Bomberus / ENV.Dockerfile
Created November 1, 2020 22:46
Jupyterlab + Docker compose
FROM jupyter/scipy-notebook:latest
RUN pip install xeus-python && \
pip install -U spacy && \
pip install -U spacy-lookups-data && \
python -m spacy download en_core_web_sm && \
python -m spacy download de_core_news_sm