Skip to content

Instantly share code, notes, and snippets.

Marllus Lustosa marlluslustosa

Block or report user

Report or block marlluslustosa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marlluslustosa
marlluslustosa / h264-fedora-27-firefox59+
Last active May 4, 2018 — forked from xenog/h264-fedora-25.markdown
Enable H.264 in Firefox on Fedora 25
View h264-fedora-27-firefox59+
# Enable H.264 in Firefox 59+ on Fedora 27
- Enable RPMFusion repositories following [these instructions](https://rpmfusion.org/Configuration).
- Run these commands:
```sh
su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
sudo dnf install ffmpeg-libs
sudo dnf install gstreamer1-libav gstreamer1-vaapi gstreamer1-plugins-{good,good-extras,ugly} -y
sudo dnf config-manager --set-enabled fedora-cisco-openh264
sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264
View nginxdefault.conf
upstream tunnel {
server 127.0.0.1:5555;
}
upstream tunnel2 {
server 127.0.0.1:5557;
}
server {
listen 443;
@marlluslustosa
marlluslustosa / SSS reverse "caseiro" (aka serveo.net))
Last active May 5, 2018 — forked from gdamjan/README.md
Setup for an easy to use, simple reverse http tunnels with nginx and ssh. It's that simple there's no authentication at all.The end result, a single ssh command invocation gives you a public url for your web app hosted on your laptop.
View SSS reverse "caseiro" (aka serveo.net))
What
====
A lot of times you are developing a web application on your own laptop or home computer and would like to demo it to the public. Most of those times you are behind a router/firewall and you don't have a public IP address. Instead of configuring routers (often not possible), this solution gives you a public URL that's reverse tunnelled via ssh to your laptop.
Because of the relaxation of the sshd setup, it's best used on a dedicated virtual machine just for this (an Amazon micro instance for example).
Requirements
============
You can’t perform that action at this time.