Üstün Özgür

Üstün Özgür


 
Üstün Özgür's profile »

Tags

  • Tip (5)
  • Apple (2)
  • Emacs (2)
  • Git (2)
  • Opera (2)
  • Django (1)
  • extension (1)
  • iPad (1)
  • Music (1)
  • Readability (1)
  • View all 17 tags »
  • reference (1)
  • safari (1)
  • Shell (1)
  • tech (1)
  • Turkce (1)
  • Unix (1)
  • Vi (1)
Subscribe to this posterous »
Unsubscribe »
Loading...
Subscribe via RSS
July 22, 2010

Using CSS Media Queries to Style Your iPhone and iPad HTML - O'Reilly Broadcast

  • Edit
  • Delete
  • Autopost
Using CSS Media Queries to Style Your iPhone and iPad HTML
via broadcast.oreilly.com

See also http://hicksdesign.co.uk/journal/finally-a-fluid-hicksdesign

Loading mentions
Retweet

Comments [0]

July 5, 2010

Homebrew — MacPorts driving you to drink? Try Homebrew!

  • Edit
  • Delete
  • Autopost
Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn't include with OS X.
via mxcl.github.com

I installed the aforementioned proctools using this. We'll see how it fares with macports or fink.

Loading mentions
Retweet

Comments [0]

July 4, 2010

Pgrep and pkill on OS X

  • Edit
  • Delete
  • Autopost
Use http://sourceforge.net/projects/proctools/
Loading mentions
Retweet

Comments [0]

June 29, 2010

Using patches made by git format-patch on non-git repositories

  • Edit
  • Delete
  • Autopost

Patches, that git diff yields, are correctly processed by patch tool.

patch skips all the additional info git appends to the patch file. To apply the patch you most likely will need -p1 option.

via stackoverflow.com

-p1 option is important.

Loading mentions
Retweet

Comments [0]

June 29, 2010

Sending patches with Git with Gmail

  • Edit
  • Delete
  • Autopost

If you want to use Git to submit patches via email over secure SMTP you will need to install the Net::SMTP::SSL module, if you don't have it installed already on your system.

sudo -H cpan Net::SMTP::SSL
via kbase.wincent.com

Then put the following in .gitconfig:

