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
| $env:Path.split(";") |
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
| self.validation = ko.validatedObservable({ | |
| 'noteBody': self.noteBody | |
| }); | |
| if (!self.validation.isValid()) { | |
| self.validation.errors.showAllMessages(); | |
| return; | |
| } |
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
| jQuery('.wpn-note-summary').each(function(){jQuery(this).trigger('click');}); |
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 | |
| class util | |
| { | |
| /** | |
| * SuperDump() | |
| * | |
| * Better var_dump for Arrays and Objects. Prints an array out in a | |
| * formatted manner. | |
| * |
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
| var dom = require("ace/lib/dom"); | |
| require("ace/commands/default_commands").commands.push({ | |
| name: "Toggle Fullscreen", | |
| bindKey: "F11", | |
| exec: function(editor) { | |
| dom.toggleCssClass(document.body, "fullScreen"); | |
| dom.toggleCssClass(editor.container, "fullScreen"); | |
| editor.resize(); | |
| } |
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 | |
| require_once('../includes/utils.php'); | |
| /** | |
| * minify | |
| * | |
| * Class that handles the minification of all required CSS files | |
| */ | |
| class minify |
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 | |
| $stuff = array('Bean', 'Apple', 'Tree'); | |
| $stuff = array_map('strtolower', $stuff); | |
| var_dump($stuff); | |
| ?> |
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 cancelForm(formName) { | |
| $("#" + formName)[0].reset(); | |
| } |
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 PrintArray($aVals) | |
| { | |
| echo "<ul>"; | |
| foreach($aVals as $key => $val) | |
| { | |
| if(is_array($val)) | |
| { | |
| echo "<li><strong>{$key}</strong>"; | |
| PrintArray($val); | |
| echo "</li>"; |
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 | |
| header('HTTP/1.1 301 Moved Permanently'); | |
| header('Location: http://example.com'); | |
| ?> |