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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>title</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
// Code goes here | |
console.log("Hello, World!"); |
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
brew install --force ffmpeg --with-chromaprint --with-fdk-aac --with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-rubberband --with-schroedinger --with-sdl2 --with-snappy --with-speex --with-tesseract --with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg |
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
filetype plugin indent on " not so sure what this does | |
let python_highlight_all=1 | |
syntax on " enables syntax processing | |
syntax enable " I think this is a duplicate? | |
set clipboard=unnamed " This sets the system clipboard to the deafault | |
set background=dark " gives us the wonderful "dark" | |
" solarized colorscheme |
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 | |
## Matt Schoen | |
## 5-29-2013 | |
## | |
## In the absence of a legitimate license (that I know of) that fits my needs, here goes: This software is the | |
## copyrighted material of its author, Matt Schoen, and his comapny Defective Studios. It is available for sale on | |
## the Unity Asset store and is subject to their restrictions and limitations, as well as the following: You shall not | |
## reproduce or re-distribute this software with the express written (e-mail is fine) permission of the author. If | |
## permission is granted, the code (this file and related files) must bear this license in its entirety. Anyone who |
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
{ | |
//Begin undo group | |
app.beginUndoGroup("Long Shadows"); | |
/* Variables */ | |
// Selected Comp | |
var rootComp = app.project.activeItem; | |
// Actual footage layer that the shadow is applied to | |
var footageLayer; | |
// Name of original footage layer |
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
app.beginUndoGroup("Move Markers to Null"); //begins the undo group | |
//Variables | |
var curItem = app.project.activeItem; //creates a variable that holds the selected comp | |
var curLayer = curItem.selectedLayers[0]; //creates a variable that holds the selected layer | |
var oldMarkers = curLayer.property("Marker"); | |
function main() | |
{ | |
var nullLayer = curItem.layers.addNull(curItem.duration); //create our null object |
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
{ | |
//Begin undo group | |
app.beginUndoGroup("Long Line of Numbers"); | |
//Variables | |
var minNumber = 0; | |
var maxNumber = 0; | |
function main() { | |
//Get minNumber |
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
{ | |
//Begins the undo group. | |
app.beginUndoGroup("Add Camera and Dolly"); | |
//Creates a variable that holds the selected comp | |
var curItem = app.project.activeItem; | |
//Makes sure that there is an active comp | |
if (curItem === null || !(curItem instanceof CompItem)) | |
{ |
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
{ | |
//Begins the undo group | |
app.beginUndoGroup("Add Inertial Bounce"); | |
//Global Variables: | |
var bounceExp = "n = 0;if (numKeys > 0){n = nearestKey(time).index;if (key(n).time > time){n--;}}if (n == 0){t = 0;}else{t = time - key(n).time;}if (n > 0 && t < 1){v = velocityAtTime(key(n).time - thisComp.frameDuration/10);amp = .04;freq = 2.0;decay = 8.0;value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);}else{value;}"; | |
var curItem = app.project.activeItem; //Creates variable that holds selected comp | |
//Functions: | |
function addBounce (currentLayer) |
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
{ | |
//Begins the undo group | |
app.beginUndoGroup("Add Inertial Bounce"); | |
//Global Variables: | |
var bounceExp = "n = 0;if (numKeys > 0){n = nearestKey(time).index;if (key(n).time > time){n--;}}if (n == 0){t = 0;}else{t = time - key(n).time;}if (n > 0 && t < 1){v = velocityAtTime(key(n).time - thisComp.frameDuration/10);amp = .04;freq = 2.0;decay = 8.0;value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);}else{value;}"; | |
var curItem = app.project.activeItem; //Creates variable that holds selected comp | |
//Functions: | |
function addBounce (currentLayer) |
NewerOlder