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
| @fontFamily: "Operator Mono"; | |
| @fontFamily2: "flottflott"; | |
| @fontFamily3: "segoe ui"; | |
| atom-text-editor { | |
| font-family: @fontFamily; | |
| font-size: 17px; | |
| .syntax--entity.syntax--other.syntax--attribute-name.syntax--html, |
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 | |
| function make_slug($string) { | |
| return preg_replace('/\s+/u', '-', trim($string)); | |
| } | |
| $slug = make_slug(" বাংলাদেশ ব্যাংকের রিজার্ভের অর্থ চুরির ঘটনায় ফিলিপাইনের "); | |
| echo $slug; | |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Observable AJAX</title> | |
| </head> | |
| <body> | |
| <script src="https://npmcdn.com/@reactivex/rxjs@5.0.0-beta.10/dist/global/Rx.umd.min.js"></script> | |
| <script> |
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
| /** | |
| * Format Telephone Number | |
| * | |
| * @param {string} number - Telephone Number | |
| * @return {string} Formatted Number | |
| */ | |
| function formatTelNumber(number) { | |
| return number.match(/\d/g) | |
| .join('') | |
| .replace( |
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 | |
| /** | |
| * Generate Day select box | |
| * @param string $name | |
| * @return string | |
| */ | |
| function day_select($name) | |
| { | |
| $select = "<select name='$name'>"; |
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
Show hidden characters
| { | |
| "afn_use_keybinding": true, | |
| "always_show_minimap_viewport": true, | |
| "bold_folder_labels": true, | |
| "caret_extra_bottom": 2, | |
| "caret_extra_top": 2, | |
| "caret_extra_width": 10, | |
| "caret_style": "blink", | |
| "color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme", | |
| "detect_indentation": false, |
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
| <snippet> | |
| <content><![CDATA[ | |
| echo "<pre>" . print_r(\$${1:data}) . "</pre>"; die; | |
| $2 | |
| ]]></content> | |
| <tabTrigger>pre</tabTrigger> | |
| <scope>source.php</scope> | |
| </snippet> |
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
| [ | |
| // Preferences File | |
| { | |
| "keys": ["ctrl+shift+,"], | |
| "command": "open_file", | |
| "args": { | |
| "file": "Preferences.sublime-settings" | |
| } | |
| }, | |
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
| { | |
| "Alberta": [ | |
| "Acadia Valley", | |
| "Acme", | |
| "Airdrie", | |
| "Alberta Beach", | |
| "Alder Flats", | |
| "Alix", | |
| "Alliance", | |
| "Altario", |
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 | |
| function removeFiles($path) | |
| { | |
| if (is_dir($path)) { | |
| $files = glob($path . '*', GLOB_MARK); | |
| foreach ($files as $file) { | |
| removeFiles($file); | |
| } | |
| rmdir($path); |