As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/env python3 | |
| #-*- encoding: utf-8 -*- | |
| import cv2 | |
| import numpy as np | |
| # start this: | |
| # ffmpeg -i /dev/video0 -f mpegts udp://localhost:1337 | |
| # ffmpeg -i rtsp://... -f mpegts udp://localhost:1337 |
| #include <future> | |
| #include <iostream> | |
| #include <thread> | |
| #include <queue> | |
| template <typename T> | |
| class concurrent_queue { | |
| private: | |
| std::queue<T> _queue; | |
| std::mutex _mutex; |
| function int2ip (ipInt) { | |
| return ( (ipInt>>>24) +'.' + (ipInt>>16 & 255) +'.' + (ipInt>>8 & 255) +'.' + (ipInt & 255) ); | |
| } |
| #!/usr/bin/env ruby | |
| #encoding: utf-8 | |
| require "readline" | |
| require "yaml" | |
| require "drb/drb" | |
| module Todo | |
| class List | |
| def serve |
| require "pdf-reader" | |
| dateiname = [] | |
| print "Bitte geben Sie die zu suchenden Worte ein: " | |
| words = gets.strip.split(/\s+/mi).collect { |w| | |
| dateiname << w | |
| Regexp.new(w.to_s, Regexp::MULTILINE + Regexp::IGNORECASE) | |
| } |
As configured in my dotfiles.
start new:
tmux
start new with session name: