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
String.prototype.turkishUpperCase = function () { | |
return this.replace(/ğ/g, 'Ğ') | |
.replace(/ü/g, 'Ü') | |
.replace(/ş/g, 'Ş') | |
.replace(/ı/g, 'I') | |
.replace(/i/g, 'İ') | |
.replace(/ö/g, 'Ö') | |
.replace(/ç/g, 'Ç') | |
.toUpperCase(); | |
}; |
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
SCHEMA = { | |
sunum: { | |
ignore: [0, 5], | |
updated: [1, 2, 3, 4] | |
}, | |
pdf: { | |
ignore: [0, 5], | |
updated: [1, 2, 3, 4] | |
}, | |
video: { |
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
use moodle; | |
SELECT cc.name AS Bolum, | |
c.fullname AS DersAdi, | |
c.idnumber AS DersIdNumber, | |
c.visible AS DersGorunurluk, | |
c.shortname AS DersKisaAdi, | |
uid.data AS TCVeyaOGR, | |
uif.name AS DataAdi, | |
u.idnumber AS OgrenciIdNumber, | |
u.username AS KullaniciADİ, |
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
<script type="text/javascript"> | |
$( document ).ready(function() { | |
url = window.location.pathname; | |
is_course_page_visit = url.indexOf("course") !== -1; | |
is_not_edit = $("i.fa-power-off").length == 0; | |
if (is_not_edit && is_course_page_visit ){ | |
mainElement = $(".activity.adobeconnect"); | |
mainElement.each(function() { | |
editElement = $( this ).find(".activityinstance a").not(".dimmed"); | |
link = editElement.attr("href"); |
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
<script type="text/javascript"> | |
$( document ).ready(function() { | |
url = window.location.pathname; | |
is_course_page_visit = url.indexOf("course") !== -1; | |
is_not_edit = $("i.fa-power-off").length == 0; | |
hedef = "" | |
general = '<div class="alert alert-info alert-dismissible fade in" role="alert" style="padding:10px;">' + | |
'<h4>Canlı Ders Merkezi</h4><br>' + | |
'<p>Bu dersin canlı dersleri ile ilgili tüm işlemler elinizin altında. Canlı ders merkezinde yapabilecekleriniz.</p>' + | |
'<ul class="list-style-3 colored">' + |
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
[ | |
{"binNumber": "400684", "bankName": "ING Bank A.Ş.", "cardBrand": "Bonus", "bankCode": "099"}, | |
{"binNumber": "401622", "bankName": "YAPI ve KREDİ BANKASI A.Ş.", "cardBrand": "World", "bankCode": "067"}, | |
{"binNumber": "401738", "bankName": "GARANTİ BANKASI A.Ş.", "cardBrand": "Bonus", "bankCode": "062"}, | |
{"binNumber": "402275", "bankName": "ASYA KATILIM BANKASI A.Ş.", "cardBrand": "Asya", "bankCode": "208"}, | |
{"binNumber": "402276", "bankName": "ASYA KATILIM BANKASI A.Ş.", "cardBrand": "Asya", "bankCode": "208"}, | |
{"binNumber": "402277", "bankName": "FİNANSBANK A.Ş.", "cardBrand": "CardFinans", "bankCode": "111"}, | |
{"binNumber": "402278", "bankName": "FİNANSBANK A.Ş.", "cardBrand": "CardFinans", "bankCode": "111"}, | |
{"binNumber": "402280", "bankName": "ASYA KATILIM BANKASI A.Ş.", "cardBrand": "Asya", "bankCode": "208"}, | |
{"binNumber": "402458", "bankName": "TÜRK EKONOMİ BANKASI TEB A.Ş.", "cardBrand": "Bonus", "bankCode": "032"}, |
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
# encoding: UTF-8 | |
require 'yomu' | |
data = File.read 'deneme.rtf' | |
text = Yomu.read :text, data | |
# Soru ayrımların belirlendiği değişken | |
config = {option_separate: ")", question_info: "#", question_separate: "."} | |
# Seçenek değerlerinin belirlendiği değişken |
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
var $link = "" | |
$( "a" ).click(function() { | |
$link = $(this) | |
console.log($link.text()); | |
}); | |
$( "form" ).submit(function( event ) { | |
// Stop form from submitting normally | |
event.preventDefault(); | |
var postData = $(this).serializeArray(); |
NewerOlder