Skip to content

Instantly share code, notes, and snippets.

monssef rezof

  • morocco
Block or report user

Report or block rezof

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mp4
nohup ffmpeg -i $1 -vcodec copy -strict -2 -ac 2 $1".mp4" &
rezof / subtitle-extract.txt
Created Jan 16, 2018 — forked from bmaeser/subtitle-extract.txt
extract subtitles from *.mkv-files on osx
View subtitle-extract.txt
lines with $ are commands
### install mkvtoolnix:
$ brew install mkvtoolnix
### list content of the mkv-file:
$ mkvmerge -i mymoviefile.mkv
### what will give you:
rezof / .block
Last active Sep 4, 2017 — forked from mbostock/.block
Zoom to Domain
View .block
license: gpl-3.0
rezof /
Created Jul 20, 2017 — forked from bpholt/
Stop tasks on ECS Container Instance and Deregister it from ECS Cluster
container_instance= # container instance guid
tasks=$(aws --region us-west-2 ecs list-tasks --container-instance $container_instance --cluster $cluster | jq -r '.taskArns | map(.[40:]) | reduce .[] as $item (""; . + $item + " ")')
for task in $tasks; do
aws --region us-west-2 ecs stop-task --task $task --cluster $cluster
aws --region us-west-2 ecs deregister-container-instance --cluster $cluster --container-instance $container_instance
rezof / gist:2ccaedb2346e8ee2a5f27887ed8c25e5
Last active Feb 20, 2017 — forked from marty-wang/gist:5a71e9d0a6a2c6d6263c
Compile and deploy React Native Android app of Release version to device.
View gist:2ccaedb2346e8ee2a5f27887ed8c25e5
Disclaimer: The instructions are the collective efforts from a few places online.
Nothing here is my original. But I want to put them together in one place to save people from spending the same time as I did.
First off, bundle.
1. cd to the project directory
2. Start the react-native packager if not started
3. Download the bundle to the asset folder:
curl "http://localhost:8081/" -o "android/app/src/main/assets/"
You can’t perform that action at this time.