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:
#include <shared/VideoSurface.h> | |
GLuint VideoSurface::prog = 0; | |
GLint VideoSurface::u_pm = 0; | |
GLint VideoSurface::u_mm = 0; | |
GLint VideoSurface::u_tex = 0; | |
GLfloat VideoSurface::pm[16] = {0}; | |
VideoSurface::VideoSurface() | |
:width(0) |
#import <UIKit/UIKit.h> | |
#import "AppViewController.h" | |
@interface AppDelegate : UIResponder <UIApplicationDelegate> { | |
AppViewController* view_controller; | |
} | |
@property (strong, nonatomic) UIWindow *window; | |
@end |
#include <roxlu/io/Socket.h> | |
Socket::Socket() { | |
#ifdef _WIN32 | |
int result = WSAStartup(MAKEWORD(2,2), &wsa_data); | |
if(result != 0) { | |
printf("Error: cannot initialize WinSock.\n"); | |
WSACleanup(); | |
} | |
#endif |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Generates Gource config file from git submodules, starts Gource. | |
# Place to /usr/local/bin and run at the main repository root. | |
# | |
# (c) 2010 Mikael Lammentausta | |
# License is the same as Gource (GPLv3) | |
import os | |
import re |
( | |
"Thonburi-Bold", | |
Thonburi | |
) | |
2012-04-16 02:42:59.725 myApp[12412:707] ( | |
"SnellRoundhand-Bold", | |
"SnellRoundhand-Black", | |
SnellRoundhand | |
) | |
2012-04-16 02:42:59.729 myApp[12412:707] ( |
typedef struct FontHeader { | |
int32_t fVersion; | |
uint16_t fNumTables; | |
uint16_t fSearchRange; | |
uint16_t fEntrySelector; | |
uint16_t fRangeShift; | |
}FontHeader; | |
typedef struct TableEntry { | |
uint32_t fTag; |
//-------------------------------------------------------------- | |
void testApp::setup(){ | |
ofSetFrameRate(60); | |
ofSetVerticalSync(true); | |
ofBackground(33); | |
donnie.create(125); | |
donnie.si.drawUsingQuads(); | |
//renderer.addSceneItem(donnie.si); | |