- SC1000 $ is not used specially and should therefore be escaped.
- SC1001 This
\owill be a regular 'o' in this context. - SC1003 Want to escape a single quote? echo 'This is how it'\''s done'.
- SC1004 This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
- SC1007 Remove space after = if trying to assign a value (or for empty string, use var='' ... ).
- SC1008 This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify.
- SC1009 The mentioned parser error was in ...
- SC1010 Use semicolo
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 | |
| // Allow SVG usage in WordPress | |
| function bloggerpilot_cc_mime_types($mimes) { | |
| $mimes['svg'] = 'image/svg+xml'; | |
| return $mimes; | |
| } | |
| add_filter('upload_mimes', 'bloggerpilot_cc_mime_types'); |
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 | |
| use Carbon_Fields\Container; | |
| use Carbon_Fields\Field; | |
| use Carbon_Fields\Block; | |
| add_action( 'carbon_fields_register_fields', 'dd' ); | |
| function dd(){ | |
| // var_dump( WP_Block_Type_Registry::get_instance()->get_all_registered() ); | |
| Block::make( __( 'My Shiny Gutenberg Block' ) ) |
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 was initially generated by Windows Terminal 1.3.2651.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |
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 | |
| $events_label_singular = tribe_get_event_label_singular(); | |
| $events_label_plural = tribe_get_event_label_plural(); | |
| $event_id = get_the_ID(); | |
| ?> | |
| <div id="tribe-events-content" class="tribe-events-single"> |
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
| Добавить в начале строки Найти ^ Заменить 0; | |
| ^\W пробел в начале строки | |
| \d{8} найти 8 цыфр подряд | |
| ^\d{4};92 найти В НАЧАЛЕ ЧЕТЫРЕХзначные числа после которы есть ;92 | |
| [^=]*$ любые символы, кроме "=" | |
| ;(.*) все после ; | |
| (\b\S+\b)(?=.*\1) повторение на строке | |
| \d [0-9] Цифровой символ |
You've probably stumbled upon this researching how to remove the Xbox Game Bar. This gist includes a few different methods you can try. Please note that some of these first options are probably not be available unless you are running an older version of Windows 10.
EDIT: make sure to check out the comment below from @nmhung1985 which seems to be working for most folks.
(this is no longer an option on any recent Windows 10 build)
- Press Windows Key or click on the Start menu.
- Start typing
XboxorGame Bar, until you get the Xbox Game Bar app to appear in the results.
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 | |
| if (!function_exists('interface_exists')) { | |
| die('PHP version too old'); | |
| } | |
| $throwables = listThrowableClasses(); | |
| $throwablesPerParent = splitInParents($throwables); | |
| printTree($throwablesPerParent); | |
| if (count($throwablesPerParent) !== 0) { | |
| die('ERROR!!!'); |
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
| sudo apt-get remove \ | |
| aisleriot \ | |
| brltty \ | |
| duplicity \ | |
| empathy \ | |
| empathy-common \ | |
| example-content \ | |
| gnome-accessibility-themes \ | |
| gnome-contacts \ | |
| gnome-mahjongg \ |
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
| // check version | |
| node -v || node --version | |
| // list locally installed versions of node | |
| nvm ls | |
| // list remove available versions of node | |
| nvm ls-remote | |
| // install specific version of node |
NewerOlder