This file contains hidden or 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
// Used to send data from a VMWare VM running the EyeX software | |
// with a Steelseries Sentry to a Mac OSX host over UDP. | |
namespace MinimalGazeDataStream | |
{ | |
using EyeXFramework; | |
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using Tobii.EyeX.Framework; |
This file contains hidden or 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
require 'geo/coord' | |
EXIFTOOL_DMS_REGEX = %r{ | |
^(?<latd>\d+)\sdeg\s | |
(?<latm>\d+)'\s | |
(?<lats>(\d+\.\d+))"\s | |
(?<lath>N|S),\s | |
(?<lngd>\d+)\sdeg\s | |
(?<lngm>\d+)'\s | |
(?<lngs>(\d+\.\d+))"\s |
This file contains hidden or 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
javascript:(function()%7B%24('.track__buttons__play').css('opacity'%2C1)%7D)() |
This file contains hidden or 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
youtube-dl -f251 "[URL]" -o - | ffmpeg -i pipe: -strict -2 out.mp3 |
This file contains hidden or 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
ffmpeg -f lavfi -i anullsrc=r=11025:cl=mono -t <number of seconds> -acodec aac out.m4a |
This file contains hidden or 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
for i in *.mp4; do ffmpeg -i "$i" -c:v copy "_${i%.mp4}.mp4"; done |
This file contains hidden or 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
""" FLIRjpg2HDF5 | |
reads raw thermal images from a FLIR-camera JPG image series | |
and stores them in a HDF5 file - using exiftool """ | |
import glob | |
import os | |
import subprocess | |
import PIL.Image | |
import numpy as np |
This file contains hidden or 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
#------------------------------------------------------------------------------ | |
# File: FLIR.pm | |
# | |
# Description: Read FLIR meta information | |
# | |
# Revisions: 2013/03/28 - P. Harvey Created | |
# | |
# References: 1) http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4898.0.html | |
# 2) http://www.nuage.ch/site/flir-i7-some-analysis/ | |
# 3) http://www.workswell.cz/manuals/flir/hardware/A3xx_and_A6xx_models/Streaming_format_ThermoVision.pdf |
This file contains hidden or 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
highlighted = $('.highlighted'); | |
for (var i = 0; i < highlighted.length; i++) { | |
highlighted[i].remove(); | |
} | |
photos = $('.photo'); | |
for (var i = 0; i < 100; i++) { | |
photos[i].className = photos[i].className + ' highlighted'; | |
} |
This file contains hidden or 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
// This isn't needed with official Arduino app | |
#include <SPI.h> | |
#include <SD.h> | |
File file; | |
void setup() { | |
Serial.begin(9600); | |
delay(50); |