- Python
3.7.10or older - Tensorflow
1.14or older - Labours
10.7.2or older
python -m pip install tensorflow==1.14.0 labours==10.7.2| deps_dirs: | |
| - "_build/default/lib/*" | |
| diagnostics: | |
| enabled: | |
| - xref | |
| disabled: | |
| - dialyzer | |
| include_dirs: | |
| - "include" | |
| - "_build/default/lib" |
| #!/bin/sh | |
| # Call the script with single argument like this | |
| # ./capture-usb-video.sh out.avi | |
| ffmpeg -f avfoundation \ | |
| -rtbufsize 100M \ | |
| -video_size 1920x1080 \ | |
| -pixel_format nv12 \ | |
| -framerate 30 \ |
| #!/usr/bin/env zsh | |
| echo "This script patches MS Teams on macOS to allow virtual cameras like OBS" | |
| sudo codesign --remove-signature "/Applications/Microsoft Teams.app" | |
| sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper.app" | |
| sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper (GPU).app" |
| {:ok , name, nodes} = :mnesia.activate_checkpoint([{:max, :mnesia.system_info(:tables)}]) | |
| :ok = :mnesia.backup_checkpoint(name, 'backup0.bak') |
| #!/bin/sh | |
| # Capture video from a UVC compliant webcam in a specific format and playback using ffplay | |
| ffplay -f avfoundation \ | |
| -video_size 1920x1080 \ | |
| -framerate 30 \ | |
| -probesize 21M \ | |
| -pixel_format nv12 \ | |
| -i "H264:none" |
| youtube-dl -f "(bestvideo+bestaudio/best)[protocol!*=dash]" --external-downloader ffmpeg --external-downloader-args "-ss 00:00:00 -to 00:00:00" "youtube link" |
| ;; Author: Daniils Petrovs | |
| ;; You will most likely need to adjust this font size for your system! | |
| (defvar efs/default-font-size 180) | |
| (defvar efs/default-variable-font-size 180) | |
| ;; Make frame transparency overridable | |
| (defvar efs/frame-transparency '(100 . 100)) | |
| (set-frame-parameter (selected-frame) 'alpha '(100 100)) | |
| (add-to-list 'default-frame-alist '(alpha 100 100)) |
| sudo codesign --remove-signature /Applications/Discord.app/Contents/Frameworks/Discord\ Helper\ \(GPU\).app /Applications/Discord.app/Contents/Frameworks/Discord\ Helper\ \(Plugin\).app /Applications/Discord.app/Contents/Frameworks/Discord\ Helper\ \(Renderer\).app /Applications/Discord.app/Contents/Frameworks/Discord\ Helper.app |
| #!/usr/bin/env emacs --script | |
| ;;; foo.el --- Foo development and productivity utils -*- lexical-binding: t; -*- | |
| ;;;;; Commands | |
| ;;;###autoload | |
| (defun bar () | |
| "Print foo bar." | |
| (interactive) | |
| (message "Foo Bar!")) |