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
{"version":1,"resource":"file:///Users/imtiazpabel/Applications/laravel/vendor/stackkit/laravel-google-cloud-tasks-queue/src/CloudTasksQueue.php","entries":[{"id":"syBB.php","timestamp":1662370014151},{"id":"Vz5m.php","timestamp":1662370034157},{"id":"rT3D.php","timestamp":1662370046245},{"id":"blYJ.php","timestamp":1662370085761},{"id":"E09f.php","timestamp":1662370157532},{"id":"hfSz.php","timestamp":1662370171890},{"id":"Q9Cu.php","timestamp":1662370341745}]} |
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
import VuePagination from 'VuePagination-component.js'; | |
new Vue ({ | |
el : "#userTable", | |
data : { | |
users : { | |
current_page : 1 | |
}, | |
}, |
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
export default { | |
props: { | |
pagination: { | |
type: Object, | |
required: true | |
}, | |
offset: { | |
type: Number, | |
default: 4 | |
} |
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
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Queue\Connectors\BeanstalkdConnector; | |
use Pheanstalk\Pheanstalk; | |
class ClearBeanstalkdQueue extends Command | |
{ |
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
//install docker | |
https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
//install docker compose | |
https://docs.docker.com/compose/install/ | |
//create a docker compose file which name will be "docker-compose.yml" and put below nginx image | |
web: | |
image: nginx:latest | |
ports: |
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
if (CKEDITOR.instances[‘previous_filed_name’]) { | |
CKEDITOR.instances[‘previous_filed_name’].destroy(true); | |
} | |
CKEDITOR.replace(‘new_filed_name’); |
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
[program:laravel-queue] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /var/www/html/project/artisan queue:work sqs --sleep=3 --tries=3 | |
autostart=true | |
autorestart=true | |
user=forge | |
numprocs=2 | |
redirect_stderr=true | |
stdout_logfile=/var/www/html/project/storage/logs/supervisor.log |
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 apt-get install apache2 nginx nginx-full php7.0 php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-fpm php7.0-gd php7.0-imap php7.0-intl php7.0-json php7.0-mcrypt php7.0-mysql php7.0-xmlrpc mysql-client mysql-server mysql-workbench phpmyadmin git nodejs nodejs-dev curl memcached php7.0 libapache2-mod-php7.0 |
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
docker pull ubuntu:14.04.4 //for pull image | |
sudo service docker start //docker start | |
sudo docker images //list of docker images | |
sudo docker run -it ubuntu /bin/bash //accessing docker images | |
sudo docker run -it imtiaz/apache //after commit access another images | |
sudo docker -d -p 1000:80 imtiaz/apache //run docker from local | |
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
<?php | |
//Email configuration is set in static method,that's why when same request multiple time email configuration changed,it was not work. | |
//for more details http://laravel.io/forum/07-22-2014-swiftmailer-with-dynamic-mail-configuration | |
$app = \App::getInstance(); | |
$app['swift.transport'] = $app->share(function ($app) { | |
return new TransportManager($app); | |
}); |
NewerOlder