com•mu•ni•ca•tion

İki insanın gerçekten birbirini anlaması bilimsel olarak imkansızdır. Çünkü her birey algılarını geçmişinin filtresinden geçirerek kavrama dönüştürür.

Karşılıklı bir konuşma sırasında; sizin düşündüğünüz, anlatmak istediğiniz, söylediğiniz, karşınızdakinin duyduğu, duyduğunu sandığı, anlamak istediği, anladığı arasında dağlar kadar fark vardır.

 

vb.net PrintDocument custom paper size

While using PrintDocument class for printing on vb.net, It won’t allow you to change PaperSize Width and Height values. In order to set those values manually, you need to define a custom paper size first. Use the code below to create a new custom paper size and then set it to PrintDocument’s PaperSize property:

Dim pkCustomSize1 As New System.Drawing.Printing.PaperSize("Custom Paper Size", 800, 600)
PrintDocument1.PrinterSettings.DefaultPageSettings.PaperSize = pkCustomSize1

I hope this helps, cheers!

jQuery to get anchor link URLs and texts on a page

On google chrome developer console (F12), simply run command below to get link texts printout:

jQuery("a.classname").each( function(){ console.log( $(this).text() ); } );

If you need to get link URLs, try the code below:

jQuery("a.classname").each( function(){ console.log( $(this).attr('href') ); } );

Remember to change classname to appropriate class name.

If the page you are trying to parse doesn’t have jQuery, you can load jQuery from console also.

Portable python for windows

Python is an awesome language for science and automating your work. It is a little hard to run it fully functional on Windows though. Here, WinPython solves this problem. It is portable and it comes with various scientific packages those are ready to run!

You can download WinPython here. Check out their documentation here.

If you are interested in python programming, I recommend going through slides here.

You might also like anaconda, another python development environment.

the path

I see through the darkness my way back home
The journey seems endless but i’ll carry on
The shadows will rise and they will fall
And our night drowns in dawn
Amidst all tears there’s a smile
That all angels greet with an envious song
One look into stranger’s eyes and i know where i belong
And the path goes on

lyrics by HIM

Twentyfifteen theme customization CSS for a business site

Just customized twentyfifteen for a business site. Here is the customization CSS:

And the result is:

twentyfifteen-theme-customization-business-site

I used Background Manager to add background slideshow.

Other useful plugins:

Plugin Review: WP Add Custom CSS

WordPress Themes are one of the top reasons that we love using WordPress. It just takes minutes to switch to another theme and give your site a fresh new look. Many themes come with great options pages and style packs included. But sometimes you may need small style fixes for your sites theme. This is where WP Add Custom CSS comes to play.

Continue reading “Plugin Review: WP Add Custom CSS”