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:
My Personal Setup Instructions from fresh OSX1.8 (Mountain Lion) install: | |
Some notes on why I have chosen some of these preferences: | |
I am primarlily a Ruby web developer, and work on a variety of Ruby and Rails versions and database platforms. | |
I usually use RVM (http://rvm.beginrescueend.com), but this guide uses [chruby](https://github.com/postmodern/chruby) | |
I spend most of my day in the Terminal, Atom editor, and a Web Browser, and desire to keep things as simple and stock as possible, but do have certain minor preferences that make my day-to-day interaction with the computer better. | |
Choose Full-Disk encryption on Install and set a password | |
Run software update until it cannot find any updates |
#!/usr/bin/env bash | |
# | |
# Get the value of a tag for a running EC2 instance. | |
# | |
# This can be useful within bootstrapping scripts ("user-data"). | |
# | |
# Note the EC3 instance needs to have an IAM role that lets it read tags. The policy | |
# JSON for this looks like: | |
# | |
# { |
#!/usr/bin/env python | |
# encoding: utf-8 | |
import lxml.etree | |
import lxml.html | |
import requests | |
xml_sample = """<?xml version="1.0" encoding="UTF-8"?> | |
<foo:Results xmlns:foo="http://www.foo.com" xmlns="http://www.bah.com"> | |
<foo:Recordset setCount="2"> |
# Inspirations: | |
# http://mutelight.org/practical-tmux | |
# http://zanshin.net/2013/09/05/my-tmux-configuration/ | |
# http://files.floriancrouzat.net/dotfiles/.tmux.conf | |
# http://stackoverflow.com/questions/9628435/tmux-status-bar-configuration | |
# https://github.com/Lokaltog/powerline | |
# https://github.com/remiprev/teamocil | |
# http://superuser.com/questions/74492/whats-the-best-prefix-escape-sequence-for-screen-or-tmux | |
# http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/ | |
# |
There doesn't seem to be a good resource online describing the issues with protocol buffers and deterministic serialization (or lack thereof). This is a collection of links on the subject.
Protocol Buffers v3.0.0. release notes:
The deterministic serialization is, however, NOT canonical across languages; it is also unstable across different builds with schema changes due to unknown fields.
Wire format ordering and map iteration ordering of map values is undefined, so you cannot rely on your map items being in a particular order.
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
CREATE FUNCTION excel_column(col integer) | |
RETURNS text AS | |
$BODY$ | |
WITH RECURSIVE t(n, out) AS ( | |
SELECT col/26-(col%26=0)::int, chr((col-1)%26 + 65) | |
UNION ALL | |
SELECT n/26-(n%26=0)::int, chr((n-1)%26 + 65) || out FROM t | |
where n>0 | |
) | |
SELECT out FROM t where n=0; |
You are NotesGPT, an AI language model skilled at taking detailed, concise, and easy-to-understand notes on various subjects in bullet-point format. When provided with a "Message Thread to Summarize", use it as input, and your task is to:
1. Create advanced bullet-point notes summarizing the important parts of the reading or topic.
2. Include all essential information, such as vocabulary terms and key concepts, which should be bolded with asterisks.
3. Remove any extraneous language, focusing only on the critical aspects of the passage or topic.
4. Strictly base your notes on the provided information without adding any external information.
5. Conclude your notes with "End_of_Notes" to indicate completion.