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
from math import pi, sin, cos | |
from direct.showbase.ShowBase import ShowBase | |
from direct.task import Task | |
from direct.actor.Actor import Actor | |
from direct.interval.IntervalGlobal import Sequence | |
from panda3d.core import Point3 | |
from pandac.PandaModules import * | |
class MyApp(ShowBase): |
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
from math import pi, sin, cos | |
from direct.showbase.ShowBase import ShowBase | |
from direct.task import Task | |
from direct.actor.Actor import Actor | |
from direct.interval.IntervalGlobal import Sequence | |
from panda3d.core import Point3 | |
from pandac.PandaModules import * | |
from pandac.PandaModules import OdeWorld, OdeSimpleSpace | |
from pandac.PandaModules import OdeBody, OdeMass, OdeBoxGeom, OdePlaneGeom |
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
Thread 0 Crashed: Dispatch queue: com.apple.main-thread | |
0 libSystem.B.dylib 0x00007fff83e2a5d6 __kill + 10 | |
1 libSystem.B.dylib 0x00007fff83ecacd6 abort + 83 | |
2 libstdc++.6.dylib 0x00007fff845ac5d2 __tcf_0 + 0 | |
3 libobjc.A.dylib 0x00007fff827bad3d _objc_terminate + 120 | |
4 libstdc++.6.dylib 0x00007fff845aaae1 __cxxabiv1::__terminate(void (*)()) + 11 | |
5 libstdc++.6.dylib 0x00007fff845aab16 __cxxabiv1::__unexpected(void (*)()) + 0 | |
6 libstdc++.6.dylib 0x00007fff845aabfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0 | |
7 gosu.for_1_9.bundle 0x0000000101808b85 SwigDirector_Window::needsRedraw() const + 341 | |
8 gosu.for_1_9.bundle 0x00000001018558f5 Gosu::Window::Impl::doTick(Gosu::Window&) + 373 |
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
Fri Jun 17 03:44:39 unknown MobileMail[1689] <Warning>: Received memory warning. Level=1 | |
Fri Jun 17 03:44:39 unknown SpringBoard[30] <Warning>: Received memory warning. Level=1 | |
Fri Jun 17 03:44:40 unknown configd[28] <Notice>: jetsam: kernel memory event (93), free: 219, active: 646, inactive: 771, purgeable: 0, wired: 9816 | |
Fri Jun 17 03:44:40 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x569]) Exited: Killed | |
Fri Jun 17 03:44:40 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:MHCI.ComicViewer[0x6e0b]) Bug: launchd_core_logic.c:3253 (24226):0 | |
Fri Jun 17 03:44:40 unknown configd[28] <Notice>: jetsam: kernel termination snapshot being created | |
Fri Jun 17 03:44:40 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:MHCI.ComicViewer[0x6e0b]) Bug: launchd_core_logic.c:800 (24226):3 | |
Fri Jun 17 03:44:40 unknown SpringBoard[30] <Warning>: Unable to delete job with label UIKitApplication:MHCI.ComicViewer[0x6e0b]. Error: No such process | |
Fri Jun 17 03:44:40 unknown com.apple |
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
Incident Identifier: AF7076D4-407E-481E-AF88-683DE141FDB9 | |
CrashReporter Key: 180bc0f74dc0383ce1123e7778539233f607647f | |
Hardware Model: iPod2,1 | |
Process: ComicViewer [1451] | |
Path: /var/mobile/Applications/4716D21C-AD23-425D-AFC9-89E8F91ED4C8/ComicViewer.app/ComicViewer | |
Identifier: ComicViewer | |
Version: ??? (???) | |
Code Type: ARM (Native) | |
Parent Process: launchd [1] |
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
module Ogre | |
def assert | |
raise "Assertion failed !" unless yield if $DEBUG | |
end | |
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
module Ogre | |
def assert | |
raise "Assertion failed !" unless yield if $DEBUG | |
end | |
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_relative 'helper' | |
module Ogre | |
class Vector2 | |
include Ogre | |
attr_accessor :x, :y | |
def initialize(x, y) | |
@x = x.to_f | |
@y = y.to_f |
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
<p id="notice"><%= notice %></p> | |
<p> | |
<b>Name:</b> | |
<%= @mailbox.name %> | |
</p> | |
<% @mailbox.letters.each do |letter| %> | |
<p> | |
<b><%= letter.subject %></b><br /> |
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
class MailboxesController < ApplicationController | |
# GET /mailboxes | |
# GET /mailboxes.json | |
def index | |
@mailboxes = Mailbox.all | |
respond_to do |format| | |
format.html # index.html.erb | |
format.json { render json: @mailboxes } | |
end |