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
| <?php | |
| $is_correct = false; | |
| $answer = ""; | |
| if (isset($_POST['answer'])) { | |
| $answer = $_POST['answer']; | |
| if ($answer == 150) { | |
| $is_correct = true; | |
| } | |
| } |
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
| (function($){ | |
| console.log('$ sign is referenced to jQuery: ', $); | |
| $('#test-element').fadeOut().fadeIn(); | |
| })(jQuery); |
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
| origami('#demo-1') | |
| .flip('horizontal') | |
| .image('images/person.jpg', 0, 0, 200, 200) |
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
| document.addEventListener("touchstart", function(){}, true); |
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
| .target-element { | |
| -webkit-tap-highlight-color: rgba(0,0,0,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
| .hyphenate | |
| overflow-wrap: break-word; | |
| word-wrap: break-word; | |
| -webkit-hyphens: auto; | |
| -ms-hyphens: auto; | |
| -moz-hyphens: auto; | |
| hyphens: auto; | |
| } |
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
| .latest-post-title-inline { | |
| display: inline-block; | |
| } | |
| .latest-post-title-inline:first-letter { | |
| text-transform: lowercase; | |
| } |
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
| class App { | |
| constructor() { | |
| this.canvas = document.getElementById("app-canvas"); | |
| this.stage = new createjs.Stage(this.canvas); | |
| this.retinalize(); | |
| createjs.Ticker.setFPS(60); |
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
| [user] | |
| name = Thomas Seng Hin Mak | |
| email = [email protected] | |
| [core] | |
| editor = nano | |
| whitespace = off | |
| excludesfile = ~/.gitignore | |
| [advice] | |
| statusuoption = false | |
| [color] |