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
/* Hide description badge */ | |
.badge.is-icon-only { | |
display: none; | |
} | |
/* Make ID smaller */ | |
.card-short-id.hide, .card-short-id { | |
display: inline-block !important; | |
font-size: 10px; | |
font-weight: bold; |
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
public class FooAttribute : Attribute {} | |
public class Target { | |
[Foo] | |
public void Interesting(){} | |
public void NotInteresting(){} | |
} |
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
public static class ExtensionTests { | |
public static void Test(this object target, float a, float b = 1, float c = 2, float d = 3) { } | |
} | |
object target = null; | |
// Compiles | |
target.Test(0); |
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
public class MyGdxGame extends ApplicationAdapter { | |
public PerspectiveCamera cam; | |
public ModelBatch modelBatch; | |
public Model model; | |
public ModelInstance instance; | |
@Override | |
public void create() { | |
modelBatch = new ModelBatch(); |
NewerOlder