- Text match
- Asterisks & Pluses
- Question Marks
- Pipe Options
- Character Groups
- Character Ranges
- Range Shorthand
- Counting Characters
- Replacement
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
| background: repeating-linear-gradient( | |
| 45deg, | |
| #606dbc, | |
| #606dbc 10px, | |
| #465298 10px, | |
| #465298 20px | |
| ); |
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
| <VirtualHost *:80> | |
| ServerName localhost | |
| DocumentRoot /var/www/site | |
| <Directory /var/www/site> | |
| Options Indexes FollowSymLinks | |
| Require all granted | |
| AllowOverride All | |
| </Directory> | |
| </VirtualHost> |
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 | |
| define('ABSPATH', '/var/www/wordpress/'); | |
| require ABSPATH.'wp-includes/pluggable.php'; | |
| echo wp_hash_password('new_password'); |
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
| # Make list of installed locales the same as all supported locales | |
| sudo cp /usr/share/i18n/SUPPORTED /var/lib/locales/supported.d/local | |
| # Generates locales | |
| sudo locale-gen | |
| # List installed locales | |
| locale -a |
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
| # ~/.bas_aliases | |
| alias l="ls -alhgc" | |
| alias update="sudo apt-get update && sudo apt-get upgrade" | |
| alias apache="sudo service apache2" | |
| alias google-chrome="google-chrome-stable" | |
| alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -n" |
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
| <IfModule mod_rewrite.c> | |
| # Force https | |
| RewriteCond %{HTTPS} !=on | |
| RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
| # Remove www. | |
| RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | |
| RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
| Country | ISO 3166 | Region |
|---|---|---|
| Afghanistan | AF | EMEA |
| Åland Islands | AX | EMEA |
| Albania | AL | EMEA |
| Algeria | DZ | EMEA |
| American Samoa | AS | APAC |
| Andorra | AD | EMEA |
| Angola | AO | EMEA |
| Anguilla | AI | AMER |
Responsive template for Adobe Captivate projects.
Move standard.htm to the following two locations, backing-up the original files:
- C:\Program Files (x86)\Adobe\Adobe Captivate 5\Templates\Publish\
- C:\Program Files (x86)\Adobe\Adobe Captivate 5\Templates\Publish\SCORM\1_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
| setTimeout(function () { | |
| var descriptions = $(".form-field p"); | |
| descriptions.each(function (index, value) { | |
| $(this).html($(this).html().replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, "<br>")); | |
| }); | |
| }, 10); |