I hereby claim:
- I am Guard13007 on github.
- I am guard13007 (https://keybase.io/guard13007) on keybase.
- I have a public key whose fingerprint is 1A74 AE9E 1AFC 020C CBFE 5A8E 8CD5 45C0 0785 7098
To claim this, I am signing this object:
| $input = $args[0] | |
| $output = $input.Replace(".MOV", ".mp4") | |
| $output = $output.Replace(".mov", ".mp4") # in case ext is lowercase | |
| ffmpeg -i "$input" -vcodec copy -acodec copy "$output" |
| # Usage: run this file, it will install itself | |
| # to $profile and be run from there | |
| # Make sure $profile exists. | |
| if (! (Test-Path $profile) ) { | |
| New-Item -Path $profile -ItemType File -Force | |
| } | |
| # Find ourselves and where we should be. | |
| $me = $PSCommandPath # $MyInvocation.MyCommand.Definition |
| -- This is an implementation of classes compatible with MoonScript's classes. | |
| -- CC0 license | |
| -- Usage: | |
| -- local Class = require "Class" | |
| -- local SomeClass, BaseObject = Class("NameOfClass") | |
| -- define your own init: | |
| -- function SomeClass:__init() end |
I hereby claim:
To claim this, I am signing this object:
| local Starfield = {} | |
| Starfield.__index = Starfield | |
| --NOTE TEMP FOR STATS | |
| local results = {} | |
| function Starfield:clipResults() | |
| local str = "count,threshold,ox,oy\n" | |
| for i = 1, #results, 4 do | |
| str = str .. results[i] .. "," .. results[i+1] .. "," .. results[i+2] .. "," .. results[i+3] .. "\n" |