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/python3 | |
#-*- coding:utf-8 -*- | |
import sys | |
sesli = ['a', 'e', 'ı', 'i', 'o', 'ö', 'u', 'ü', 'A', 'E', 'I', 'i', 'O', 'Ö', 'U', 'Ü'] | |
sessiz = ['b', 'c', 'ç', 'd', 'f', 'g', 'ğ', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'r', 's', 'ş', 't', 'v', 'y', 'z', 'B', 'C', 'Ç', 'D', 'F', 'G', 'Ğ', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'R', 'S', 'Ş', 'T', 'V', 'Y', 'Z' ] | |
def hecebul(kelime): | |
kelime = kelime[::-1] |
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
#!/bin/bash | |
alani_goster() { | |
! [ $# -eq 1 ] && echo "simdilik alan adi tek olamali :) " && exit 1 | |
alan=$1 | |
ifs_save="$IFS" | |
case "$alan" in | |
"user") | |
while read line; do |
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
#!/bin/bash | |
alanlar() { | |
! [ $# -eq 1 ] && echo "icerdeyim" && exit 1 | |
ifs_save="$IFS" | |
alan=$1 | |
while read line; do | |
IFS=":" | |
set $line |
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
oldumu rafıq :) |
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
#!/bin/bash | |
:>ogr_adi.csv | |
:>ogr_num.csv | |
while read line; do | |
echo $line |awk -F, '{ print $1, $2 }' >> ogr_adi.csv | |
echo $line |awk -F, '{ print $3 }' >>ogr_num.csv | |
done <ogr.csv #csv icinde "<ogrenci_adi>,<ogrenci_soyadi>,<ogrenci_no>" seklinde kayıtlar var |
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
#!/bin/sh | |
yoket="/dev/null" | |
# /home dizinini kullanarak kayitli kullanici arama | |
echo -n "kullanici adi giriniz : "; read name | |
ls $( readlink -f $HOME/.. ) >home.txt | |
if grep $name home.txt 2>$yoket 1>2 ; then | |
echo "$name isminde kullanici bulundu " |
NewerOlder