This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Section: Sortable | |
Author: William Mincy | |
Author URI: http://slipperysource.com | |
Description: Example of sortable options reordering content | |
Class Name: wmSortable | |
Filter: Component | |
Loading: active,templates,main,sb_1,sb_2,sb_wrap, footer, footermore | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
clear | |
echo 'Downloading VMs into ~/Documents/VirtualboxVMs/modern.ie_vms' | |
mkdir -p ~/Documents/VirtualboxVMs/modern.ie_virtualbox_20150801 && cd ~/Documents/VirtualboxVMs/modern.ie_virtualbox_20150801 | |
echo '' | |
echo '| | (00% Complete)' | |
curl -O -L "https://az792536.vo.msecnd.net/vms/VMBuild_20150801/VirtualBox/MSEdge/Mac/Microsoft%20Edge.Win10.For.Mac.VirtualBox.zip" | |
clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mixin inputText(id, label, val) | |
div.row | |
label(for= id)= label | |
input(type="text", name= id, id= id, value= val,autocomplete="off") | |
mixin inputPassword(id, label, val) | |
div.row | |
label(for= id)= label | |
input(type="password", name= id, id= id, value= val,autocomplete="off") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function New-VideoFromImages { | |
param ( | |
[string]$InputFolder, | |
[string]$OutputFile, | |
[int]$FrameRate = 30 | |
) | |
$cmd = "ffmpeg -framerate $FrameRate -pattern_type glob -i '$InputFolder\*.png' -vf `"scale=1280:-1:flags=lanczos`" -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p -vf `"pad=ceil(iw/2)*2:ceil(ih/2)*2`" `"$OutputFile`"" | |
Invoke-Expression $cmd | |
} |