Skip to content

Instantly share code, notes, and snippets.

View heydamianc's full-sized avatar

Damian Carrillo heydamianc

View GitHub Profile
#!/bin/bash
for i in *.HEIC
do
#echo $i
#ffmpeg -i "$i" -frames:v 1 -vsync vfr -q:v 1 -an "${i%HEIC}jpg"
sips --setProperty format jpeg "$i" --out "${i%HEIC}jpg"
done
@heydamianc
heydamianc / format.awk
Created October 5, 2011 22:04
Formats Objective-C code (unfinished)
#! /usr/bin/env awk -f
BEGIN {
shiftWidth = 4
expandedTab = createExpandedTab(4)
}
{
s = stripTrailingWhitespace($0)
s = expandTabs(s, expandedTab)