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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Select All Checkboxes with jQuery - savascanaltun.com.tr</title> | |
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> | |
</head> | |
<body> | |
<center> |
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
<?php | |
/** Turkey Bank list | |
* @date 31.05.2020 | |
*/ | |
$array=[ | |
0 => 'Adabank A.Ş. ', | |
1 => 'Akbank T.A.Ş. ', | |
2 => 'Aktif Yatırım Bankası A.Ş. ', | |
3 => 'Alternatifbank A.Ş. ', | |
4 => 'Anadolubank A.Ş. ', |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test Page - Savaş Can ALTUN / savascanaltun.com.tr</title> | |
<style type="text/css"> | |
@media print{ | |
.no-print, .no-print * | |
{ | |
display: none !important; |
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
<?php | |
echo bin2hex(random_bytes(20)); // int type | |
// return 4b5ffb1b86049479d7bc875bcaf0a9b4fcfd1b16 | |
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
1c349abe3d2ee7889fc44dff28dfbb2bff25376910f75615cff9d180f2014f6cf46fa21a79a2 |
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
// Turkish | |
function cutNumber(value) { | |
var newValue = value; | |
if (value >= 1000) { | |
var suffixes = ["", "Bin", "Milyon", "Milyar"," Trilyon"]; | |
var suffixNum = Math.floor( (""+value).length/3 ); | |
var shortValue = ''; | |
for (var precision = 2; precision >= 1; precision--) { | |
shortValue = parseFloat( (suffixNum != 0 ? (value / Math.pow(1000,suffixNum) ) : value).toPrecision(precision)); | |
var dotLessShortValue = (shortValue + '').replace(/[^a-zA-Z 0-9]+/g,''); |
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
<?php | |
/** | |
* İnsan sınıfı x) | |
* @author Savaş Can ALTUN <[email protected]> | |
* @link http://savascanaltun.com.tr | |
* @version 1.0 | |
*/ | |
class Human { |
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
<?php | |
if ($_POST) { | |
/* | |
* Author : Savaş Can ALTUN <[email protected]> | |
* Date : 28.06.2016 | |
* Personel Page => http://savascanaltun.com.tr | |
* Video Example => https://www.youtube.com/watch?v=7F-vWQjbeMo | |
*/ | |
$url="https://www.google.com/recaptcha/api/siteverify"; |
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
<?php | |
/** | |
* @author Savaş Can ALTUn <[email protected]> | |
* www.savascanaltun.com.tr | |
*/ | |
$tarihBas = strtotime('1.1.2016'); // date Start | |
$tarihSon = strtotime('24.06.2016'); // date End | |
$rastgeleTarih = rand($tarihBas, $tarihSon); // create random | |
echo(date('d.m.Y H:i', $rastgeleTarih)); // convert time |
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
<?php | |
/* Translate Savaş Can ALTUN < [email protected] > */ | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Validation Language Lines | |
|-------------------------------------------------------------------------- | |
| | |
| The following language lines contain the default error messages used by |
NewerOlder