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
| const {catelogueNameValidation, activeStatusValidation} = formValidation | |
| if (catelogueNameValidation || activeStatusValidation) return // Seriously, don't ever use 'null' | |
| switch (submitType) { | |
| case 'add': | |
| this.props.postCatalogues(catelogue) | |
| break | |
| case 'edit': | |
| this.props.updateCatalogues(_id, catalogue) |
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
| 😈 👿 🐈 🐱 🐕 🐶 |
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
| parser: babel-eslint | |
| parserOptions: | |
| ecmaVersion: 7 | |
| sourceType: module | |
| ecmaFeatures: | |
| impliedStrict: true | |
| experimentalObjectRestSpread: true | |
| env: | |
| es6: true | |
| extends: |
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
| Extensions Added: | |
| advanced-new-file v0.5.1 | |
| apacheconf-snippets v1.1.9 | |
| aspnet-helper v0.6.4 | |
| atom-keybindings v3.0.2 | |
| atom-material-theme v1.2.2 | |
| auto-close-tag v0.5.5 | |
| auto-rename-tag v0.0.15 | |
| azure-account v0.2.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
| <?php | |
| class DeclarativeExample { | |
| private $data; | |
| public function __construct(array $data) { | |
| $this->data = $data; | |
| } | |
| public function get(string $key) { | |
| return $data[$key]; |
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
| { | |
| "workbench.colorTheme": "Material", | |
| "editor.fontFamily": "consolas", | |
| "editor.tabSize": 2, | |
| "terminal.integrated.fontFamily": "consolas", | |
| "terminal.integrated.cursorStyle": "line", | |
| "terminal.integrated.env.linux": { | |
| "TERMINAL_NAME": "vscode", | |
| "OPERATING_SYSTEM": "linux", | |
| "ZSH_THEME": "amuse" |
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 | |
| /** | |
| * Content from http://en.wikipedia.org/wiki/List_of_HTTP_status_codes | |
| **/ | |
| return array( | |
| 100 => 'Continue', | |
| 101 => 'Switching Protocols', | |
| 102 => 'Processing', // WebDAV; RFC 2518 | |
| 200 => 'OK', |
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 up { | |
| private $mang; | |
| public function __construct(array $mang = array()) { | |
| $this->mang = $mang; | |
| } | |
| private function khoitao() { // WHAT THE FUCK IS THIS SHIT? | |
| $this->mang[0] = 'a'; // SERIOUSLY, WHAT THE FUCK!! |
