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:
| ! Hybrid Terminal Colours. Uses the palette from Tomorrow-Night: | |
| ! https://github.com/chriskempson/tomorrow-theme/blob/master/vim/colors/Tomorrow-Night.vim | |
| ! vim: ft=xdefaults | |
| *background: #1D1F21 | |
| *foreground: #C5C8C6 | |
| ! black | |
| *color0: #282A2E | |
| *color8: #373B41 | |
| ! red |
| from gevent import monkey | |
| monkey.patch_all() | |
| import gevent.pool | |
| import os | |
| import random | |
| import time | |
| import datetime | |
| from multiprocessing import Semaphore, Array |
| import gevent | |
| from gevent import monkey, queue | |
| monkey.patch_all() | |
| import urllib2 | |
| from time import sleep | |
| import traceback | |
| import logging |
| """ | |
| test commit creation with pygit2 | |
| To see the result: | |
| rm -rf foo && python test_cc.py && cd foo/ && git log --graph --oneline --date-order --decorate --color --all && git status && cd .. | |
| """ | |
| import os | |
| import sys | |
| import pygit2 |
| import simplejson as json | |
| import lxml | |
| class objectJSONEncoder(json.JSONEncoder): | |
| """A specialized JSON encoder that can handle simple lxml objectify types | |
| >>> from lxml import objectify | |
| >>> obj = objectify.fromstring("<Book><price>1.50</price><author>W. Shakespeare</author></Book>") | |
| >>> objectJSONEncoder().encode(obj) | |
| '{"price": 1.5, "author": "W. Shakespeare"}' | |
| """ |
These use separate document structures instead of HTML, some are more modular libraries than full editors
| package nessusProcessor | |
| import ( | |
| "encoding/hex" | |
| "math/big" | |
| "net" | |
| ) | |
| // Inet_Aton converts an IPv4 net.IP object to a 64 bit integer. | |
| func Inet_Aton(ip net.IP) int64 { |
| to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
| stun: | |
| stun.l.google.com:19302, | |
| stun1.l.google.com:19302, | |
| stun2.l.google.com:19302, | |
| stun3.l.google.com:19302, | |
| stun4.l.google.com:19302, | |
| stun.ekiga.net, | |
| stun.ideasip.com, |