This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| ## DEFINE DIT ROOT/BASE/SUFFIX #### | |
| ## uses RFC 2377 format | |
| ## replace example and com as necessary below | |
| ## or for experimentation leave as is | |
| ## dcObject is an AUXILLIARY objectclass and MUST | |
| ## have a STRUCTURAL objectclass (organization in this case) | |
| # this is an ENTRY sequence and is preceded by a BLANK line | |
| dn: dc=example,dc=com |
| ExecutionEngine engine = new ExecutionEngine(graphDB); | |
| String query = "start n=node:Person(name={name}) | |
| match n-[:ACTS_IN]->movie<-[:ACTS_IN]-friend | |
| return friend"; | |
| ExecutionResult result = engine.query(query, map("name", "Keanu"); | |
| for (Map<String,Object> row : result) { | |
| Node friend = row.get("friend"); | |
| } |
| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |
| # Customize BASH PS1 prompt to show current GIT repository and branch. | |
| # by Mike Stewart - http://MediaDoneRight.com | |
| # SETUP CONSTANTS | |
| # Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
| # I don't remember where I found this. o_O | |
| # Reset | |
| Color_Off="\[\033[0m\]" # Text Reset |
Initialize a git repo in the current directory
# git init
Add a remote called "origin"
| { | |
| 'Ansi 7 Color' = { | |
| 'Blue Component' = '0.751819'; | |
| 'Green Component' = '0.859729'; | |
| 'Red Component' = '0.796432'; | |
| }; | |
| 'Selected Text Color' = { | |
| 'Blue Component' = '1.000000'; | |
| 'Green Component' = '1.000000'; | |
| 'Red Component' = '1.000000'; |
| #!/bin/bash | |
| function die() { | |
| echo "${1}" | |
| exit 1 | |
| } | |
| which printf > /dev/null 2>&1 || die "Shell integration requires the printf binary to be in your path." | |
| which sed > /dev/null 2>&1 || die "Shell integration requires the sed binary to be in your path." |