Skip to content

Instantly share code, notes, and snippets.

ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@psql
psql / wobble.js
Created December 18, 2015 16:44
Ae wobble slider
Amp = thisComp.layer("Null 1").effect("Amp")("Slider") + 20;
Math.sin(time*50)*Amp;
/*
----------------------
MirrorMe 1.1.2 (by Ced)
----------------------
[email protected]
http://grain.s.free.fr
----------------------
thanks to ## Haider Alghifary ## for feddback and improvements ideas...:)
@psql
psql / lol.bash
Created September 5, 2014 14:19
Recent Bash Profile
# make ls colorful
export CLICOLOR=1
#git branch in path
function parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
RED="\[\033[0;31m\]"
@psql
psql / Border tweak
Created April 29, 2014 15:24
Override stellar border styles
#avatar.user img { border-color: black; }
a { color: #CF3F3F !important; }
a:hover { color: white !important; }
@psql
psql / patches.js
Created February 4, 2014 05:16
Unreleased FB QC patches
> (null)
<QCNodeManager | namespace = "com.apple.QuartzComposer" | 501 nodes>: Patch with name "FBDeviceRendererPatch" is missing
> Macro Patch
Cannot create node of class "FBDeviceRendererPatch" and identifier "(null)"
> (null)
<QCNodeManager | namespace = "com.apple.QuartzComposer" | 501 nodes>: Patch with name "FBImageSendTCPPatch" is missing
> Macro Patch
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SKVariables</key>
<array>
<dict>
<key>enabled</key>
<true/>
<key>name</key>
@psql
psql / xposition .js
Created January 8, 2014 23:24
Scale based on x position threshold
L = thisComp.layer("circle 25");
childPos= L.toWorld(L.anchorPoint);
if (childPos[0] < 200){
[100,100];
}
else{
[50,50]
}
@psql
psql / Round Time.js
Created January 6, 2014 20:40
Frames to rounded value After Effects
"SECONDS: " + (timeToFrames()/24).toFixed(3)
@psql
psql / gist:7493944
Created November 16, 2013 00:05
AE wiggle keyframes
Adobe After Effects 8.0 Keyframe Data
Units Per Second 25
Source Width 1
Source Height 1
Source Pixel Aspect Ratio 1
Comp Pixel Aspect Ratio 1
Transform X Position
Frame