This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
For my Neuroengineering course presentation my group wanted to download some videos, | |
the problem is that those videos were played by the JWPlayer, so obtaining the video | |
files was a little tricky. What I noticed from observing the network traffic is that | |
JWPlayer downloads the video files in chunks (each chunk was 4 seconds long) and | |
in .ts format. My goal was to combine all of those small video segments into a single | |
one and then convert the file to .mp4. To combine the multiple video chunks into one | |
I used the "cat" command and to convert resulting .ts file to .mp4 I used the "ffmpeg" | |
tool. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if !defined(MBEDTLS_CONFIG_FILE) | |
#include "mbedtls/config.h" | |
#else | |
#include MBEDTLS_CONFIG_FILE | |
#endif | |
#if defined(MBEDTLS_PLATFORM_C) | |
#include "mbedtls/platform.h" | |
#else | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# pane resizing with Ctrl+Shift+Arrow | |
bind-key -n C-S-Up resize-pane -U 15 | |
bind-key -n C-S-Down resize-pane -D 15 | |
bind-key -n C-S-Left resize-pane -L 25 | |
bind-key -n C-S-Right resize-pane -R 25 |
OlderNewer