Skip to content

Instantly share code, notes, and snippets.

View coderkan's full-sized avatar
🏠
Working from home

Erkan Güzeler coderkan

🏠
Working from home
View GitHub Profile
export const environment = {
production: true,
hmr: false
};
export const environment = {
production: false,
hmr: true
};
_____ _____ _____ _____ _____ _______
/\ / ____| / ____| |_ _| |_ _| /\ | __ \ |__ __|
/ \ | (___ | | | | | | / \ | |__) | | |
/ /\ \ \___ \ | | | | | | / /\ \ | _ / | |
/ ____ \ ____) | | |____ _| |_ _| |_ / ____ \ | | \ \ | |
/_/ \_\ |_____/ \_____| |_____| |_____| /_/ \_\ |_| \_\ |_|
${AnsiColor.BRIGHT_GREEN} ### ###### ###### #### #### ### ######## ########
${AnsiColor.BRIGHT_RED} ## ## ## ## ## ## ## ## ## ## ## ## ##
${AnsiColor.BRIGHT_MAGENTA} ## ## ## ## ## ## ## ## ## ## ##
${Ansi.RED}## ## ###### ## ## ## ## ## ######## ##
${Ansi.BLUE}######### ## ## ## ## ######### ## ## ##
${Ansi.CYAN}## ## ## ## ## ## ## ## ## ## ## ## ##
${Ansi.YELLOW}## ## ###### ###### #### #### ## ## ## ## ##
${Ansi.RED} :: Spring Boot${spring-boot.formatted-version} :: ${Ansi.DEFAULT}

This is an H1 tag

This is an H2 tag

This is an H3 tag

This is an H4 tag

This is an H5 tag
This is an H6 tag
<?php
/**
* This example shows settings to use when sending via Google's Gmail servers.
* This uses traditional id & password authentication - look at the gmail_xoauth.phps
* example to see how to use XOAUTH2.
* The IMAP section shows how to save this message to the 'Sent Mail' folder using IMAP commands.
*/
//Import PHPMailer classes into the global namespace
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
<form role="form" action="sendmail.php" method="post" style="text-align:center;margin-top:50px;" >
<div>
<input id='email' type="email" name="_mail" placeholder="E-mail">
</div>
<br>
<div>
<input id = 'subject' type="text" name="_subject" placeholder="Subject">
</div>
<br>
<textarea id='mailBody' name="_body" rows="12"></textarea>
function changeLanguage(lng){
var resources = getLangResources()[lng];
$("h1[name='translate']").each(function(i, elt){
$(elt).text(resources[$(elt).attr("caption")]);
});
}
function getLangResources(){
// Define arrays how many language you want to translate
var tr = new Array();
var en = new Array();
// caption tag name
tr['hello_world'] = "Merhaba Dünya";
en['hello_world'] = "Hello World";
// Added new array defined arrays.
var resources = new Array();
$(function() {
// Default Language
changeLanguage("en");
// Tr button click
$("#tr_button").click(function(){
changeLanguage("tr");
});
//Eng button click