Skip to content

Instantly share code, notes, and snippets.

View humboldt's full-sized avatar

Alexander humboldt

View GitHub Profile
@humboldt
humboldt / goes16-rtlsdr.md
Created February 15, 2019 12:32 — forked from lxe/goes16-rtlsdr.md
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle
@humboldt
humboldt / clearRAM.sh
Created December 15, 2018 10:29 — forked from pklaus/clearRAM.sh
A Script to Clear Cached RAM on Linux
#!/bin/bash
## Bash Script to clear cached memory on (Ubuntu/Debian) Linux
## By Philipp Klaus
## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/>
if [ "$(whoami)" != "root" ]
then
echo "You have to run this script as Superuser!"
exit 1
fi
@humboldt
humboldt / gist:1b19e4e8193974d42914d35c9cb272bf
Created October 7, 2018 22:06 — forked from GOROman/gist:6248503
OpenCVでWifi接続したGo Pro HERO3のライブ表示する
#include <opencv2/opencv.hpp>
int main()
{
cv::VideoCapture cap( "http://10.5.5.9:8080/live/amba.m3u8" );
cv::namedWindow( "GoPro" );
cv::Mat frame;
do {
cap >> frame;
@humboldt
humboldt / GoProControl.rb
Created October 7, 2018 22:03 — forked from GOROman/GoProControl.rb
Wifi接続したGoProをRubyから制御するサンプル
#!ruby -Ku
# Wifi接続したGoProをRubyから制御するサンプル
# by GOROman
require 'net/http'
class GoProControl
def initialize( host )
@http = Net::HTTP.new( host )
@humboldt
humboldt / ThetaStartSession.rb
Created October 7, 2018 22:01 — forked from GOROman/ThetaStartSession.rb
RubyでTHETA Sへセッションを貼るだけの例
require 'net/http'
HOST = '192.168.1.1'
PORT = 80
Net::HTTP.start(HOST, PORT) do |http|
req = Net::HTTP::Post.new '/osc/commands/execute'
req.body = <<EOF
{
@humboldt
humboldt / theta_v.rb
Created October 7, 2018 22:01 — forked from GOROman/theta_v.rb
Ruby で THETA Vを制御したいのだけどコケるので死にたい
#RICOH THETA V を制御したいけどコケる
require 'net/http'
require 'json'
require 'pp'
HOST = '192.168.1.1' # THETA VのWIFI接続時のアドレス
PORT = 80 # THETA Vの制御ポート
http = Net::HTTP.new(HOST, PORT)
@humboldt
humboldt / ffmpeg-cheatsheet.md
Created September 18, 2018 16:29 — forked from nickkraakman/ffmpeg-cheatsheet.md
FFmpeg cheat sheet for 360 video

FFmpeg Cheat Sheet for 360º video

Brought to you by Headjack

 
FFmpeg is one of the most powerful tools for video transcoding and manipulation, but it's fairly complex and confusing to use. That's why I decided to create this cheat sheet which shows some of the most often used commands.

 
Let's start with some basics:

  • ffmpeg calls the FFmpeg application in the command line window, could also be the full path to the FFmpeg binary or .exe file
@humboldt
humboldt / Raspberry Pi Kiosk Setup.md
Created August 16, 2018 19:56 — forked from thomasnorris/Raspberry Pi Kiosk Setup.md
Instructions for installing a fresh image of Raspbian and turning the Pi into a kiosk (for google slides, google photos, etc)

Raspberry Pi Kiosk Setup

  • Install a fresh image of Raspbian and boot the Pi
  • Go through the prompts to finish initial setup
  • Open a Termial window
    • Type sudo apt-get install unclutter
    • Type sudo raspi-config
      • Arrow down to Boot Options select it with Enter
      • Arrow down to Wait for Network at Boot and select it with Enter
  • Select Yes with Enter
@humboldt
humboldt / password.txt
Created August 5, 2018 09:38 — forked from gabonator/password.txt
HiSilicon IP camera root passwords
Login Password
root xmhdipc
root klv123
root xc3511
root 123456
root jvbzd
default OxhlwSG8
defaul tlJwpbo6
defaul S2fGqNFs
root hi3518
@humboldt
humboldt / ESP8266_Xiaomi_Yi_Remote_Controller.ino
Created July 30, 2018 23:52 — forked from emmynet/ESP8266_Xiaomi_Yi_Remote_Controller.ino
Simple test to control Xiaomi Yi camera with a standalone ESP8266 ESP-01 (costs about 2$ on ebay).
/*
* This sketch demonstrates how to use ESP8266 to control Xiaomi Yi Camera.
*
* @author Emmanuel Granatello
* @version 0.1
* @since 2016-02-16
*/
#include "ESP8266WiFi.h"