Skip to content

Instantly share code, notes, and snippets.

@DareWreck
DareWreck / keybase.md
Created September 12, 2019 01:20
Keybase Proof

Keybase proof

I hereby claim:

  • I am darewreck on github.
  • I am darewreck (https://keybase.io/darewreck) on keybase.
  • I have a public key ASCU1gCuF-j418IkpiEBy-VOySOvUtvC88gF4I-7Xj7unQo

To claim this, I am signing this object:

.DS_Store
Thumbs.db
dwsync.xm
_notes/
*.svn
*.swo
*.swp
~
*~
~*
@DareWreck
DareWreck / .gitignore
Last active August 29, 2015 14:03 — forked from namklabs/.gitignore
.DS_Store
Thumbs.db
dwsync.xm
_notes/
*.svn
*.swo
*.swp
~
*~
~*
@DareWreck
DareWreck / Append File Name.jsx
Last active July 18, 2017 18:53
Photoshop save image as jpg in image origin folder with appended file name for use in conjunction with an action/droplet combo
var docRef = app.activeDocument;
function ExportJpg(path, filename, qual)
{
try
{
var options = new ExportOptionsSaveForWeb();
jpgFile = new File( path + "\\" + filename );
options.quality = qual; // Start with highest quality (biggest file).
options.format = SaveDocumentType.JPEG; // Or it'll default to GIF.