- ipywidgets --> schieberegler für parameter
- RISE --> jupyter presentations (https://www.blog.pythonlibrary.org/2018/09/25/creating-presentations-with-jupyter-notebook/)
This file contains 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
{ | |
"env": { | |
"arduino.path": "${HOME}/.arduino15/packages/arduino", | |
"arduino.avr.include.path": "${env:arduino.path}/hardware/avr/1.8.3", | |
"arduino.avr.compiler.path": "${env:arduino.path}/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++", | |
"arduino.libraries.path": "${HOME}/Arduino/libraries", | |
"dummy-last-line": "To allow the second to last line (e.g. the real last line) to always end with a comma" | |
}, | |
"configurations": [ | |
{ |
This file contains 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
#!/bin/bash | |
# Script Usage | |
# create a file holding only the names of files / folders to copy | |
# | |
# ls -A1 > file_selection.txt | |
# | |
# remove all lines which should not be copied | |
# | |
# move to the folder where the files are and run the script: |
This file contains 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
#!/bin/bash | |
# requires imagemagick | |
convert input.jpg -fill grey -background transparent -pointsize 100 -gravity center -draw "rotate -20 text 0 0 'Copyright Text'" output.jpg |
This file contains 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
import subprocess | |
def get_nvidia_smi_string(id=-1): | |
""" | |
Get nvidia-smi result either for the system or for a specific GPU | |
:param id: PCI GPU id (default=1 for system) | |
:return: nvidia-smi string | |
""" | |
if id == -1: | |
nvidia_smi = subprocess.run(["nvidia-smi", "-q"], stdout=subprocess.PIPE) |
This file contains 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
- edit /etc/pulse/default.pa | |
- comment out the line: "load-module module-suspend-on-idle" |
This file contains 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
#!/bin/bash | |
# Created by LEXO, http://www.lexo.ch | |
# Version 1.0 | |
# | |
# This bash script converts all files from within a given directory from any charset to UTF-8 recursively | |
# It takes track of those files that cannot be converted automatically. Usually this happens when the original charset | |
# cannot be recognized. In that case you should load the corresponding file into a development editor like Netbeans | |
# or Komodo and apply the UTF-8 charset manually. | |
# |
This file contains 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
https://arnowelzel.de/pioneer-av-receiver-uebers-netzwerk-steuern |
This file contains 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
_______ _______ _______ _____ | |
| | | |_ _| \ | |
| | - | | | | -- | | |
|__|_|__|_______| |___| |_____/ | |
_______ __ | |
| __|.-----.-----.-----.----.---.-.| |_.-----.----. | |
| | || -__| | -__| _| _ || _| _ | _| | |
|_______||_____|__|__|_____|__| |___._||____|_____|__| |
NewerOlder