-
Bu dökümanın Burdaki dökümandan sonra yazıldığı unutulmamalı.
-
Git flow mekanizmasını anlamak için SourceTree tool 'unda mevcut olan gitflow eklentisi kullanıldı.
-
Bu dökümanı oluşturmak için atlassian , nvie dökümanlarından yararlanıldı. Daha fazla bilgi için incelemenizi öneririm.
-
ilk olarak mevcut depomuzu
Clone in SourceTree
butonuna tıklayarak clone ediyoruz.
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
@Override | |
protected void onScrollChanged(int l, int t, int oldl, int oldt) { | |
if(scrollListener != null) { | |
View view = (View) getChildAt(getChildCount()-1); | |
int diff = (view.getBottom()-(getHeight()+getScrollY())); | |
if(diff == 0) { | |
if (!scrollLock) { | |
setScrollLock(true); | |
scrollListener.onScrollChanged(l, t, oldl, oldt, diff); | |
} |
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
# STEP 1: VERIFY THAT YOU DO NOT ALREADY HAVE POSTGRESQL INSTALLED ON YOUR SYSTEM | |
ps ax | grep postgres | |
# STEP 2: INSTALL POSTGRESQL ON YOUR SYSTEM | |
sudo apt-get update | |
sudo apt-get install postgresql-9.1 | |
# List All Postgres related packages | |
dpkg -l | grep postgres |
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 | |
ls -lc | awk ' | |
BEGIN { | |
FS=" " | |
print "basladik" | |
} | |
{ | |
print "Gün: "$6" --- Ay: "$7" --- Saat: "$8" --- DosyaAdi: "$9"" | |
} | |
END { |
İlk olarak SourceTree 'den github ile bağlantı kuracağımız tool 'u indiriyoruz.
Kurulum Aşamaları;
- İlk gelen ekrandaki bilgiler commit aşamasında kullanılacak
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
Date date = new Date(System.currentTimeMillis()); | |
DateFormat df = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); | |
Commons.infoLog("hm", df.format(date)); | |
------------------------- | |
DateFormat dateFormat = new SimpleDateFormat("hh:mm:ss"); |
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 getpass, imaplib | |
M = imaplib.IMAP4_SSL('imap.googlemail.com', '993') | |
M.login('semihozkoroglu', getpass.getpass()) | |
M.select() | |
typ, data = M.search(None, 'ALL') | |
for num in data[0].split(): | |
typ, data = M.fetch(num, '(RFC822)') | |
print 'Message %s\n%s\n' % (num, data[0][1]) | |
M.close() |
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
from rest_framework import serializers, pagination | |
# view.py | |
if request.method == 'GET': | |
queryset = Feed.objects.all() | |
paginator = Paginator(queryset, 5) | |
page = request.GET['page'] | |
try: | |
feeds = paginator.page(page) | |
except PageNotAnInteger: |
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/env bash | |
if [ $# = 0 ]; then | |
echo "Kullanimi: ./derle <derlenecek isim> <dosya ismi>" | |
exit 0 | |
fi | |
gcc `gnustep-config --objc-flags` -o $1 $2 -L /GNUstep/System/Library/Libraries -lobjc -lgnustep-base | |
if [ $? = 0 ]; then |
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/sh | |
for f in *[fFmM][lLpP][vV4] | |
do | |
basename="${f%.*}" | |
ffmpeg -i "$f" "$basename".mp3 | |
done |