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
-- phpMyAdmin SQL Dump | |
-- version 4.4.9 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Anamakine: localhost:3306 | |
-- Üretim Zamanı: 27 Ara 2015, 21:08:15 | |
-- Sunucu sürümü: 5.5.42 | |
-- PHP Sürümü: 5.6.10 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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 | |
Route::get('/', function () { | |
return view('index'); | |
}); | |
Route::group(['middleware' => ['web']], function () { | |
// | |
}); |
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
#!/usr/bin/python | |
import socket | |
class bcolors: | |
HEADER = '\033[95m' | |
OKBLUE = '\033[94m' | |
OKGREEN = '\033[92m' | |
WARNING = '\033[93m' | |
FAIL = '\033[91m' |
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 | |
function file_get_contents_utf8($fn) { | |
$content = file_get_contents($fn); | |
return mb_convert_encoding($content, 'UTF-8', | |
mb_detect_encoding($content, 'UTF-8, ISO-8859-9', true)); | |
} | |
$count = 0; | |
$okul = array(); | |
set_time_limit(1800); |
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 Compare(one,two) { | |
var result = 0; | |
while (one != 0 && two != 0) { | |
var d1 = one % 10; | |
var d2 = two % 10; | |
one /= 10; | |
two /= 10; | |
if (d1 == d2) { | |
++result; | |
} else { |
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
-- phpMyAdmin SQL Dump | |
-- version 4.4.9 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Anamakine: localhost:3306 | |
-- Üretim Zamanı: 12 Şub 2016, 18:15:29 | |
-- Sunucu sürümü: 5.5.42 | |
-- PHP Sürümü: 5.6.10 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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
express = require('express') | |
app = express() | |
http = require('http') | |
connected = {} | |
app.use express.static(__dirname + '/assets') | |
app.get '/', (req, res) -> | |
res.sendFile 'index.html', root: 'views' | |
return |
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
/* Chrome eklentisi de şurada : https://github.com/riza/yemeksepeti-randomer */ | |
var items = []; $('.ys-item').find('.head').find('.restaurantName').each(function(i,v) { items.push($(this).html()); });console.log(items[Math.floor(Math.random()*items.length)]); |
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() { | |
/* | |
½½½½½½½½½½½½½½½½½½½½½½½½½½%% | |
½ jsTarla.js % | |
½½½½½½½½½½½½½½½½½½½½½½½½½½%% | |
% % | |
½ Rıza Sabuncu % | |
½ github.com/rizasabuncu % |
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
func turkishDate() string { | |
t := time.Now() | |
theTime := t.Format("02 January 2006") | |
month := strings.Split(theTime," ") | |
switch month[1] { | |
case "January": | |
str := strings.Replace(theTime, "January", "Ocak", -1) | |
return str | |
case "February": | |
str := strings.Replace(theTime, "February", "Şubat", -1) |