-
Print a count of the messages in the queue:
exim -bpc -
How to resend frozen messages in exim4 queue
exim -bp | grep frozen | awk '{print $3}' | xargs exim -v -M -
Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient):
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
| /** | |
| Decode a php serialized value to json. This function only supports basic | |
| data types: | |
| - arrays (will always become a json object) | |
| - booleans | |
| - integers | |
| - floats | |
| - strings | |
| - NULL | |
| The php_unserialize(text) function is a helper function which extracts the first value |
Install VSCode plugins
- Live Server https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
- PHP Server https://marketplace.visualstudio.com/items?itemName=brapifra.phpserver
Then run in project directory
composer require eftec/bladeone
Create views folder in project root
#Laravel Routing, Request, Response, Validator
Очень долгая история с вопросом как же правильно рабатать с Ajax в Evo вот методы которые предлагались ранеее:
- Ajax №1 и №2 http://modx.im/blog/docs/1147.html - через index-ajax (удален с версий 1.0.8 так как не безопастный) и через снипет в отдельном документе
- Ajax №3 http://modx.im/blog/triks/2096.html - через плагин на pageNotFound
- Ajax №4 http://modx.im/blog/triks/2103.html - через отдельный php фаил
В Evo 3.0 предлагаем поставить точку в выборе правильного решения через Laravel Routes
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
| #!/bin/bash | |
| # basic script, before use need change logins,passwords in this script | |
| # put this script in project folder and run: sh evo.sh | |
| #variables | |
| EVO_VERSION="3.x-dev" | |
| INSTALL_TYPE=1 | |
| DATABASE_TYPE="mysql" | |
| DATABASE_SERVER="localhost" | |
| DATABASE_NAME="DB" |
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
| import urllib | |
| from wordpress_xmlrpc import Client, WordPressPost | |
| from wordpress_xmlrpc.methods import posts | |
| import xmlrpclib | |
| from wordpress_xmlrpc.compat import xmlrpc_client | |
| from wordpress_xmlrpc.methods import media, posts | |
| import os | |
| ########################### Read Me First ############################### | |
| ''' | |
| ------------------------------------------In DETAIL-------------------------------- |
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
| ProxyCommand "C:\Program Files\git\bin\connect.exe" -H proxy.example.com:8080 %h %p | |
| Host github.com | |
| HostName ssh.github.com | |
| Port 443 | |
| IdentityFile C:\Users\hoge\.ssh\id_rsa | |
| Host bitbucket.org | |
| HostName altssh.bitbucket.org | |
| Port 443 | |
| IdentityFile C:\Users\hoge\.ssh\id_rsa |