Skip to content

Instantly share code, notes, and snippets.

Sergei Egorov bsideup

View GitHub Profile

Keybase proof

I hereby claim:

  • I am bsideup on github.
  • I am bsideup ( on keybase.
  • I have a public key whose fingerprint is 08B0 9F78 7B67 45E7 96CE 6DBE 1003 06F2 B379 3BF3

To claim this, I am signing this object:

View refactor.groovy
Integer a
Integer b
a == b
View perf.groovy
CompilerConfiguration configuration = new CompilerConfiguration()
configuration.disabledGlobalASTTransformations = Collections.singleton(;
def normalShell = new GroovyShell(configuration);
def macroShell = new GroovyShell();
def r = benchmark {
'macro' {
macroShell.evaluate """
assert "bytes" == propertyName("".bytes)
class View extends h2d.comp.Box {
public var h2d_comp__label0:h2d.comp.Label;
public var h2d_comp__button0:h2d.comp.Button;
public var h2d_comp__button1:h2d.comp.Button;
public var h2d_comp__button2:h2d.comp.Button;
public var h2d_comp__button3:h2d.comp.Button;
public var h2d_comp__box1:h2d.comp.Box;
public var h2d_comp__box0:h2d.comp.Box;
public var __checkboxView0:CheckboxView;
public var __checkboxView1:CheckboxView;
View Test.hx
package ml;
class Test extends A {
autogenerated NodeScope field TInst(deep.B,[])
public var deep__b3:deep.B;
autogenerated NodeScope field TInst(deep.B,[])
public var deep__b4:deep.B;
View Test.mxml
<?xml version="1.0" encoding="utf-8" ?>
<ans:A ans:aString="1" xmlns:ans="*" xmlns:deep="deep.*" >
<deep:B id="myB" test="123" prop="asValue">
<deep:B test="100500" prop="thirdValue" />
View A.hx
class A
public var aString:String;
public var innerString : String;
public var anotherInnerString : String;
@hxmrDefaultProperty public var children : Array<B>;
View gist:5830726
<?xml version="1.0" encoding="utf-8" ?>
<ans:A generic:type="haxe.Timer" ans:aString="1" xmlns:ans="*" xmlns:deep="deep.*" xmlns:generic="">
<deep:B id="myB" generic:type="haxe.Timer" test="123" deep:prop="asValue"/>
<String id="myString" />
View ButtonSkin.mxml
<?xml version="1.0"?>
<containers:ContainerBase xmlns:fx=""
* Generated by mxmlc 4.0
* Package: ru.trylogic.gui.components.button
* Class: ButtonSkin
* Source: /Users/bsideup/Dropbox/Work/_VersionControlled_/GitHub/TrylogicGUI/src/main/flex/ru/trylogic/gui/components/button/ButtonSkin.mxml
* Template: flex2/compiler/mxml/gen/ClassDef.vm
* Time: 2012.09.14 15:11:14 MSK
You can’t perform that action at this time.