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:
| <%-- version1: java style --%> | |
| <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| <%@page import="java.util.Date"%> | |
| <%@page import="java.util.Calendar"%> | |
| <% pageContext.setAttribute("currentYear", java.util.Calendar.getInstance().get(java.util.Calendar.YEAR)); %> | |
| Current year is: <c:out value="${currentYear}" /> | |
| <%-- version2: JSTL style --%> | |
| <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
| <html> | |
| <head> | |
| <title>Google Maps Multiple Markers</title> | |
| <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <div id="map" style="height: 400px; width: 500px;"> | |
| </div> | |
| <script type="text/javascript"> |
| require 'fileutils' | |
| # An OS X System Service for quickly filing image files to a Jekyll blog folder, | |
| # putting Markdown links to the files on the clipboard. | |
| # Copyright Brett Terpstra 2013 | |
| # Config | |
| # ====== | |
| # Where to store the images | |
| base_path = '~/Sites/dev/octopress/source/uploads/' |
| <?php | |
| // This script is to solve the problem of doing database search and replace | |
| // when developers have only gone and used the non-relational concept of | |
| // serializing PHP arrays into single database columns. It will search for all | |
| // matching data on the database and change it, even if it's within a serialized | |
| // PHP array. | |
| // The big problem with serialised arrays is that if you do a normal DB | |
| // style search and replace the lengths get mucked up. This search deals with |
| //## Moment.JS Holiday Plugin | |
| // | |
| //Usage: | |
| // Call .holiday() from any moment object. If date is a US Federal Holiday, name of the holiday will be returned. | |
| // Otherwise, return nothing. | |
| // | |
| // Example: | |
| // `moment('12/25/2013').holiday()` will return "Christmas Day" | |
| // | |
| //Holidays: |
| <?php | |
| // Prevent content sniffing attacks such as http://mths.be/bst. | |
| header('X-Content-Type-Options: nosniff'); | |
| // Note: The user-provided callback name must be filtered to prevent attack | |
| // vectors. This script simply removes any symbols other than `[a-zA-Z0-9$_]` | |
| // from the input. Sadly, this blocks the use of some valid JavaScript | |
| // identifiers, and also accepts a few invalid ones. See | |
| // http://mathiasbynens.be/notes/javascript-identifiers for details. |
| function decodeUrlParameter(str) { | |
| return decodeURIComponent((str+'').replace(/\+/g, '%20')); | |
| } |
| for f in "$@" | |
| do | |
| filename="${f%.*}" | |
| plutil -convert xml1 "$filename".json -o "$filename".plist | |
| done |
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
*nix based command prompt (but not the default Windows Command Prompt!)cd ~/.ssh. This will take you to the root directory for Git (Likely C:\Users\[YOUR-USER-NAME]\.ssh\ on Windows).ssh folder, there should be these two files: id_rsa and id_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Type ls to see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be named id_rsa and id_rsa.pub in order for Git, GitHub, and BitBucket to recognize them by default.ssh-keygen -t rsa -C "[email protected]". Th