Configuration
The configuration file for the message is in the config/mail.php file, and the configuration entry and description are as follows:
return [
/*|--------------------------------------------------------------------------| Mail Driver|--------------------------------------------------------------------------|| Laravel supports both SMTP and PHP ' mail ' function as drivers for the| Sending of e-mail. You may specify which one ' re using throughout| Your application here. By defaul
};classNewsLetter {//a real-time communication consists of a series of Nlcompnent objects Public: ...Private: ListComponents ;};View CodeNewsletter may be stored on disk, in order to read the newsletter object from disk into memory, it may have a constructor that accepts the istream parameter:classNewsLetter { Public: NewsLetter (IStreamstr); ...Private: Listcompnents; ...};
elements that contain ID attributes$("input[name=‘newsletter‘]")Select all the name attributes equal to the ' newsletter ' INPUT element$("input[name!=‘newsletter‘]")Select all the name attribute is not equal to the ' newsletter ' INPUT element$("input[name^=‘news‘]")Select all the name attributes to start with ' news
/ghost directorycd /var/www/ wget https://ghost.org/zip/ghost-latest.zip unzip ghost-latest.zip -d ghost rm -rf ghost-latest.zip4. Add Ghost Users and Modify permissionsuseradd ghostchown -R ghost:ghost /var/www/ghost5, modify the Config.jscd /var/www/ghostcp -r config.example.js config.jsThen you can revise the config.js paragraph according to the actual situation, config for example as followsconfig = { // ### Production // When running Ghost in the wild, use the production environmen
:
Log4js.js
defaultconfig = {
appenders: [{
type: ' Console '
}]
}
As you can see, the log is exported to the console by default when no configuration is made on the LOG4JS.
Set up your own Appender
We can set the Appender we want by log4js.configure.
File:custom-appender.js
var log4js = require (' Log4js ');
Log4js.configure ({
appenders: [{
type: ' file ',
filename: ' Default.log '
}]
})
var logger = Log4js.getlogger (' Custom-appender ');
Logger.debug ("Time:
that contain p tags$ ("td:parent") Select all the element array with TD as parent nodeVisual Filter Selector:$ ("Div:hidden") Select all the hidden div elements$ ("div:visible") Select all of the visual DIV elementsAttribute Filter Selector:$ ("Div[id]") Select all DIV elements that contain the id attribute$ ("input[name= ' newsletter ')" selects all the name attributes equal to the INPUT element of ' newsletter
parent nodeVisual Filter Selector:$ ("Div:hidden") Select all the hidden div elements$ ("div:visible") Select all of the visual DIV elementsAttribute Filter Selector:$ ("Div[id]") Select all DIV elements that contain the id attribute$ ("input[name= ' newsletter ')" selects all the name attributes equal to the INPUT element of ' newsletter '$ ("input[name!= ' newsletter
This article mainly introduces jquery to verify the email format and display the submit button. The submit button is displayed only when the email address is entered correctly. For more information, see
Brief tutorial
Simple, generous, and intuitive user interfaces are our favorite webpage designs. This article introduces such a design style.
How can we make the page simple, generous, and user-friendly? Most website forms use text prompts, prompting users where they are entered incorrectly an
parent nodeVisual Filter Selector:$ ("Div:hidden") Select all the hidden div elements$ ("div:visible") Select all of the visual DIV elementsAttribute Filter Selector:$ ("Div[id]") Select all DIV elements that contain the id attribute$ ("input[name= ' newsletter ')" selects all the name attributes equal to the INPUT element of ' newsletter '$ ("input[name!= ' newsletter
containing the ID attribute$ ("Input [name = 'newsletter ']") Select the input element whose name attribute is equal to 'newsletter'.
$ ("Input [name! = 'Newsletter'] ") Select the input element whose name attribute is not equal to 'newsletter '.
$ ("Input [name ^ = 'News']") select all input elements whose name attri
elementsAttribute Filter Selector:$ ("Div[id]") Select all DIV elements that contain the id attribute$ ("input[name= ' newsletter ')" selects all the name attributes equal to the INPUT element of ' newsletter '$ ("input[name!= ' newsletter ')" selects all the name attribute not equal to ' newsletter ' INPUT element$ (
") Select all of the visual DIV elementsAttribute Filter Selector:$ ("Div[id]") Select all DIV elements that contain the id attribute$ ("input[name= ' newsletter ')" selects all the name attributes equal to the INPUT element of ' newsletter '$ ("input[name!= ' newsletter ')" selects all the name attribute not equal to ' newsl
DIV elements that contain the id attribute$ ("input[name= ' newsletter ')" selects all the name attributes equal to the INPUT element of ' newsletter '$ ("input[name!= ' newsletter ')" selects all the name attribute not equal to ' newsletter ' INPUT element$ ("input[name^= ' News ')") Select all the name attributes to
$ ("Input [name = 'newsletter ']") Select the input element whose name attribute is equal to 'newsletter'.
$ ("Input [name! = 'Newsletter'] ") Select the input element whose name attribute is not equal to 'newsletter '.
$ ("Input [name ^ = 'News']") select all input elements whose name attributes start with 'News '.
$
Jquery verifies the email format and displays the submit button. jquery verifies the email button.
Brief tutorialSimple, generous, and intuitive user interfaces are our favorite webpage designs. This article introduces such a design style.
How can we make the page simple, generous, and user-friendly? Most website forms use text prompts, prompting users where they are entered incorrectly and where they are incorrect, but we should be able to do better: if they are entered incorrectly, the submi
parent nodeVisual Filter Selector:$ ("Div:hidden") Select all the hidden div elements$ ("div:visible") Select all of the visual DIV elementsAttribute Filter Selector:$ ("Div[id]") Select all DIV elements that contain the id attribute$ ("input[name= ' newsletter ')" selects all the name attributes equal to the INPUT element of ' newsletter '$ ("input[name!= ' newsletter
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.