Skip to content

Instantly share code, notes, and snippets.

View murlock's full-sized avatar
🕶️

Michael Bonfils murlock

🕶️
View GitHub Profile
@murlock
murlock / install-proto.sh
Last active March 13, 2018 15:14 — forked from CheyenneForbes/install-proto.sh
Install Protobuf debian ...
#! /bin/bash
PB_VERSION=2.5.0
set -e
apt-get update
apt-get install build-essential wget
wget https://github.com/google/protobuf/releases/download/v$PB_VERSION/protobuf-$PB_VERSION.tar.gz
@murlock
murlock / HDFS.sh
Created March 15, 2018 08:35
Basic script to deploy HDFS
#!/bin/bash
# this script should be launched on each node of cluster
# on root account (should be updated later)
# then on ${PREFIX}-hadoop-1
# go to /root/haddop
# $ bin/hdfs namenode -format
# $ sbin/start-dfs.sh
# Check on ${PREFIX}-hadoop-1:50070 status of cluster
PREFIX=${PREFIX:-customer}
@murlock
murlock / README.md
Last active November 5, 2020 21:05 — forked from crypticmind/README.md
Setup lambda + API Gateway using localstack
@murlock
murlock / mp4-to-vp9.py
Created December 27, 2022 20:42
Script helper to convert MP4 to VP9
#!/usr/bin/env python3
from datetime import datetime, timedelta
import argparse
from io import FileIO
import json
import os
import os.path as osp
import subprocess
import sys