Skip to content

Instantly share code, notes, and snippets.

View hyspace's full-sized avatar
🍭

hyspace hyspace

🍭
  • Microsoft
  • Redmond, WA
  • 17:57 (UTC -07:00)
View GitHub Profile
@hyspace
hyspace / docker-compose.yml
Created January 19, 2026 08:31
Dockerfile for homebridge - ffmpeg with hardware video encoding/decoding for rockchip system
services:
homebridge:
build: .
container_name: homebridge
restart: unless-stopped
network_mode: host
volumes:
- /root/volumes/homebridge:/homebridge
devices:
- /dev/mpp_service:/dev/mpp_service
@hyspace
hyspace / config.json
Last active January 19, 2026 08:42
Homebridge - camera UI setting with hw acc
{
"bridge": {
"name": "Homebridge 4B74",
"username": "hide",
"port": 0,
"pin": "hide",
"advertiser": "bonjour-hap"
},
"accessories": [],
"platforms": [
@hyspace
hyspace / gist:8f79320fd0b6d56af54505400f268e49
Last active June 20, 2019 22:08
Failing WPT URL Tests (only href or failure)
Test Name: WebPlatFormUrlTest
Test FullName: AngleSharp.Core.Tests.Urls.WebPlatFormUrlTests(AngleSharp.Core.Tests.Urls.UrlTestFixture).WebPlatFormUrlTest
Test Source: C:\Users\hyspa\Documents\code\AngleSharp\src\AngleSharp.Core.Tests\Urls\WebPlatformUrlTests.cs : line 42
Test Outcome: Failed
Test Duration: 0:00:00.3490254
Result1 Name: WebPlatFormUrlTest
Result1 Outcome: Failed
Result1 Duration: 0:00:00.029
Result1 StackTrace: at AngleSharp.Core.Tests.Urls.WebPlatFormUrlTests.WebPlatFormUrlTest() in C:\Users\hyspa\Documents\code\AngleSharp\src\AngleSharp.Core.Tests\Urls\WebPlatformUrlTests.cs:line 58
Test Name: WebPlatFormUrlTest
Test FullName: AngleSharp.Core.Tests.Urls.WebPlatFormUrlTests(AngleSharp.Core.Tests.Urls.UrlTestFixture).WebPlatFormUrlTest
Test Source: C:\Users\hyspa\Documents\code\AngleSharp\src\AngleSharp.Core.Tests\Urls\WebPlatformUrlTests.cs : line 43
Test Outcome: Failed
Test Duration: 0:00:00.479012
Result1 Name: WebPlatFormUrlTest
Result1 Outcome: Failed
Result1 Duration: 0:00:00.022
Result1 StackTrace: at AngleSharp.Core.Tests.Urls.WebPlatFormUrlTests.WebPlatFormUrlTest() in C:\Users\hyspa\Documents\code\AngleSharp\src\AngleSharp.Core.Tests\Urls\WebPlatformUrlTests.cs:line 62
var directions = ['up', 'right', 'down', 'left']
if(me.__direction == undefined){
me.__direction = 1
}
y = me.getY()
if(y>=9){
me.move('down')
return
@hyspace
hyspace / gist:9640769
Created March 19, 2014 12:35
Fish shell GAE PYHTONPATH config
set -g -x PYTHONPATH "/usr/local/google_appengine"
@hyspace
hyspace / debian-install-nodejs
Created February 12, 2014 14:56
debian install nodejs and npm with root user
#!/bin/sh
echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install nodejs-legacy
curl https://www.npmjs.org/install.sh | bash