Skip to content

Instantly share code, notes, and snippets.

View ParsifalC's full-sized avatar
🏀
Where Amazing Happens!

Parsifal ParsifalC

🏀
Where Amazing Happens!
View GitHub Profile
@ParsifalC
ParsifalC / GIF-Screencast-OSX.md
Created January 13, 2017 08:34 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@ParsifalC
ParsifalC / launch_sublime_from_terminal.markdown
Created November 10, 2015 07:34 — forked from artero/launch_sublime_from_terminal.markdown
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

# 去掉了curl的-sk参数,-s为静默状态(不提示错误),-k为允许不适用ssl
curl https://cloud.github.com/downloads/square/PonyDebugger/bootstrap-ponyd.py | \
python - --ponyd-symlink=/usr/local/bin/ponyd ~/Library/PonyDebugger
# 报错 Could not find any downloads that satisfy the requirement pybonjour (from ponydebugger),运行下面的命令
# activate your virtualenv
source ~/Library/PonyDebugger/bin/activate
# update the ponyd source
sudo pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour
# updates chrome dev tools source