Skip to content

Instantly share code, notes, and snippets.

View bhaskar253's full-sized avatar
🎯
Focusing

Bhaskar bhaskar253

🎯
Focusing
View GitHub Profile
@bhaskar253
bhaskar253 / m3u8-concat.sh
Created June 29, 2021 15:01 — forked from maxwellito/m3u8-concat.sh
Concat / join .ts segment files into an mp4 file
#!/bin/sh
# This script must be executed in the repo where
# the *.ts files are.
# It will concatenate the segments into one temp
# file which ffmpeg will reencode the audio track.
# By default the ouptup filename is output.mp4
# but can be changed by providing the name as parameter.
#
# ffmpeg is required
@bhaskar253
bhaskar253 / install virtualenv ubuntu 16.04.md
Created May 31, 2020 17:41 — forked from Geoyi/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 

What you need to do to install SDL is:

#install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;

#install sdl image
sudo apt install libjpeg9-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;

#install sdl mixer
@bhaskar253
bhaskar253 / boost-windows.md
Last active July 10, 2020 01:47 — forked from sim642/boost-windows.md
Installing boost libraries for GCC (MinGW) on Windows

Installing boost libraries for GCC (MinGW) on Windows

Folder setup

  1. Extract downloaded boost source, e.g. F:\boost_1_67_0.
  2. Create a folder for Boost.Build installation, e.g. F:\boost-build.
  3. Create a folder within for building, i.e. F:\boost_1_67_0\build.
  4. Create a folder for installation, e.g. F:\boost.

GCC setup

  1. Open Command Prompt.