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
| // Java | |
| private static final Map<Character, String> morseMap = new HashMap<>(); | |
| static { | |
| morseMap.put('A', ".-"); | |
| morseMap.put('B', "-..."); | |
| morseMap.put('C', "-.-."); | |
| morseMap.put('D', "-.."); | |
| morseMap.put('E', "."); | |
| morseMap.put('F', "..-."); | |
| morseMap.put('G', "--."); |
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
| /* http://meyerweb.com/eric/tools/css/reset/ | |
| v2.0 | 20110126 | |
| License: none (public domain) | |
| */ | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, |
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
| sass/ | |
| | | |
| |– base/ | |
| | |– _reset.scss # Reset/normalize | |
| | |– _typography.scss # Typography rules | |
| | ... # Etc… | |
| | | |
| |– components/ | |
| | |– _buttons.scss # Buttons | |
| | |– _carousel.scss # Carousel |
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
| /* http://meyerweb.com/eric/tools/css/reset/ | |
| v2.0 | 20110126 | |
| License: none (public domain) */ | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, | |
| b, u, i, center, |
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
| sass/ | |
| | | |
| |– 01-elements/ | |
| | |– _globals.scss # All the colors, Animations | |
| | |– _fonts.scss # Reset/normalize | |
| | |– _texts.scss # Typography rules | |
| | |– _lists.scss # Lists | |
| | |– _images.scss # Images | |
| | |– _forms.scss # Forms | |
| | |– _buttons.scss # Buttons |
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
| Util = { | |
| /** | |
| * Highlight part of the text | |
| * @param {String} s | |
| * @param {String} t | |
| * @return {String} highlighted text | |
| */ | |
| Highlight: function (s, t) { | |
| var matcher = new RegExp("(" + $.ui.autocomplete.escapeRegex(t) + ")", "ig"); | |
| return s.replace(matcher, "<strong>$1</strong>"); |