This file contains hidden or 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
#Add this to .bash_profile | |
twin () { | |
max=$2 || 1; | |
for i in `seq 1 $max`; | |
do | |
open -n -a /Applications/"$1".app 2> /dev/null || open -n -a /Users/"$(whoami)"/Applications/"$1".app; | |
done | |
} |
This file contains hidden or 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
{ | |
app.beginUndoGroup("Import Kollaborate Comments"); | |
var proj = app.project; | |
if (!proj) proj = app.newProject(); | |
var curItem = proj.activeItem; | |
if (curItem == null || !(curItem instanceof CompItem)) { | |
alert("Please establish a comp as the active item and run the script again"); | |
} else { | |
var myFile = File.openDialog("Please select input text file."); |
This file contains hidden or 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
(* Sean Cardwell - 2017 | |
* sean.m.cardwell@gmail.com | |
* | |
* This script is provided “as is” and any express or implied warranties, | |
* including the implied warranties of merchantability and fitness | |
* for a particular purpose are disclaimed. In no event shall | |
* Sean Cardwell or contributors be liable for any direct, indirect, | |
* incidental, special, exemplary, or consequential damages (including, | |
* but not limited to, procurement of substitute goods or services; | |
* loss of use, data, or profits; or business interruption) sustained |
This file contains hidden or 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
javascript: (function() { | |
picTitle = $(".background-info-title").text().replace(/[&\/\\#,+()$~%. '":*?<>{}]/g, ''); | |
window.prompt("Copy to clipboard: Ctrl+C, Enter", picTitle); | |
img = $("#background li").css("background-image"); | |
img = img.replace('url("', ''); img = img.replace('")', ''); img = img.replace('https://', ''); | |
a = $("<a>").attr("download", picTitle).attr("href", "https://" + img).attr("title", picTitle).appendTo("body"); | |
a[0].click(); | |
})(); |
This file contains hidden or 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
javascript: ( | |
function() { | |
window.open("http://img.youtube.com/vi/" + window.location.href.split("v=")[1] + "/maxresdefault.jpg", "_blank") | |
})(); | |
)})(); |
This file contains hidden or 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
var myItems = app.project.selection; | |
for (var i = 0; i < myItems.length; i++) { | |
if (myItems[i] instanceof CompItem) { | |
myItems[i].displayStartTime = 0; | |
} | |
} |