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
| { | |
| "always_show_minimap_viewport": true, | |
| "bold_folder_labels": true, | |
| "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
| "font_options": | |
| [ | |
| "gray_antialias", | |
| "subpixel_antialias" | |
| ], | |
| "ignored_packages": |
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 | |
| namespace App\Http\Middleware; | |
| class CaptureRequestExtension | |
| { | |
| public function handle($request, $next) | |
| { | |
| if ($request->route()->parameter('_extension') !== null) { | |
| $request->attributes->set('_extension', substr($request->route()->parameter('_extension'), 1)); |
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
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
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 Krugozor_Utility_Upload_DirectoryGenerator | |
| { | |
| private $file_name; | |
| private $depth = 3; | |
| public function __construct($file_name) | |
| { | |
| $this->file_name = (string) $file_name; | |
| if (!strlen($this->file_name)) | |
| { |