[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = yourmail@gmail.com
smtpserverport = 587

Loading mentions
Retweet

Comments [0]

June 11, 2010

Git Reference

  • Edit
  • Delete
  • Autopost

Introduction to the Git Reference

This is the Git reference site. This is meant to be a quick reference for learning and remembering the most important and commonly used Git commands. The commands are organized into sections of the type of operation you may be trying to do, and will preset the common options and commands needed to accomplish these common tasks.

Each section will link to the next section, so it can be used as a tutorial. Every page will also link to more in-depth Git documentation such as the offical manual pages and relevant sections in the Pro Git book, so you can learn more about any of the commands. First, we'll start with thinking about source code management like Git does.

How to Think Like Git

This first thing that is important to understand about Git is that it thinks about version control very differently than Subversion or Perforce or whatever SCM you may be used to. It is often easier to learn Git by trying to forget your assumptions about how version control works and try to think about it in the Git way.

Let's start from scratch. Assume you are designing a new source code management system. How do you do basic version control before you used a tool for it? Chances are that you simply copied your project directory to save what it looked like at that point.

1 1 $ cp -R project project.bak

That way, you can easily revert files that get messed up later, or see what you have changed by comparing what the project looks like now to what it looked like when you copied it.

If you are really paranoid, you may do this often, maybe putting the date in the name of the backup:

1 1 $ cp -R project project.2010-06-01.bak

In that case, you may have a bunch of snapshots of your project that you can compare and inspect from. You can even use this model to fairly effectively share changes with someone. If you zip up your project at a known state and put it on your website, other developers can download that, change it and send you a patch pretty easily.

1 1 $ wget http://sample.com/project.2010-06-01.zip
2 2  $ unzip project.2010-06-01.zip
3 3  $ cp -R project.2010-06-01 project-my-copy
4 4  $ unzip project.2010-06-01.zip
5 5  $ cd project-my-copy
6 6  $ (change something)
7 7  $ diff project-my-copy project.2010-06-01 > change.patch
8 8  $ (email change.patch)

Now the original developer can apply that patch to their copy of the project and they have your changes. This is how many open source projects have been collaborated on for several years.

This actually works fairly well, so let's say we want to write a tool to make this basic process faster and easier. Instead of writing a tool that versions each file individually, like Subversion, we would probably write one that makes it easier to store snapshots of our project without having to copy the whole directory each time.

This is essentially what Git is. You tell Git you want to save a snapshot of your project with the git commit command and it basically records a manifest of what all of the files in your project look like at that point. Then most of the commands work with those manifests to see how they differ or pull content out of them, etc.

If you think about Git as a tool for storing and comparing and merging snapshots of your project, it may be easier to understand what is going on and how to do things properly.

On to Getting and Creating Projects »

via gitref.org

From the author of the book ProGit.

Loading mentions
Retweet

Filed under  //

  • Git
  • reference

Comments [0]

June 10, 2010

Calendar World Cup 2010 by MARCA.com

  • Edit
  • Delete
  • Autopost
via marca.com

Flash gerektirse de guzel.

Loading mentions
Retweet

Comments [0]

June 10, 2010

Matematik Dünyası Aboneliği

  • Edit
  • Delete
  • Autopost
112 sayfalık Matematik Dünyası dergisinin fiyatı yıllardan beri 5 YTL. Maliyetimizi http://www.matematikdunyasi.org/arsiv/PDF/08_3_9_9_MALIYET.pdf sayfasinda bulabilirsiniz. Derginin fiyatını artırmamak için direniyoruz. Ama daha ne kadar direnebileceğiz? “Kurumsal destek” diye bir şey ortaya attık. Ayda 500 TL’lik destek karşılığı kurumların dergide ve internet sayfamızda reklamlarını yapacaktık… Olmadı. Hiç rağbet görmedi.
Yeni çözümler peşindeyiz. Zenginden değil, hali vakti hallice olandan alıp fakir öğrenciye vermek gibi bir fikir geliştirdik. Derginin fiyatının artmaması, dolayısıyla daha çok gencin dergiye ulaşabilmesi için “platin, altın, gümüş ve bronz abonelik” sistemi getiriyoruz. Bu da başarılı olmazsa dergiye üzülerek zam yapmak zorunda kalacağız.
• Platin abonelik 100 TL
• Altın abonelik 75 TL
• Gümüş abonelik 50 TL
• Bronz abonelik 25 TL
• Normal abonelik 16 TL
Abonelik için tıklayın. Desteğinizden yararlanacak gençler adına çok teşekkür ederiz.
via md.math.bilgi.edu.tr

Loading mentions
Retweet

Comments [0]

June 10, 2010

Ali Nesin'den TÜBİTAK Başkanı'na açık mektup

  • Edit
  • Delete
  • Autopost

TÜBİTAK Başkanı Sayın Prof. Dr. Nüket Yetiş’e Açık Mektup

Sayın Prof. Dr. Nüket Yetiş,
Sorumlusu olduğunuz TÜBİTAK’tan şikâyetçiyim. Sadece ben değil, matematikçi ya da değil, tanıdığım herkes şikâyetçi. Ben kendi dertlerimi size anlatmak istiyorum. Eğer isterseniz diğerlerinin dertlerini kendilerine sorup dinlersiniz.

Sayın Prof. Dr. Nüket Yetiş,
Basından mutlaka takip etmişsinizdir: 2007 yılında Şirince’de dağ başında, Nesin Vakfı bünyesinde bir “Matematik Köyü” kurduk. Kereste, taş, çamur ve samandan yapılmış geleneksel tarzda evleriyle, taş kaplanmış avluları ve daracık serin sokaklarıyla, çardakları, amfitiyatrosu, sadeliği ve içtenliğiyle, herkesin ilk bakışta âşık olduğu dünya güzeli yemyeşil bir köy oldu.

Halkımızın maddi katkısı ve emeğiyle kurduk bu köyü. Çoluk çocuk ve gönüllüler çalıştı inşaatında. Tam bir imece ürünü. Başka türlüsü de olamazdı zaten, biz günü gününe yaşayan mütevazı bir vakıfız.
Hiçbir maddi çıkar gütmeden bireysel çabalarımla 1998’ten beri her yaz düzenlediğim matematik yazokullarını artık Matematik Köyü’nde yapıyorum. Her yaz 500 dolayında liseli ve üniversiteli genç Matematik Köyü’nde dünya çapında matematikçilerle ve olağanüstü bir matematikle tanışıyor. Söylemeye gerek var mı? Bu öğrencilerin büyük çoğunluğu dar gelirli ya da yoksul.

Dünyanın her yerinde böyle bir girişim devlet tarafından desteklenir. Biz de projelerimizi desteklemesi için doğal olarak TÜBİTAK’a başvuruyoruz. Bu yıl da 11 yazokulu projemizin 7’sine maddi destek vermesi için TÜBİTAK’a başvurduk. Tüm projelerimizi desteklemeyeceğini deneyimle bildiğimizden, sunduğumuz projelerin iki ya da üçünü desteklerse, bu destekle diğer projelerimizi de yürütebileceğimizi düşündük.

TÜBİTAK, 7 projemizin 7’sini de reddetti!

via md.math.bilgi.edu.tr

Mektubun tamamini okumanizi oneririm.

Loading mentions
Retweet

Comments [0]

June 10, 2010

Safari Extensions

  • Edit
  • Delete
  • Autopost
via safariextensions.tumblr.com

Safari eklentileri aldi basini gidiyor.

Loading mentions
Retweet

Filed under  //

  • Apple
  • extension
  • safari

Comments [0]

« Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next »