Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View rokdd's full-sized avatar

rokdd

View GitHub Profile
@rokdd
rokdd / run-python-with-env.bat
Created September 8, 2021 21:05
Run python script with virtual envoirement in windows
@echo off
rem this scripts start a python script with a virtual envoirement (venv) from commandline
rem for improvements or questions contact www.rokdd.xyz
rem ------
rem please put your path of the virtual envoirement here (the directory contains a activate.bat):
set path_env=C:\<....>\Scripts
rem then we will add the path to the global PATH (you can also add more libraries from other directorys)
set PATH=%path_env%;%PATH%
rem remove the rem of next line when you want to use anaconda
rem call C:\Users\<username>\anaconda3\condabin\activate "<your env name>"
@rokdd
rokdd / gist:17baa65981dccade83689b0d43ca713b
Last active March 17, 2021 12:50
Download livestream of conferences #covid #windows

I was a bit annoyed and struggling recording conference. I found out how to record the file with streamlink and its so easy that i will explain the few steps:

What you need

  • windows (works also without admin privileges)
  • firefox
  • streamlink

6 small steps

// ==UserScript==
// @name Logviewer
// @namespace rokdd
// @description Scroll down, reload and notify at changes
// @include *.log$
// @include *.log.txt$
// @include *log.html$
// @include *log2.html$
// @version 005
// @grant GM_getValue
@rokdd
rokdd / InkscapeBatchConvert.bat
Last active February 14, 2020 14:20 — forked from JohannesDeml/README.md
Batch converter for windows using inkscape and the command line
@Echo off
set "inkscapePath=C:\Program Files\Inkscape\inkscape.exe"
set /a count=0
set validInput1=svg
set validInput2=pdf
set validInput3=eps
set validOutput1=eps
set validOutput2=pdf
set validOutput3=png