Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mike1e's full-sized avatar

Michael Le mike1e

View GitHub Profile
@mike1e
mike1e / gist:f407230551a4ba8cd0bf
Created October 23, 2015 22:35
gchrome to safari
tell application "Google Chrome"
set pageUrl to get URL of active tab of first window
end tell
tell application "Safari" to add reading list item pageUrl
#!/bin/bash
scalesvg ()
{
svgfile="$1"
pngdir="$2"
pngscale="$3"
qualifier="$4"
svgwidthxheight=$(identify "$svgfile" | cut -d ' ' -f 3)