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
public class Kisiler | |
{ | |
private string _isim; | |
public string Isim | |
{ | |
get | |
{ | |
return _isim; | |
} |
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
int ornek(int sayi) | |
{ | |
return sayi; | |
} | |
void main() | |
{ | |
assert(sayi(12345) == 12345); | |
} |
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
int yazdir(int sayi) | |
{ | |
return sayi; | |
} | |
string yazdir(string kelime) | |
{ | |
return kelime; | |
} | |
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
class Anasayfa(tornado.web.RequestHandler): | |
def get(self): | |
self.write("Merhaba Dunya") |
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
uygulama = tornado.web.Application([ | |
(r"/", Anasayfa), | |
]) |
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
import tornado | |
import tornado.web | |
import tornado.ioloop | |
import tornado.template | |
class Anasayfa(tornado.web.RequestHandler): | |
def get(self): | |
self.write("Merhaba Dunya") | |
class CyberWarrior(tornado.web.RequestHandler): |
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"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{{ title }}</title> | |
<!-- Bootstrap --> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> |
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
require 'ramaze' | |
class AnasayfaController < Ramaze::Controller | |
map '/' | |
def index | |
return "Merhaba Ali, ben Ramaze" | |
end | |
end |
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
require 'ramaze' | |
class HakkindaController < Ramaze::Controller | |
map '/hakkinda' | |
def index | |
return "Hakkinda" | |
end | |
end |
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
require 'ramaze' | |
class AnasayfaController < Ramaze::Controller | |
map '/' | |
def index | |
return "Merhaba Anasayfa" | |
end | |
end |
OlderNewer