This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<axis n="0"> | |
<desc>Spoilers</desc> | |
<binding> | |
<command>property-scale</command> | |
<property>/controls/flight/spoiler</property> | |
<power>2.0</power> | |
</binding> | |
</axis> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SDK=/opt/x-plane/SDK | |
TARGET=mac.xpl | |
HEADERS=$(wildcard *.h) | |
SOURCES=$(wildcard *.cpp) | |
OBJECTS=$(SOURCES:.cpp=.o) | |
# Build for 10.4 compatibility, Intel and PPC. Assume X-Plane SDK is in /opt/x-plane | |
SDKROOT=/Developer/SDKs/MacOSX10.4u.sdk | |
OSXC=-arch i386 -arch ppc -universal -mmacosx-version-min=10.4 -isysroot $(SDKROOT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "timecode" | |
$KCODE = 'u' | |
SRT_TIMECODE_FORMAT = /((\d{2}):(\d{2}):(\d{2}),(\d+))/ | |
class SRT_Timecode < Timecode | |
def to_s | |
with_fractional_seconds.gsub(/\.(\d+)/, ',\1') | |
end | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flame_LINUX_2.6_x86_64: /usr/tmp/ntv2linux-4.3-beta10/classes/ntv2autocirculate.cpp:214: bool CNTV2Card::GetAutoCirculate(NTV2Crosspoint, AUTOCIRCULATE_STATUS_STRUCT*): Assertion `_boardOpened' failed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
$KCODE = 'u' | |
require 'osx/cocoa' | |
OSX.require_framework "AddressBook" | |
# The SuperDeTussenvoegselizator. On the iPhone, | |
# names starting with "van " will sort in the V, thus the half of | |
# your contacts will be on one letter and looking vor "de Jong" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[notice] 2606006240 log.C:362 08/26/09:15:23:28.752 VOLUMEMGT : Mapping project "Iglo_SpinazieAlaCreme": | |
[notice] 2606006240 log.C:362 08/26/09:15:23:28.775 : mapping library "12283_Iglo_SpinazieAlaCreme" ... | |
[notice] 2606006240 log.C:362 08/26/09:15:23:28.783 : mapping library "ExportIO" ... | |
[notice] 2606006240 log.C:362 08/26/09:15:23:28.784 : mapping library "_Burn_" ... | |
[notice] 2606006240 log.C:362 08/26/09:15:23:28.786 : mapping library "_Cache_" ... | |
[notice] 2606006240 log.C:362 08/26/09:15:23:28.788 : mapping desktop "effects" ... | |
[notice] 2606006240 log.C:362 08/26/09:15:23:28.792 VOLUMEMGT : Mapping done. | |
[notice] 2606006240 volumeMgt.C:2226 08/26/09:15:23:28.793 VOLUME : [he-flame-01] [720 x 576] | |
[user] 2606006240 setmon_linux.C:109 08/26/09:15:23:29.027 SETMON: Setting format [email protected] | |
[notice] 2606006240 messageAccumulator.C:268 08/26/09:15:23:29.045 VIDEO PREVIEW : Initialising dviramp (genlock mode). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires "source_tc_frames" and "tape_fps" int columns | |
class Clip < ActiveRecord::Base | |
composed_of :start_tc, :class_name => 'Timecode', | |
:mapping => [%w(source_tc_frames total), %w(tape_fps fps)] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'timecode' | |
tc = Timecode.parse("00:00:10:12", fps = 25) | |
tc.total #=> 262 total frames | |
plus_ten_hours = tc + Timecode.parse("10h", fps = 25) | |
plus_ten_hours #=> 10:00:10:12, one hour later | |
divided_by_ten = plus_ten_hours / 10 | |
divided_by_ten #=> 01:00:01:01, one tenth |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'edl' | |
list = EDL::Parser.new(fps=25).parse(File.open('OFFLINE.EDL')) | |
list.events.each do | evt | | |
evt.clip_name #=> Boat_Trip_Take1 | |
evt.capture_from_tc #=> 01:20:22:10 | |
evt.capture_to_tc #=> 01:20:26:15, accounts for outgoing transition AND M2 timewarps | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'depix' | |
dpx_pattern = "/Users/julik/Desktop/Film/E036/*.dpx" | |
Dir.glob(dpx_pattern).each do | dpx_path | | |
dpx = Depix.from_file(dpx_path) | |
print "%dx%d" % [dpx.image.pixels_per_line, dpx.image.lines_per_element] | |
end |