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
# bu ornek serdaraytekin den alintilanmistir | |
# kaynak: http://www.serdaraytekin.com/docs/os/debian/sarge-install-6.html | |
# 9/7/10: turkiye yansilari guncellendi. | |
deb http://ftp.metu.edu.tr/debian testing main contrib non-free | |
deb-src http://ftp.metu.edu.tr/debian testing main contrib non-free | |
deb http://ftp.tr.debian.org/debian-security testing/updates main contrib non-free | |
# deb http://debian.comu.edu.tr/debian testing main contrib 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
#!/usr/bin/python | |
#-*-coding:utf-8-*- | |
# Code stolen and modified from Emre Sevinç: | |
# http://github.com/emres/turkish-deasciifier | |
def set_char_at(string, pos, c): | |
return string[0:pos] + c + string[pos+1:] | |
def turkish_accent(c): |
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
# kanonik kök dizin | |
root /srv/www/$host/site; | |
# öntanımlı indeksler | |
index index.html index.htm index.php; | |
# flv dosyalarında flv modülü etkin | |
location ~ \.flv$ { | |
flv; | |
} |
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
# yoğun yük altında yapılan ayarlar | |
client_max_body_size 32m; | |
client_body_buffer_size 8192k; | |
client_body_timeout 120; | |
client_header_timeout 120; | |
send_timeout 120; | |
keepalive_timeout 120; | |
# dersler dizinini dış erişimden korumak için alınan yetersiz önlem | |
location ~ /dersler/ { |
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
# | |
# The MySQL database server configuration file. | |
# | |
# You can copy this to one of: | |
# - "/etc/mysql/my.cnf" to set global options, | |
# - "~/.my.cnf" to set user-specific options. | |
# | |
# One can use all long options that the program supports. | |
# Run program with --help to get a list of available options and with | |
# --print-defaults to see which it would actually understand and use. |
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
#!/bin/sh | |
PROGNAME=${0##*/} | |
# Veritabanından bir tabloyu CSV olarak ithal et. | |
whisper() { | |
local name description value | |
name="$1" |
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
<?php | |
include_once './includes/bootstrap.inc'; | |
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); | |
drupal_flush_all_caches(); | |
?> |
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
at | |
automysqlbackup | |
bash-completion | |
bmon | |
bsd-mailx | |
console-setup | |
console-terminus | |
dnstracer | |
dnsutils | |
etckeeper |
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/perl | |
=head1 NAME | |
vidir - edit directory | |
=head1 SYNOPSIS | |
B<vidir> [--verbose] [directory|file|-] ... |
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
cd /tmp | |
sudo apt-get install xclip | |
wget http://github.com/dblevins/gistpaste/raw/master/gistpaste | |
chmod 755 gistpaste | |
sudo mv gistpaste /usr/local/bin/ | |
git clone git://gist.github.com/618030.git | |
cd 618030 | |
/usr/lib/gnome-panel/gnome-panel-add --panel=top_panel_screen0 --copy-launcher --launcher=gistpaste.desktop | |
# üst panelde artık bir ikon olmalı | |
# şimdi... herhangi bir metni seç ve o ikona tıkla |