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
#if defined(_WIN64) | |
#include <conio.h> | |
#include<stdio.h> | |
//C / C ++ KODLARINIZ | |
getch(); | |
#elif defined(_WIN32) | |
#include <conio.h> |
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
_AIX => IBM kullanır | |
********************** | |
__unix__ => UNIX icindir. | |
********************** | |
BSD => FreeBSD vs. icindir |
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 std.stdio; | |
import std.traits; | |
void main() | |
{ | |
int öğrenci_sayısı; | |
int öğretmen_sayısı; |
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
deb http://security.kali.org/kali-security/ kali/updates main contrib non-free | |
deb http://http.kali.org/kali kali main contrib non-free | |
deb-src http://http.kali.org/kali kali main contrib non-free | |
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free | |
deb http://http.kali.org/ /wheezy main contrib non-free# | |
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130327-18:35]/ kali contrib main non-free | |
#deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130327-18:35]/ kali contrib main non-free |
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
if(!is_numeric($_GET['yazi_id']) | |
{ | |
echo 'HATA: SQL INJECTION DENEMESI'; | |
} | |
$hataDeger = array('absolute_path', 'ad_click', 'alert(', 'alert%20', ' and ', 'basepath', | |
'bash_history', '.bash_history', 'cgi-', 'chmod(', 'chmod%20', '%20chmod', 'chmod=', | |
'chown%20', 'chgrp%20', 'chown(', '/chown', 'chgrp(', 'chr(', 'chr=', 'chr%20', '%20chr', | |
'chunked', 'cookie=', 'cmd', 'cmd=', '%20cmd', 'cmd%20', '.conf', 'configdir', 'config.php', | |
'cp%20', '%20cp', 'cp(', 'diff%20', 'dat?', 'db_mysql.inc', 'document.location', 'document.cookie', |
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
#!/usr/bin/python3 | |
def f(x): | |
'''gelen sayiya 5 ekle fonksiyon olayi''' | |
print('x parametresinin aldigi deger: ', x) | |
y=x+5 | |
print('Hesaplama sonucu: ', y) | |
return y | |
f(3) |
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
deger = input('Kocaeline hangi il daha yakindir?(ankara, istanbul, hakkari, sirnak, tekirdag, bursa): ') | |
if (deger == 'ankara') or (deger == 'Ankara') or (deger == 'ANKARA'): | |
print('Bilemediniz') | |
elif (deger == 'hakkari') or (deger == 'Hakkari') or (deger == 'HAKKARİ'): | |
print('Maalesef dogru degil') | |
elif (deger == 'sirnak') or (deger == 'şırnak') or (deger == 'Sirnak') or (deger == 'Şırnak') or (deger == 'SIRNAK') or (deger == 'ŞIRNAK'): | |
print('Maalesef', deger, 'ili de yakin degildir') | |
elif (deger == 'tekirdag') or (deger == 'tekirdağ') or (deger == 'TEKİRDAĞ') or (deger == 'TEKIRDAG'): | |
print('Maalesef', deger, 'ili de uzak kaliyor') |
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 cv | |
cv.NamedWindow("w1", cv.CV_WINDOW_AUTOSIZE) | |
camera_index = 0 | |
capture = cv.CaptureFromCAM(camera_index) | |
gx = gy = 1 | |
grayscale = blur = canny = False | |
def repeat(): |
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
"Saat gecenin 1'i olmus hala uyumadim. cunku ben botum", | |
"Saat 01:00 ben hala uyumadim.. bot olmanin faydalari", | |
"Bugun de ayaktayim, sadece cpu yiyorum baska bise yaptigim yok. botum ben yeaa", | |
"Bot oldugumu anlayanlar FAV lutfen.." |
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
# extend metodu ile daha kolay | |
urunler = ['Hali', 'Araba', 'Elektronik', 'Giysi'] | |
print(urunler) # listenin ilk hali | |
# extend icinde sayilar da kullanabiliriz | |
urunler.extend(['Telefon', 'Ayakkabi', 'Mutfak', 2013]) |