This is a set of links to documentation that I used to learn Python and appreciate what it does.
- What do Etcd, Consul, and Zookeeper do?
- Service Registration:
- Host, port number, and sometimes authentication credentials, protocols, versions numbers, and/or environment details.
- Service Discovery:
- Ability for client application to query the central registry to learn of service location.
- Consistent and durable general-purpose K/V store across distributed system.
- Some solutions support this better than others.
- Based on Paxos or some derivative (i.e. Raft) algorithm to quickly converge to a consistent state.
- Service Registration:
- Centralized locking can be based on this K/V store.
These are notes while researching a way to convert a browser/website to a stream. This could be used for Facebook Live or for webrecording. TL'DR:
- I started with Phantomjs - but that didn't support the html5 video tag
- SlimerJS supports it, but there is no way to record audio directly (though this might come from desktop audio)
- So I moved to research ffmpeg/X11/XVFB to record it with linux which works
- But ffmpeg has no easy way to mix streams/overlays to I moved on to OBS with overlay browser support
- I started researching options OBS in docker and it needed best a GPU , so I move to nvidia-docker
- And so came across building game servers on EC2/AWS using GPUs and managed to run OBS inside of GPU g2x.large machine
- I tried streaming to twich , which works great and managed to restream 4K 60FPS youtube on an AWS instance
- Remote control works through OBS-Remote but OBS has kinda limit in types of features
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
#A sequence for installing a taskwarrior server on an ec2 amazon linux instance | |
#hopefully this can save someone a bunch of time | |
#FIRST go to the ec2 instance management panel, | |
#edit the security group for the instance and add an inbound rule, custom tcp, port 53589, source anywhere (0.0.0.0/0) | |
#THEN ssh to the box as ec2-user and run the following | |
#build taskserver | |
sudo yum install gcc cmake gnutls-devel gnutls-utils libuuid-devel clang | |
curl -O http://taskwarrior.org/download/taskd-latest.tar.gz |
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
#include <stdexcept> | |
#include <cmath> | |
#include <vector> | |
#include <Windows.h> | |
#include <Psapi.h> | |
#include <detours.h> | |
#include <d3d9.h> | |
#include <d3dx9.h> | |
#define PI 3.14159F |
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
#include <Windows.h> | |
#include <TlHelp32.h> | |
#include <Psapi.h> | |
int main() | |
{ | |
const auto *exe = "GuiltyGearXrd.exe"; | |
const auto *dll = "ggxrd_hitbox_overlay.dll"; | |
const auto snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); |
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
$ # see https://github.com/krobertson/deb-s3 | |
$ sudo apt-get install ruby2.1-dev | |
$ sudo gem install deb-s3 | |
$ cd ~/pound | |
$ aws s3api create-bucket --bucket mslinn-ppa --acl public-read | |
{ | |
"Location": "/mslinn-ppa" | |
} | |
$ deb-s3 upload --bucket mslinn-ppa pound_2.7f-0ubuntu1_amd64.deb | |
$ deb-s3 verify -b mslinn-ppa |
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
-- NES Hardware Sprite Visualizer (for BizHawk) | |
-- v01 | |
-- by thefox <thefox@aspekt.fi> 2015-09-15 | |
-- NOTE: Requires NesHawk core | |
------------------------------------------------------------------------------- | |
-- Memory domains on NES: | |
-- WRAM, CHR, CIRAM (nametables), PRG ROM, PALRAM, OAM, System Bus, RAM |
NewerOlder