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
| @mixin center($width, $height) { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| height: $height; | |
| width: $width; | |
| margin-left: - $width / 2; | |
| margin-top: - $height / 2; | |
| } |
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
| @font-face { | |
| font-family: "PlutoSansCondexLight"; | |
| src: url("plutosanscondexlight.eot"); /* IE9 Compat Modes */ | |
| src: url("plutosanscondexlight.eot?iefix") format("eot"), /* IE6-IE8 */ | |
| url("plutosanscondexlight.woff") format("woff"), /* Modern Browsers */ | |
| url("plutosanscondexlight.ttf") format("truetype"), /* Safari, Android, iOS */ | |
| url("plutosanscondexlight.svg#PlutoSansCondexLight") format("svg"); /* Legacy iOS */ | |
| font-weight: normal; | |
| font-style: normal; | |
| } |
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
| "%g" % ("%0.2f" % 16.4555) |
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
| @mixin clearfix { | |
| *zoom: 1; | |
| &:before, | |
| &:after { | |
| display: table; | |
| content: ""; | |
| } | |
| &:after { | |
| clear: both; | |
| } |
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
| Date dt = new Date(); | |
| SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd_HH-mm"); | |
| setTest(df.format(dt)); |
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
| @Test | |
| public void testRef() throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, | |
| SecurityException, NoSuchMethodException { | |
| RefTest instance = new RefTest(); | |
| Class params[] = {}; | |
| Method thisMethod = RefTest.class.getDeclaredMethod("getA", params); | |
| String s = thisMethod.invoke(instance, new Object[0]).toString(); | |
| Assert.assertEquals("b", s); | |
| } |
NewerOlder