Neden git pull değilde git pull --rebase kullanılmalı
http://stackoverflow.com/a/7200641/1027507
Dosyaları silmeden son yapılan commiti silmek
git reset --soft HEAD~1
Remoteda olup localde olmayan branchi indirip üzerinde çalışmaya başlamak
#python | |
#pyistanbul | |
#django | |
#jstanbul | |
#gsoc | |
#vagrant | |
#archlinux-tr |
Neden git pull değilde git pull --rebase kullanılmalı
http://stackoverflow.com/a/7200641/1027507
Dosyaları silmeden son yapılan commiti silmek
git reset --soft HEAD~1
Remoteda olup localde olmayan branchi indirip üzerinde çalışmaya başlamak
Loosely ordered with the commands I use most towards the top. Sublime also offer "full documentation":http://www.sublimetext.com/docs/2/.
Also look at sublime-text-2-keyboard-shortcuts-windows
Shortcut | Action |
---|---|
Ctrl+C | copy current line (if no selection) |
Komut | Açıklama |
---|---|
\G | Sonuçları dikey gösterme |
> show tables | Tabloları listele |
> SHOW TABLE STATUS LIKE 'tablename' \G | Tablo hakkında detaylı bilgi |
> pager less | Bu komutu bir defa çalıştırdıktan sonra output artık less e aktarılır |
CREATE TABLE IF NOT EXISTS `tr_city` ( | |
`id` int(3) NOT NULL, | |
`name` varchar(50) NOT NULL, | |
UNIQUE KEY `id_town` (`id`) | |
); | |
INSERT INTO `tr_city` (`id`, `name`) VALUES | |
(1, 'Adana'), |
CREATE TABLE IF NOT EXISTS `tr_province` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`city_id` int(11) NOT NULL, | |
`name` varchar(50) NOT NULL, | |
UNIQUE KEY `id_town` (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=964 ; | |
-- | |
-- Tablo döküm verisi `tr_province` | |
-- |
{ | |
"pep8_max_line_length": 120, | |
"ignore": ["E128"] | |
} |
Not: Bu kısayollar benim tmux.conf'umda ayarlanan kısa yollardır. Default bir tmux.conf konfigürasyonunda bu kısayollar farklık gösterebilir.
CK
Kontrol key anlamına gelir.Default'ta Ctrl+b'dir.
import logging | |
from suds.xsd.doctor import ImportDoctor, Import | |
from suds.client import Client, WebFault | |
logger = logging.getLogger(__name__) | |
wsdl_url = 'http://appls-srv.araskargo.com.tr/arascargoservice/arascargoservice.asmx?WSDL' | |
client = None |
from django import http | |
class XsSharing(object): | |
""" | |
This middleware allows cross-domain XHR using the html5 postMessage API. | |
Access-Control-Allow-Origin: http://foo.example | |
Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE |