This has become a full-blown project, see: https://github.com/bemasher/rtlamr-collect
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 pathlib | |
import cv2 as cv | |
import numpy as np | |
from skimage.measure import LineModelND, ransac | |
srcPath = pathlib.Path('input') | |
dstPath = pathlib.Path('output') | |
k = cv.getStructuringElement(cv.MORPH_CROSS, (3, 3)) |
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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"os" | |
"path/filepath" |
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
package offline | |
import ( | |
"io" | |
"log" | |
"math/rand" | |
"os" | |
"testing" | |
"time" |
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
CREATE CONTINUOUS QUERY cq_five_years_home ON rtlamr BEGIN | |
SELECT min(*), mean(*), max(*) | |
INTO rtlamr.five_years.home | |
FROM rtlamr.three_days.home | |
GROUP BY time(1d), "name" | |
END |
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
# Maintainer: Daniel Nagy <danielnagy at gmx de> | |
# Contributor: Nicolas Bigaouette <[email protected]> | |
# Contributor: Vojtech "kralyk" Kral | |
# Contributor: Douglas Hall <[email protected]> | |
pkgname='intel-opencl-sdk' | |
pkgver=2016_6.0.0.1049 | |
pkgrel=0 | |
pkgdesc="Intel’s implementation of the OpenCL standard optimized for Intel processors." | |
arch=('x86_64') |
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
$ go get -u -v github.com/bemasher/rtlamr | |
github.com\bemasher\rtlamr (download) | |
github.com\bemasher\rtltcp (download) | |
github.com/bemasher/rtlamr |
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
package contains | |
import ( | |
"regexp" | |
"strings" | |
) | |
func ContainsToUpper(s, substr string) bool { | |
return strings.Contains(strings.ToUpper(s), strings.ToUpper(substr)) |
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
uniform int iterations; | |
uniform vec2 scale, seed; | |
#define PI 3.14159265358979323846 | |
void main(void) { | |
vec2 z =(gl_TexCoord[0].xy - 0.5) * scale; | |
int i = 1; | |
for(; dot(z, z) <= 4.0 && i < iterations; i++) { | |
z = vec2(z.x * z.x - z.y * z.y, (z.x + z.x) * z.y) + seed; |
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
(:= T1 xi[0]) | |
(:= T6 xi[6]) | |
(:= T2 xi[4]) | |
(:= T3 xi[8]) | |
(:= T4 (+ T2 T3)) | |
(:= T32 (+ T3 (- T2))) | |
(:= T7 xi[10]) | |
(:= T8 xi[2]) | |
(:= T9 (+ T7 T8)) | |
(:= T33 (+ T8 (- T7))) |
NewerOlder