Skip to content

Instantly share code, notes, and snippets.

View tdchien's full-sized avatar
🛴
Working hard

Chien Tran tdchien

🛴
Working hard
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tdchien on github.
  • I am chientd (https://keybase.io/chientd) on keybase.
  • I have a public key ASCa5fOkJU0xUjPsFHxE3f-vGyxEg7Sor-cba2tQjpyOcwo

To claim this, I am signing this object:

@tdchien
tdchien / 50-cloud-init.yaml
Created April 8, 2020 06:41
netplan configure /etc/netplan/50-cloud-init.yaml
network:
version: 2
renderer: networkd
ethernets:
ens5:
dhcp4: true
match:
macaddress: 06:9e:15:46:xx:yy
set-name: ens5
ens6:
@tdchien
tdchien / m3u8-concat.sh
Created January 31, 2022 08:14 — forked from J2TEAM/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