Based on the following guide: https://ericdraken.com/running-xvfb-on-a-shared-host-without-x/
Using the following docker image: https://hub.docker.com/r/lambci/lambda/
from datetime import datetime | |
from sqlalchemy import Column, Integer, DateTime, ForeignKey | |
from sqlalchemy.orm import relationship | |
from sqlalchemy.ext.declarative import declared_attr | |
from flask_security import current_user | |
class AuditMixin(object): | |
created_at = Column(DateTime, default=datetime.now) | |
updated_at = Column(DateTime, default=datetime.now, onupdate=datetime.now) |
Based on the following guide: https://ericdraken.com/running-xvfb-on-a-shared-host-without-x/
Using the following docker image: https://hub.docker.com/r/lambci/lambda/
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:
Next.js, Nginx with Reverse proxy, SSL certificate
const generateAccesskey = (method, password, ip, port) => { | |
const firstPart = btoa(`${method.toLowerCase()}:${password}`) | |
const secondPart = `${ip}:${port}` | |
const accesskey = `ss://${firstPart}@${secondPart}` | |
return accesskey | |
} |
import socket | |
import asyncio | |
import websockets | |
import time | |
import logging | |
import argparse | |
import threading | |
import sys | |
A super simple guide to spinning up a Tor hidden service. [tl;dr]
Ubuntu 20.04 LTS was used for the making of this guide.
you can install Tor using the following command
Requirements: | |
- Minecraft (Java) 1.14+ | |
- Resource Pack | |
If you are not yet familier with custom fonts, I recommend you watch this video before hand to get the hang of the basics or read the | |
docs by AmberWat: | |
(https://youtube.com/watch?v=-9bjbL1dYAE&feature=share) | |
(https://github.com/AmberWat/NegativeSpaceFont/blob/master/README.md) (Credit to AmberWat for the documentation) | |
Go into your texture pack folder and go to assets/minecraft/font and create a file called default.json, in this file you will put the |
Have you tried translating GLSL code to HLSL and for some reason it never works, even through you've gone through it line by line? For example with noise functions.
Then do this!
#version 460
precision mediump float;
# We've been trying to figure out how to run async code from | |
# Celery until it gets support for it | |
# | |
# This is an extracted example which should fit into | |
# https://github.com/anomaly/lab-python-server | |
import asyncio | |
from uuid import UUID | |
from sqlalchemy.ext.asyncio import AsyncSession | |
from ...celery import app |