3 Eylül 2013 Salı

Raspberry Pi Statik IP alma ve Dinamik DNS

Bunun için önce modeminizin ip sini, ve netmask adresini öğrenmelisiniz. Windows’ta dos komutu olarak “ipconfig -all” yazarak modem ip nizi öğrenebilirsiniz. Geri kalan değerler için Raspberry Pi’nize bağlanıp/açıp terminalden şu komutu girin:
1ifconfig -a
Bu size bağlı olduğunuz network hakkında bilgi dökümü verecektir. Ethernet’ten bağlı ise “eth0″, kablosuz ağdaysanız “wlan0″ gibi bir değer sizin atanmış ip nizdeki değerleri döken bölüm olacaktır.
  • Buradaki “inet addr” değeri (bende 192.168.1.34 olan değer) DHCP tarafından Raspberry Pi’nize atanmış yerel ip adresidir. Mask değeri ise (bendeki 255.255.255.0) mask adresini belirtir. Modem IP’nize de 192.168.1.1 diyelim (bende öyle)
  • Şimdi ise aşağıdaki komutu çalıştırın:
    1sudo nano /etc/network/interfaces
  • Bu komut ile açılan editörde ağ ayarlarınızı göreceksiniz. Bende şu şekilde:
  • Buradaki en alttaki “iface eth0 inet dhcp” değerindeki “dhcp” değeri yerine static yazın. Yani son satır “iface eth0 inet static” olsun.
    Not: Eğer wireless olsaydı “iface wlan0 inet dhcp” satırı olacaktı.
  • Daha sonra altına şu satırları ekleyin:
    1#statik yerel ip adresi
    2address 192.168.1.10
    3#ifconfigdeki mask değeri
    4netmask 255.255.255.0
    5#modem/gateway ip si
    6gateway 192.168.1.1
    7#modem üzerinden atanaabilen ip aralığı
    8network 192.168.1.0
    9broadcast 192.168.1.255
    Buradaki atanabilen ip aralığı değişik biraz. Modeminiz tarafından atanabilen en düşük ip 192.168.1.1 ise 192.168.1.0 , broadcast’e de en yüksek ip yi yazmalısınız. Çoğu modemde x.x.x.255 olduğundan örneğimiz için 192.168.1.255 yazdım.
    Ayrı bir örnek vermem gerekirse 10.0.0.1 olsaydı modem ip’niz şöyle olacaktı değerler:
    1#statik yerel ip adresi
    2address 10.0.0.4
    3#ifconfigdeki mask değeri
    4netmask 255.255.255.0
    5#modem/gateway ip si
    6gateway 10.0.0.1
    7#modem üzerinden atanaabilen ip aralığı
    8network 10.0.0.0
    9broadcast 10.0.0.255
  • Daha sonra aşağıdaki komut ile networkin’i yeniden başlatın:
    1sudo /etc/init.d/networking restart
    2#bu satır da garanti olsun diye
    3sudo /etc/init.d/networking reload
  • Artık Raspberry Pi’niz bir statik IP’ye sahip.
  • Şimdi ise Üçüncü Parti bir DNS ayarlayalım

    Kabul edelim, TTNet, pek çok siteyi dns bazında engelleyerek kurunun yanında yaşı da yaktı, hem de çok hantallar. Bir taşla iki kuş vurmak, ve de sitelerden daha hızlı çözümleme tepkisi almak için Google DNS ya da Open DNS başarılı alternatifler.
    • Öncelikle Yukarıdaki adımlarla Raspberry Pi’nize sabit bir yerel IP verdiğinizden emin olun.
    • Daha sonra terminalden şu komutu çalıştırın:
      1sudo nano /etc/resolv.conf
    • Açılan sayfada şu şekilde DNS ip lerini girin:
      1nameserver ip1
      2nameserver ip2
      Not: Google DNS IPleri 8.8.8.8 ve 8.8.4.4, OpenDNS ip leri 208.67.222.222 ve 208.67.220.220
      Aşağıdaki resimde ben OpenDNS ip lerini girdim:
      • Daha sonra aşağıdaki komut ile networkin’i yeniden başlatın:
        1sudo /etc/init.d/networking restart
        2#bu satır da garanti olsun diye
        3sudo /etc/init.d/networking reload
      • Artık internet servis sağlayıcınız haricinde bir DNS kullanıyorsunuz, 
    • Kaynak: raspberrypi.gen.tr

31 Mart 2013 Pazar

Samsung Led TV Monitör ayarları

Review:
http://reviews.cnet.com/flat-panel-tvs/samsung-un46c6500/4505-6482_7-34001692.html

