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
<!-- MODAL WINDOW BEGIN--> | |
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> | |
<div class="modal-dialog modal-lg"> | |
<div class="modal-content"> | |
... | |
</div> | |
</div> | |
</div> | |
<!-- MODAL WINDOW END--> |
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
# BEGIN WordPress | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
# uploaded files | |
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] | |
# add a trailing slash to /wp-admin | |
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] |
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
/*! | |
* Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) | |
* Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
* Bootstrap without Tether modified (https://wowthemes.net) | |
*/ | |
if (typeof jQuery === 'undefined') { | |
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.') | |
} |
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
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin master |
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
function check_license(){ | |
$sml_url = 'https://domain.com/'; | |
$slm_action = 'slm_check'; | |
$secret_key = 'xxx'; | |
$license_key = get_license_key(); | |
$api_call = $sml_url . '?secret_key=' . $secret_key . '&slm_action=' . $slm_action . '&license_key=' . $license_key; | |
define('URL_SERVICE', $api_call); |
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
version: '3' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: somewordpress |
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
Display the hidden folders: $ ls -alh | |
Remove the .git folder: $ rm -R .git |
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
var description = [ | |
"https://images.unsplash.com/photo-1561508539-d46a8ac4b20a?ixlib=rb-1.2.1&auto=format&fit=crop&w=675&q=80", | |
"https://images.unsplash.com/photo-1507914464562-6ff4ac29692f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80", | |
"https://images.unsplash.com/photo-1565291967637-238f8c5da3de?ixlib=rb-1.2.1&auto=format&fit=crop&w=668&q=80", | |
"https://images.unsplash.com/photo-1583485267393-510232b60ef7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1341&q=80", | |
"https://images.unsplash.com/photo-1583356016434-ce82434ed5a1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80", | |
"https://images.unsplash.com/photo-1510191240544-c9de9dd0baed?ixlib=rb-1.2.1&auto=format&fit=crop&w=1351&q=80", | |
"https://images.unsplash.com/photo-1583433348433-b23d79556ee6?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80" | |
]; | |
OlderNewer