One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/bin/bash | |
# @link https://gist.github.com/mattscilipoti/8424018 | |
# | |
# Called by "git push" after it has checked the remote status, | |
# but before anything has been pushed. | |
# | |
# If this script exits with a non-zero status nothing will be pushed. | |
# | |
# Steps to install, from the root directory of your repo... |
%matplotlib inline | |
filename = 'vtk-plot_0.vtk' | |
import vtk | |
from numpy import zeros | |
import matplotlib.pyplot as plt | |
reader = vtk.vtkUnstructuredGridReader() | |
reader.SetFileName(filename) |
" Ensure correct syntax highlighting and auto-indentation for Fortran free-form | |
" source code. | |
let fortran_free_source=1 | |
let fortran_do_enddo=1 | |
filetype plugin indent on | |
syntax on | |
" Turn on line numbers and row/column numbers. | |
set nu |
#!/bin/bash | |
#ffmpeg -i $1 -strict -2 -filter_complex "amerge,pan=stereo:c0<c0+c2:c1<c1+c3" mono_$1 | |
ffmpeg -i $1 -filter_complex "amerge,pan=stereo|c0<c0+c2|c1<c1+c3" -vcodec copy mono_$1 |
ffmpeg -i $1.mov -vcodec h264 -acodec aac -strict -2 $1.mp4 |
#!/bin/bash | |
stat --format %y $(ls -t $(find $1/ -type f) | head -n 1) |
du -hs * | sort -h |
ffmpeg -i $1.mp4 -vf "fps=10,scale=320:-1:flags=lanczos" -c:v pam -f image2pipe - | convert -delay 10 - -loop 0 -layers optimize $1.gif |
rsync -vaPuz -e 'ssh -p 2009' gallegati@flumacs.dima.uniroma1.it:/home/gallegati/FTaC-pp/cyclone-pijet-omp . |