public class Hello
{
public static void Main()
{
- System.Console.WriteLine("Hello, World!");
+ System.Console.WriteLine("Rock all night long!");
}
}
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 Vue from 'vue' | |
import * as types from './mutation-types' | |
export default { | |
// Mutation to set entries in state | |
[types.SET_ENTRIES] (state, entries) { | |
state.entries = entries || {} | |
}, | |
// Mutation to add entry in state |
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
$app->mailer = function () { | |
$transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', '465', 'ssl') | |
->setUsername('[email protected]') | |
->setPassword('password'); | |
$mailer = Swift_Mailer::newInstance($transport); | |
return $mailer; | |
}; |