Skip to content

Instantly share code, notes, and snippets.

View tinybug's full-sized avatar

tinybug tinybug

View GitHub Profile
#include "H264_Decoder.h"
H264_Decoder::H264_Decoder(h264_decoder_callback frameCallback, void* user)
:codec(NULL)
,codec_context(NULL)
,parser(NULL)
,fp(NULL)
,frame(0)
,cb_frame(frameCallback)
,cb_user(user)
@tinybug
tinybug / Dockerfile
Created July 7, 2019 14:44
WASM - Emscripten Container Image
FROM debian:latest
MAINTAINER Robert Aboukhalil ([email protected])
# Main dependencies
RUN apt-get update && \
apt-get install -y git python build-essential openjdk-8-jre-headless
# Setup emsdk
RUN git clone https://github.com/emscripten-core/emsdk.git
WORKDIR /emsdk
@tinybug
tinybug / Activate Office 2019 for macOS VoL.md
Last active February 2, 2020 07:51 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@tinybug
tinybug / dante_setup.sh
Created December 29, 2021 11:11 — forked from gpchelkin/dante_setup.sh
How to Setup SOCKS5 Proxy Server for (not only) Telegram using Dante on Ubuntu 16.04 / 18.04 / 20.04
### NOT A SCRIPT, JUST A REFERENCE!
# install dante-server
sudo apt update
sudo apt install dante-server
# or download latest dante-server deb for Ubuntu, works for 16.04 / 18.04 / 20.04:
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/dante/dante-server_1.4.2+dfsg-7build3_amd64.deb
# or older version:
wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb