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
| access_token:="" ;Your Github access token goes here if you want to publish it to your Gist list | |
| info:="Code to post goes here" ;Change this to create the new text for the Gist | |
| filename:="mygit.txt" ;change this to whatever you want your file name to be | |
| desc:="my description" ;This is where you would have a description for your Gist | |
| post_gist(info,access_token,filename,desc) | |
| return |
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
| /* | |
| This script resizes every layer within the active document. | |
| How to use: | |
| - Photoshop script ( cs3+ ) | |
| - Put in {photoshop_root}/presets/scripts/Resize Each Layer.jsx | |
| - Run from: File > Scripts > Resize Each Layer | |
| - ..or save the file where ever you want and run from there with: File > Scripts > Browse... | |
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
| -- | |
| -- copyleft (c) 2012 by htFX, Jens Diemer - http://www.htFX.de | |
| -- | |
| -- https://gist.github.com/2392735 | |
| -- http://www.scriptspot.com/3ds-max/scripts/maxscript-to-turn-off-backface-cull-on-all-objects | |
| -- | |
| actionMan.executeAction 0 "40472" -- MAX Script: MAXScript Listener | |
| clearListener() |
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 doc = app.activeDocument; | |
| var guides = app.activeDocument.guides; | |
| var w = doc.width; | |
| var h = doc.height; | |
| function MakeGuidesGrid(unitVertical, gutterVertical, unitHorisontal, gutterHorisontal) { | |
| if (unitHorisontal !== 0) { | |
| var j = h / unitHorisontal; | |
| for (var i = 0; i < j; i++) { | |
| guides.add(Direction.HORIZONTAL, i * unitHorisontal); |
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
| /* Code by Mike Hale http://www.ps-scripts.com/bb/viewtopic.php?f=14&t=1802&start=15 | |
| with small modification by Vladimir Carrer | |
| */ | |
| function DrawShape() { | |
| var doc = app.activeDocument; | |
| var y = arguments.length; | |
| var i = 0; | |
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
| /*! | |
| * quantize.js Copyright 2008 Nick Rabinowitz. | |
| * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
| */ | |
| // fill out a couple protovis dependencies | |
| /*! | |
| * Block below copied from Protovis: http://mbostock.github.com/protovis/ | |
| * Copyright 2010 Stanford Visualization Group | |
| * Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php |
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
| stylus: | |
| compress: true | |
| path: ./path/to/styl |
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
| // ChangeColor.jsx | |
| // | |
| // This photoshop script finds all shape and solid fill layers that match the color | |
| // of the currently selected shape/fill layer and changes their color to the | |
| // foreground color. | |
| // | |
| // Tested on Adobe Photoshop CS4 (Mac) | |
| // enable double clicking from the Macintosh Finder or the Windows Explorer | |
| #target photoshop |
NewerOlder