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
NoOp { | |
name DOLLAR_GUI_HANDLER | |
tile_color 0xd94848ff | |
hide_input true | |
addUserKnob {20 Handler l "\$gui Handler"} | |
addUserKnob {1 nodelist} | |
nodelist "H_high_low_switch.Switch1, RF_Yorktown_DEFOCUS.SHIT_SWITCHER, RF_Yorktown_BG1.ScanlineRender4, ScanlineRender1" | |
addUserKnob {26 ""} | |
addUserKnob {22 find_gui_nodes l "Find \$gui Nodes" T "# Find all nodes with knobs that have \$gui expressions\nnodelist = \[]\nfor node in nuke.allNodes(recurseGroups=True):\n for knob in node.knobs():\n if node\[knob].hasExpression():\n if '\$gui' in node\[knob].toScript():\n if node not in nodelist:\n nodelist.append(node)\n\nnodelist_comma = ', '.join(\[item.fullName() for item in nodelist])\nprint nodelist_comma\nnuke.thisNode()\['nodelist'].setValue(nodelist_comma)" +STARTLINE} | |
addUserKnob {22 remove_gui_expression l "Remove \$gui Expression" -STARTLINE T "# Remove \$gui expression\n#thisNode = nuke.selectedNode()\nthisNode = nuke.thisNode()\nnodelist_comma = thisNod |
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
"""Store function on node | |
Usage example: | |
.. code-block:: | |
# Control node | |
ctrl_node_name = 'MY_SCRIPT_NODE' # if None, store on nuke.root() | |
# Define your functions and add them to the dictionary |
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
Group { | |
name ColorTracker | |
addUserKnob {20 ColorTracker} | |
addUserKnob {26 instructions_text l <b>Instructions: T "1). Stabilize your plate around the area you want to track\n2). Crop your plate to just the area you want to analyze\n4). Press Track Color to analyze the footage\n5). Create a matchmove or stabilize grade, and specify your reference frame\n6). You can scale the curve around a specified pivot value on the grade node \n using the color_pivot and color_mult knobs in the ColorTrack tab"} | |
addUserKnob {26 ""} | |
addUserKnob {26 label_trackcolor l "<b>Track Color" T " "} | |
addUserKnob {41 track_color l "Track Color" t "This button will track the color change over the specified framerange and put the data into the intensitydata knob." T CurveTool.go} | |
addUserKnob {41 intensitydata T CurveTool.intensitydata} | |
addUserKnob {26 ""} | |
addUserKnob {26 label_apply_color_track l "<b>Apply Track" T " "} |
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
#!/usr/bin/python | |
""" | |
Karl's unix/rsync time-machine script. | |
Maintains daily and monthly snapshots of a directory tree, hard linked to save | |
space when files don't change. | |
Inspired by http://www.mikerubel.org/computers/rsync_snapshots/, but using | |
more robust coding practices. | |
Features: |
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
set cut_paste_input [stack 0] | |
push $cut_paste_input | |
Group { | |
name DofCalc | |
label "<left>\nfocal length: \[format \"%.0f\" \[value f]]\nf-stop: \[format \"%.2f\" \[value N]]\nsubject dist: \[format \"%.2f\" \[value s]]\n\nhyperfocal dist: \[format \"%.2f\" \[value H]]\n---------------------------\ndof: \[format \"%.2f\" \[value dof]]\ndof near: \[format \"%.2f\" \[value Dn]]\ndof far: \[format \"%.2f\" \[value Df]]" | |
addUserKnob {20 DofCalc} | |
addUserKnob {4 depth_unit l "depth unit" t "Set your depth unit" M {mm cm dm m inch ft}} | |
depth_unit ft | |
addUserKnob {41 s l subject_distance T VAR.s} | |
addUserKnob {41 f l focal_length T VAR.f} |
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
set cut_paste_input [stack 0] | |
push $cut_paste_input | |
add_layer {Pref Pref.red Pref.green Pref.blue Pref.alpha} | |
Group { | |
name PNoise | |
addUserKnob {20 PNoise} | |
addUserKnob {41 p_channel l "position data" T _POSITION_DATA_.in} | |
addUserKnob {41 output_channel l output -STARTLINE T _NOISE_OUT_.out} | |
addUserKnob {6 unpremultiply +STARTLINE} | |
unpremultiply true |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
set cut_paste_input [stack 0] | |
push $cut_paste_input | |
Group { | |
name ToeReverse | |
tile_color 0x7aa9ffff | |
addUserKnob {20 Toe} | |
addUserKnob {18 lift} | |
lift 0 | |
addUserKnob {6 lift_panelDropped l "panel dropped state" -STARTLINE +HIDDEN} | |
addUserKnob {18 pivot} |
This file has been truncated, but you can view the full file.
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
############################################################## | |
# TMUX CONF JEDEDIAH | |
############################################################## | |
set-option -g prefix M-a | |
unbind-key M-a | |
bind-key M-a send-prefix | |
set -g base-index 1 | |