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
sudo pacman -S ruby | |
gem update --user-install | |
gem install jekyll --user-install | |
gem install jekyll-paginate --user-install | |
gem install pygments.rb --user-install | |
echo "export PATH=/home/bast/.gem/ruby/2.3.0/bin:\$PATH" >> ~/.localrc |
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
--Connect a database | |
db2 connect to SRCDB user username using password | |
--Copy a schema(_area_) from db1 to db2 | |
db2move db1 COPY -sn _area_ -co TARGET_DB db2 USER username USING password | |
--Copy a schmea(SCHM1) to another db --> DSTDB and different name SCHM2 | |
db2move SRCDB COPY -sn SCHM1 -co target_db DSTDB schema_map "((SCHM1,SCHM2))" -u userid -p password | |
db2move <dbname> COPY -co <COPY- options> -u <userid> -p <password> |
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
$(function() { | |
// Default Language | |
changeLanguage("en"); | |
// Tr button click | |
$("#tr_button").click(function(){ | |
changeLanguage("tr"); | |
}); | |
//Eng button click |
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
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(); |
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
function changeLanguage(lng){ | |
var resources = getLangResources()[lng]; | |
$("h1[name='translate']").each(function(i, elt){ | |
$(elt).text(resources[$(elt).attr("caption")]); | |
}); | |
} |
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
<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> |
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
<?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; |
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
${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 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
_____ _____ _____ _____ _____ _______ | |
/\ / ____| / ____| |_ _| |_ _| /\ | __ \ |__ __| | |
/ \ | (___ | | | | | | / \ | |__) | | | | |
/ /\ \ \___ \ | | | | | | / /\ \ | _ / | | | |
/ ____ \ ____) | | |____ _| |_ _| |_ / ____ \ | | \ \ | | | |
/_/ \_\ |_____/ \_____| |_____| |_____| /_/ \_\ |_| \_\ |_| |
OlderNewer