This file contains 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 netstat -tnlp | grep :80 |
This file contains 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
find ./ -type f -name "*.jpg" -exec jpegoptim -m70 --strip-all {} \ |
This file contains 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
find ./p/ -name "*[0-9]\.jpg" | while read line; do | |
mogrify -resize 347x $line | |
#echo $line|grep 100 | |
#identify $line | grep 100 | |
echo $line | |
done |
This file contains 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
1. /themes/default-bootstrap/modules/loyalty/views/templates/hook/product.tpl:48 | |
2. Improve slider image compression | |
3. In CMS admin controller, the meta title should be differentiated from the actual title. | |
4. I also vaguely remember there was some problem with sending mails to the customers from the customer center that stopped to work under certain circumstances. | |
5. /modules/blocknewproducts/blocknewproducts.php:104 | |
6. In certain cases, adding multiple translations is bonked and no translations are added. | |
7. https://www.prestashop.com/forums/topic/393218-16011-problem-with-saving-products/page-17 |
This file contains 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
$(document).ready(function() { | |
$('.sendPsc').on('click', function(e) { | |
e.preventDefault(); | |
var idTextArea = $(this).data('psc'); | |
var messageValue = $('#psc_'+idTextArea).val(); | |
$.ajax({ | |
url: window.location + '?rand=' + new Date().getTime(), | |
data: { |
This file contains 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
window.$ = window.jQuery = require('jquery'); | |
const Bootstrap = require('bootstrap-webpack'); | |
Bootstrap.$ = $; | |
import './assets/styles.less'; |
This file contains 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
db: | |
image: mysql:latest | |
container_name: bible_mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: "admin" | |
ports: | |
- 3306 | |
phpmyadmin: | |
image: corbinu/docker-phpmyadmin |
This file contains 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
FROM webdevops/php-nginx | |
RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | |
RUN apt-get install -y nodejs && \ | |
npm i -g less handlebars uglifyjs | |
COPY ./app /app/ |
This file contains 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
db: | |
image: mysql:latest | |
container_name: bible_mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: "admin" | |
ports: | |
- 3306 | |
phpmyadmin: | |
image: corbinu/docker-phpmyadmin |
This file contains 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
casper.test.begin('Visit the pages of bibleapp', 10, function suite(test) { | |
casper.start(siteUrl, function(response) { | |
test.assertEquals(response.status, 200, 'response is 200'); | |
test.assertTitle('Bible Reader', 'the page title is as expected'); | |
test.assertExists('.menu-right', 'menu on the right appears'); | |
test.assertEval(function() { | |
return $('.navbar-right li').toArray().length === 3; | |
}, 'there are three elements in the menu on the right'); | |
test.assertExists('.fa-twitter', 'twitter icon displays'); | |
test.assertSelectorHasText('.main-banner h2', 'King James Bible'); |
NewerOlder