[Server] GStreamer ---> HTML [Client]
- gstreamer-1.x
- Browser which supports video tag of HTML5
| acm-pca:CreateCertificateAuthority | |
| aws-marketplace:AcceptAgreementApprovalRequest | |
| aws-marketplace:Subscribe | |
| backup:PutBackupVaultLockConfiguration | |
| bedrock:CreateProvisionedModelThroughput | |
| bedrock:UpdateProvisionedModelThroughput | |
| devicefarm:PurchaseOffering | |
| dynamodb:PurchaseReservedCapacityOfferings | |
| ec2:ModifyReservedInstances | |
| ec2:PurchaseCapacityBlock |
| #!/usr/bin/env python3 | |
| import asyncio | |
| import ssl | |
| @asyncio.coroutine | |
| async def echo_client(data, loop): | |
| ssl_ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) | |
| ssl_ctx.options |= ssl.OP_NO_TLSv1 |
| These commands are based on a askubuntu answer http://askubuntu.com/a/581497 | |
| To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below. | |
| USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING. | |
| ABSOLUTELY NO WARRANTY. | |
| If you are still reading let's carry on with the code. | |
| sudo apt-get update && \ | |
| sudo apt-get install build-essential software-properties-common -y && \ | |
| sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ |
| /* | |
| test_fex_load_image | |
| ------------------- | |
| Plain test which loads + reloads a couple of images and reallocating the | |
| previously allocated buffer when needed. Just a tiny test to speed up | |
| the image loading process. | |
| */ |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # glenn@sensepost.com / @glennzw | |
| # Handle wireless networking from Python | |
| # The name (evil.py) is a play on 'wicd' | |
| from subprocess import Popen, call, PIPE | |
| import errno | |
| from types import * | |
| import logging | |
| import sys |
| #include "FlyCapture2.h" | |
| #include <opencv2/core/core.hpp> | |
| #include <opencv2/highgui/highgui.hpp> | |
| #include <iostream> | |
| using namespace FlyCapture2; | |
| int main() |
| import numpy as np | |
| from scipy.interpolate import RectBivariateSpline, bisplev | |
| class ParaSurf(object): | |
| def __init__(self, u, v, xyz, bbox=[-0.25, 1.25, -0.5, 1.5], ku=3, kv=3): | |
| """Parametric (u,v) surface approximation over a rectangular mesh. | |
| Parameters | |
| ---------- |
| #!/usr/bin/env python | |
| """ | |
| Install a package from your local pip download cache without having to touch | |
| the 'net at all. | |
| You'll need to be using a pip download cache; that is, you'll need the | |
| following in your ~/.pip/pip.cfg: | |
| [install] |
| import websocket | |
| import thread | |
| import time | |
| import sys | |
| from urllib import * | |
| class SocketIO: | |
| def __init__(self): | |
| self.PORT = 5000 | |
| self.HOSTNAME = '127.0.0.1' |