Skip to content

Instantly share code, notes, and snippets.

{
"id": 1,
"name": "Level 1",
"start": {
"position": { "x": 0, "y": 0, "z": 0 }
},
"dependencies": {
"torus": "torus.obj"
},
"gate": {
objc[45093]: Class AXEmojiUtilities is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libAXSpeechManager.dylib. One of the two will be used. Which one is undefined.
2014-08-31 19:34:25.090 IOSLauncher[45093:70b] Cannot find executable for CFBundle 0xc65a700 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
2014-08-31 19:34:25.155 IOSLauncher[45093:70b] [debug] IOSApplication: View: LandscapeRight 1136x640
2014-08-31 19:34:25.156 IOSLauncher[45093:70b] [debug] IOSGraphics: 1136.0x640.0, 2.0
2014-08-31 19:34:25.297 IOSLauncher[45093:70b] [debug] IOSGraphics: Calculating d
Date/Time: 2014-09-02 20:56:01 +0200
OS Version: 10.9.4 (Build 13E28)
Architecture: x86_64
Report Version: 18
Command: IOSLauncher
Path: /Users/USER/Library/Application Support/iPhone Simulator/*/robovm.app/IOSLauncher
Version: ??? (???)
Parent: launchd_sim [56321]
Responsible: launchd_sim [56321]
Process: ubd [56797]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Support/ubd
Identifier: ubd
Version: 289.3
Code Type: X86 (Native)
Parent Process: launchd_sim [56768]
Responsible: launchd_sim [56768]
User ID: 501
Date/Time: 2014-09-02 21:13:58.016 +0200
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoClassDefFoundError: de/fau/cs/mad/fly/ui/LevelGroupScreen
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
Caused by: java.lang.NoClassDefFoundError: de/fau/cs/mad/fly/ui/LevelGroupScreen
at de.fau.cs.mad.fly.ui.MainMenuScreen.setLevelGroupScreen(MainMenuScreen.java:63)
at de.fau.cs.mad.fly.ui.MainMenuScreen.access$000(MainMenuScreen.java:31)
at de.fau.cs.mad.fly.ui.MainMenuScreen$1.clicked(MainMenuScreen.java:104)
at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:89)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:57)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:342)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:96)
==> default: [2014-10-28T15:21:53+01:00] DEBUG: ---- End output of /bin/systemctl enable jenkins ----
==> default: [2014-10-28T15:21:53+01:00] DEBUG: Ran /bin/systemctl enable jenkins returned 0
==> default: [2014-10-28T15:21:53+01:00] INFO: service[jenkins] enabled
==> default: [2014-10-28T15:21:53+01:00] INFO: Processing service[jenkins] action start (jenkins::default line 80)
==> default: [2014-10-28T15:21:53+01:00] DEBUG: Executing /bin/systemctl is-active jenkins
==> default: [2014-10-28T15:21:54+01:00] DEBUG: ---- Begin output of /bin/systemctl is-active jenkins ----
==> default: [2014-10-28T15:21:54+01:00] DEBUG: STDOUT: inactive
==> default: [2014-10-28T15:21:54+01:00] DEBUG: STDERR:
==> default: [2014-10-28T15:21:54+01:00] DEBUG: ---- End output of /bin/systemctl is-active jenkins ----
==> default: [2014-10-28T15:21:54+01:00] DEBUG: Ran /bin/systemctl is-active jenkins returned 3
require 'rexml/document'
module HashToXML
def self.to_xml(any, **options)
document = if any.is_a? REXML::Document
any
else
to_xml_document(any, **options)
end
fn main () {
for iface in ifaces::Interface::get_all().unwrap().into_iter() {
match iface.addr.unwrap().ip() {
IpAddr::V4(ip) => println!("{}: {:?}", iface.name, ip.is_loopback()),
_ => ()
}
}
}
@muja
muja / client.rs
Last active August 29, 2015 14:25
/// Create a new client with a specific connector.
pub fn with_connector<C, S>(connector: C) -> Client
where C: NetworkConnector<Stream=S> + Send + Sync + 'static, S: NetworkStream + Send {
Client::with_protocol(Http11Protocol::with_connector(connector))
}
/// Create a new client with a specific connector.
pub fn with_connector<C, S>(connector: C) -> Client
where C: Into<NetworkConnector<Stream=S>> + Send + Sync + 'static, S: NetworkStream + Send {
@muja
muja / duktape.rs
Last active August 29, 2015 14:25
ctx = duk_create_heap(None, None, None, ptr::null_mut(), None)
duk_push_string(ctx, "function x() { return '4'; }");
duk_push_string(ctx, "<eval>");
duk_eval_raw(ctx, 0, 0, DUK_COMPILE_FUNCTION);
value = duk_get_string(ctx, 0);
duk_destroy_heap(ctx);