start new:
tmux
start new with session name:
tmux new -s myname
| bu giste de ne oluyor bir bakalım :? |
| #!/usr/bin/python3 | |
| #-*- coding:utf-8 -*- | |
| import sys | |
| import re | |
| 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 reg_exp(list): |
| #!/bin/bash | |
| # | |
| # Watch current directory (recursively) for file changes, and execute | |
| # a command when a file or directory is created, modified or deleted. | |
| # | |
| # Written by: Senko Rasic <senko.rasic@dobarkod.hr> | |
| # | |
| # Requires Linux, bash and inotifywait (from inotify-tools package). | |
| # | |
| # To avoid executing the command multiple times when a sequence of |
| desc "Edit a post (defaults to most recent)" | |
| task :edit_post, :title do |t, args| | |
| args.with_defaults(:title => false) | |
| posts = Dir.glob("#{source_dir}/#{posts_dir}/*.*") | |
| post = (args.title) ? post = posts.keep_if {|post| post =~ /#{args.title}/}.last : posts.last | |
| if post | |
| puts "Opening #{post} with #{editor}..." | |
| system "#{ENV['EDITOR']} #{post} &" | |
| else | |
| puts "No posts were found with \"#{args.title}\" in the title." |
| #!/bin/bash | |
| PROGNAME=${0##*/} | |
| # iletiyi stderr'de görüntüle | |
| message() { | |
| printf -- "$*\n" | fold -s -w ${COLS:-80} >&2 | |
| } | |
| # hata iletisi |
rsync (Everyone seems to like -z, but it is much slower for me)
| package main | |
| import ( | |
| "fmt" | |
| "sort" | |
| "math/rand" | |
| "time" | |
| "strings" | |
| ) |
| #!/bin/bash | |
| set -e | |
| # Usage: | |
| # rsync_parallel.sh [--parallel=N] [rsync args...] | |
| # | |
| # Options: | |
| # --parallel=N Use N parallel processes for transfer. Defaults to 10. | |
| # | |
| # Notes: |
| # encoding: UTF-8 | |
| # | |
| # UBS'de girilen içerik EBS üzerinden webde görülebilmektedir. Bu betik | |
| # yardımıyla Bilgisayar Mühendisliği Bölümü'ne ait tüm derslerin içerik tek bir | |
| # html dosya olarak üretilmektedir. Ayrıca içeriği eksik olan derslere ait | |
| # raporlar üretilmektedir. | |
| # | |
| # Usage: | |
| # $ ruby ders-icerigi-ve-eksik-icerik-belirleme-ebs-yardimiyla.rb | |
| # |