Skip to content

Instantly share code, notes, and snippets.

View chanpory's full-sized avatar

Chanpory Rith chanpory

  • San Francisco
  • 05:59 (UTC -07:00)
View GitHub Profile
@chanpory
chanpory / BatchOutline.js
Last active March 24, 2022 19:33 — forked from rozklad/BatchOutline.js
Batch Outline stroke all SVG files in folder using Adobe Illustrator
/**
* Batch Outline stroke all SVG files in folder using Adobe Illustrator.
*
* Usage:
* 1) Adjust location and outputLocation variables and save as BatchOutline.js anywhere
* 2) File > Scripts > Other script (CMD + F12) and open BatchOutline.js
*
* @credits https://forums.adobe.com/thread/2395503
* @version 1.1
*/
@chanpory
chanpory / gist:21b7ee3a39c3f693a716
Last active August 31, 2016 18:22
Shell command to create a new tab in Mac OS X terminal
# Opens a new tab in the current Terminal window and optionally executes a command.
# When invoked via a function named 'newwin', opens a new Terminal *window* instead.
# From http://stackoverflow.com/questions/7171725/open-new-terminal-tab-from-command-line-mac-os-x
newtab() {
# If this function was invoked directly by a function named 'newwin', we open a new *window* instead
# of a new tab in the existing window.
local funcName=$FUNCNAME
local targetType='tab'
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfa
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfa
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfa
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfa
# Going to drop some content in here
With some markdown stuff