Related products:
UN32C6500
UN40C6500
UN55C6500
UN65C6500

Below you'll find the settings we found best for viewing the Samsung UN46C6500 in a dark room via the HDMI input with a 1080p, film-based source. Your settings may vary depending on source, room conditions, and personal preference. Check out the Picture settings and calibration FAQ for more information.
http://news.cnet.com/8301-17938_105-9996461-1.html

--Picture menu
Mode: Movie
Backlight: 9
Contrast: 93
Brightness: 44
Sharpness: 0
Color: 48
Tint: G50/R50

Eco Solution submenu:
Energy Saving: Off
Eco Sensor: Off
No Signal Power Off: Off

Auto Adjustment and Screen submenus: [Grayed out]

Advanced settings submenu
Black tone: Off
Dynamic contrast: Off
Shadow Detail: +2
Gamma: +1
Expert Pattern: Off
RGB Only Mode: Off
Color space: Auto
White Balance [see below]
10p White Balance: On
Flesh tone: 0
Edge enhancement: Off
xvYCC: Off
LED Motion Plus: Off

White balance submenu
R-Offset: 25
G-Offset: 23
B-Offset: 25
R-Gain: 25
G-Gain: 25
B-Gain: 19

10p White Balance submenu
Interval 1: Red 0, Green 1, Blue 0
Interval 2: Red 0, Green 0, Blue 0
Interval 3: Red 0, Green 0, Blue 0
Interval 4: Red 0, Green 0, Blue 0
Interval 5: Red 0, Green -1, Blue 0
Interval 6: Red 1, Green 0, Blue 0
Interval 7: Red 0, Green -1, Blue -1
Interval 8: Red 0, Green -2, Blue 0
Interval 9: Red 0, Green -3, Blue -1
Interval 10: Red 2, Green -1, Blue 0

Picture options submenu
Color tone: Warm2
Size: Screen Fit
Digital Noise Filter: Off
MPEG Noise Filter: Off
HDMI black level: Normal [grayed out]
Film mode: Off [grayed out]
Auto motion plus: Custom
-- Custom settings:
Blur reduction: 10
Judder reduction: 0
Auto Protection Time: 2 hours

29 Ekim 2012 Pazartesi

Windows 8 can't shut down!

Windows 8 new dynamic ticking feature can cause such freezes. 
bcdedit /set disabledynamictick yes
Base Filtering Engine service

http://social.technet.microsoft.com/Forums/en/W8ITProPreRel/thread/be4fd1a8-f8c8-4adb-a500-4448feba9f3f

26 Ekim 2012 Cuma

Windows 8 Kısayol Tuşları


10. Windows-PrtSc: Screen capture

PrtSc has long been the default option for screen capture in Windows, but in Windows 8 there’s a neat new twist: if you use Windows-PrtSc, a PNG file of the capture is saved in a Screenshots folder in your picture library. (If you don’t want the clutter of lots of picture files, PrtSc on its own still copies the screen to the clipboard, and Alt-PrtSc captures just the active window in non-Metro apps.)

9. Windows-C: Charms

Think of charms as a kind of super-sized options setting: you can use individual charms to share with other apps, search for information, change settings, or send something to a connected device such as a printer or drive.

8. Windows-Z: App bar

The app bar is essentially the equivalent of right-clicking: use it to access additional options in Metro applications.

7. Windows-Q: Search charm

This launches search options for any Windows application: if you’re in the store, for example, you need the Search charm to actually look for apps. Search is also accessible from charms (Windows-C), but using Windows-Q saves you extra clicking or arrowing around.

6. Windows-H: Share charm

Similarly, while you can access the Share charm (used to share information via email or to other apps) through the main charms list, this shortcut saves time getting there.

5. Windows-fullstop: Snap

This snaps a Metro app to the right, placing it in a narrow column so you can see crucial information (such as a Twitter feed) while working in another app. (By default, Metro apps take up the entire screen, which makes sense on tablets but can be annoying on large screens.) Repeating the key combination snaps to the left; repeating a third time maximises. To snap immediately to the left, use Windows-> (which is, in effect, Shift-Windows-fullstop).

4. Windows-Tab: Switch apps

The familiar Alt-Tab keyboard shortcut still cycles through open applications in the centre of the screen. If you only want to cycle through newer Metro applications, Windows-Tab is your friend, and switches in a list down the left-hand side.

3. Windows-D: Desktop

If you’re not using Metro apps and want a more familiar Windows interface, Windows-D opens up the desktop.

