Skip to content

Instantly share code, notes, and snippets.

View Arcnor's full-sized avatar
🏠
Working from home

Edu Garcia Arcnor

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am arcnor on github.
  • I am arcnor (https://keybase.io/arcnor) on keybase.
  • I have a public key ASDcwFAKcNCt8Cmkw9wVUic1-FPw3SibuOVOG4xQM3X5cQo

To claim this, I am signing this object:

@Arcnor
Arcnor / blocks.xsd
Created October 3, 2016 04:57
Stencyl blocks.xml schema
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="paletteType">
<xs:sequence>
<xs:element type="blockType" name="block" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
@Arcnor
Arcnor / gist:1336800
Created November 3, 2011 15:38
Bad addProperty
def addProperty(property : String, value : AnyRef) {
val propName = property.trim().toUpperCase();
var list = if (!(_props contains propName)) _props(propName) else {
var list = new ListBuffer[AnyRef]();
_props.put(propName, list);
list;
}
value -> list;
}
@Arcnor
Arcnor / gist:1300774
Created October 20, 2011 09:45
JNAerator ObjectiveC error
>java -Xmx1024m -jar jnaerator.jar -framework CoreFoundation -framework Foundation -framework AppKit -jar appkit-foundation.jar
os.arch = x86_64
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:20:0: error: File not found: stdint.h in /System/Library/Frameworks/CoreFoundation.framework/Headers /System/Library/Frameworks/Foundation.framework/Headers /System/Library/Frameworks/AppKit.framework/Headers . /usr/include /usr/include/c++/4.2.1
/usr/include/libkern/OSByteOrder.h:30:0: error: File not found: stdint.h in /System/Library/Frameworks/CoreFoundation.framework/Headers /System/Library/Frameworks/Foundation.framework/Headers /System/Library/Frameworks/AppKit.framework/Headers . /usr/include /usr/include/c++/4.2.1
/usr/include/libkern/i386/OSByteOrder.h:30:0: error: File not found: stdint.h in /System/Library/Frameworks/CoreFoundation.framework/Headers /System/Library/Frameworks/Foundation.framework/Headers /System/Library/Frameworks/AppKit.framework/Headers . /usr/include /usr/include/c++/