2. Windows-I: Settings

This is a speedy route to system-wide PC settings. It’s also where you’ll find the Power button if you want to shut down your machine entirely (by default, Windows 8 favours putting your system to sleep rather than a complete shutdown.)

1. Windows key (on its own)

Hitting the Windows key on its own brings up the Metro desktop. However, if you then start typing Windows will begin searching (just as it used to on the old Start menu), finding apps, files and settings. You can also switch to searching other Metro apps from within the interface. You can navigate the results with the arrow keys and Enter, so you don’t need to use a mouse at all.


  • Win : switch between the Start screen and the last-running Windows 8 app
  • Win + C : displays the Charms: the Settings, Devices, Share and Search options
  • Win + D : launches the desktop
  • Win + E : launches Explorer
  • Win + F : opens the File Search pane
  • Win + H : opens the Share pane
  • Win + I : opens Settings
  • Win + K : opens the Devices pane
  • Win + L : locks your PC
  • Win + M : minimises the current Explorer or Internet Explorer window (works in the full-screen IE, too)
  • Win + O : toggles device orientation lock on and off
  • Win + P : switch your display to a second display or projector
  • Win + Q : open the App Search pane
  • Win + R : opens the Run box
  • Win + U : open the Ease of Access Centre
  • Win + V : cycle through toasts (notifications)
  • Win + W : search your system settings (type POWER for links to all power-related options, say)
  • Win + X : displays a text menu of useful Windows tools and applets
  • Win + Z : displays the right-click context menu when in a full-screen app
  • Win + + : launch Magnifier and zoom in
  • Win + - : zoom out
  • Win + , : Aero peek at the desktop
  • Win + Enter : launch Narrator
  • Win + PgUp : move the current screen to the left-hand monitor
  • Win + PgDn : move the current screen to the right-hand monitor
  • Win + PrtSc : capture the current screen and save it to your Pictures folder
  • Win + Tab : switch between running apps

Windows+R to open Run, type shell:Startup

19 Ekim 2012 Cuma

Ağzımızı yağlı yiyeceklere alıştırıyor


Bilim insanları, kaşarlı tostu herkes için özel kılan sırrı ortaya çıkardı. Yapılan araştırmaya göre, erimiş peynirin tadındaki lezzet süt proteinlerinde saklı. İşin kötüsü, peynirin verdiği lezzet, ağzımızı yağlı ve bol kalorili yemeklere alıştırıyor.

Kaşarlı tostun karşı konulmaz lezzetindeki sır ortaya çıktı. Bilim insanları, kaşar peynirinin yaklaşık 65 dereceye kadar ısıtıldığı zaman yapısını oluşturan süt proteini karışımının dağıldığını ve ortaya insanların hoşuna giden krema benzeri bir tat çıktığını belirtti.

Ancak ortaya çıkan lezzetin insanların neden hoşuna gittiği hala bir sır. Bu soruyu yanıtlamak isteyen Hollandalı bilim insanları, vanilyalı krema üzerinde araştırma yaparak, tatlının krema özelliğinin belli faktörlere dayandığını tespit etti. Bu faktörler arasında yapışkanlık, homojenlik ve tatlının kıvamıyla yüzeyinin görünümü bulunuyor.

Araştırmada yer alan Wageningen Üniversitesi’nin Gıda ve Biyo Temelli Araştırma Bölümü’nden René de Wijk, tat testinde yer alan deneklerin ağırlıklı olarak ağıza daha az yapılan kremayı beğendiğini ifade etti. Wijk, buradan yola çıkarak, aynı faktörün peynir için de geçerli olabileceğini belirtti.

“LEZZET AĞIZDAKİ ALICILARI PROGRAMLIYOR”
Sıcak peynirin ağızda oluşturduğu his de işin içine eklenince, erimiş peynirin sahip olduğu yumuşaklık, az yapışkanlık ve sıcaklığı, bu yiyeceği son derece şişmanlatıcı ve keyif verici bir zevke dönüştürüyor.

‘On Food and Cooking’ adlı kitabın yazarı olan ve yemek pişirmekle kimya arasındaki ilişkiyi konu alan ABD’li kimyager-yazar Harold McGee, bireysel öğrenmenin etkisiyle, ağzımızdaki alıcıların daha yağlı, kalori yoğunluğu bol gıdalara alışıyor olabileceğini ifade etti.

McGee, “Şişmanlık doğuştan gelen bir şey olsun olmasın, ağızdaki bu algı yiyecek tüketme alışkanlığımızı yönlendiren bir sinyal olabilir” dedi.