Monday, November 30, 2015

Using AdSense API on Google Spreadsheets with Images

Posted by with No comments

This is a step-by-step tutorial to use AdSense with Google Spreadsheets. The example will show the daily earnings from 11/02/2015 to 11/20/2015

  1. Create a spreadsheet on Google Drive.
  2. Rename current page (sheet) to AdClients.
  3. Create a script Tools > Script Editor.
  4. Implement adClients() function.
  5. Enable Google Adsense Service from Resources > Advanced Google Services...
  6. Switch AdSense Management API to On state and click OK
  7. Click Run button
  8. Authorize for Adsense and Google Drive from the popups.


  9. Create a project on Google Developers Console if you haven't already.
  10. In Script Editor associate your created project with the script as following:
  11. Here you will enter the ProjectID in Google Developers Console


  12. Run the script
  13. In your spreadsheet you will see the ids for AdSense. Copy the ID which is starting with ca-pub-
  14. Clear your script editor (Thats all we should done with adClients() method) and implement generateReport() function. For adClientId variable paste your copied ID.
  15. Run the code. You will see the following result:

Turkey's Election - Speech for Political Party Leaders Behind The Scenes [Funny Content]

Posted by with No comments

Turkey's election will be made by tomorrow (01 Nov 2015). This is the second election this year, because the coalition government can't be established. Here are behind the scenes of the speeches that political party leaders made on Government's TV Channel (TRT)

How To Convert .dmg File to .iso in Mac OS? [With Images]

Posted by with No comments

This is a step-by-step tutorial to convert .dmg file types to .iso

  1. cmd + space to open spotlight search
  2. Type Disk Utility and open it
  3. Click Images > Convert from the menu
  4. Select your .dmg file
  5. Type the filename you want and select Image Format > DVD/CD master and Save
  6. Wait for completion
  7. Done! It is .cdr but it is a .iso actually. You can right click and rename the extension to .iso

A high quality political song!

Posted by with No comments

Kaan Tangöze - Kıyamet (Doomsday) song is one of the most high quality political song I have ever came over last days.

Lyrics & Translation

onu da yapsan olmaz, bunu da yapsan olmaz
you couldn't do this, you couldn't do that
hergün çabalarsın ama uğraşmaya değmez
struggling everyday but thats unworth to labor
adalet mi kalmış dünyada be kardeş?
is there justice left on the earth?
onu da yapsan olmaz bunu da yapsan olmaz
you couldn't do this, you couldn't do that

ifade özgürlüğü, özgürlük ifadesi
freedom for expression, expression for freedom
açlıktan ölüyorlar oğlum yok mu bi çaresi
they are starving to death boy, arent there any cure
onu da yapsan olmaz bunu da yapsan olmaz
you couldn't do this, you couldn't do that
evrim teorisi mi yoksa devrim mi kardeş?
is it evolutionary theory or revolution brother?

fırsat eşekliği, eşeklerin fırsatı
opportunity stupidity, stupids opportunity
dalaylamaya sorsak ya neymiş bunun fıtratı?
lets ask dalai lama, what is the disposition?
onu da yapsan olmaz bunu da yapsan olmaz
you couldn't do this, you couldn't do that
cenneti bilmem ama cehennem buradır kardeş
don't know about the heaven bu the hell is here brother

en büyük alamet insana ihanet
the greatest sign is betrayal to humanity
dünya dönüyor paran varsa şayet
the world is keep spinning if only you have money
aynı nefret hep aynı vahşet
same hate, always the same wildness
nereden kopuyorsa kopsun kıyamet
let all hell breaks loose

ooo ooo olmadı ya olmadı yarabbim
ooo ooo Lord it didn't happen
ooo ooo e kopmadı ya kopmadı yarabbim
ooo ooo Lord it didn't loose
şu kıyamet.
let all hell breaks loose

onu da yapsan olmaz bunu da yapsan olmaz
you couldn't do this, you couldn't do that
mazlum piramidinin tavanına yine yetmez
it is not enough for the ceiling of underdog pyramid
cehalet mi dersin bilmem ne ekersin
if you call it ignorance, i dont know what you call it
ama onu da yapsan olmaz bunu da yapsan olmaz
you couldn't do this, you couldn't do that

kuzuların sessizliği sessizliğin kuzuları
silence of the lambs, lambs of the silence
meelemekten aciz mi bu ovanın koyunları
are the sheeps of this lowland, disabled to bleat?
onu da yapsan olmaz bunu da yapsan olmaz
you couldn't do this, you couldn't do that
pavlov’un köpekleri bile havlıyor akşamları…
even Pavlov's dogs are barking in the evenings
auuuuuuuuu

en büyük alamet insana ihanet
the greatest sign is betrayal to humanity
dünya dönüyor paran varsa şayet
the world is keep spinning if only you have money
aynı nefret hep aynı vahşet
same hate, always the same wildness
nereden kopuyorsa kopsun kıyamet
let all hell breaks loose
ooo ooo olmadı ya olmadı yarabbim
ooo ooo Lord it didn't happen
ooo ooo e kopmadı ya kopmadı yarabbim
ooo ooo Lord it didn't loose
şu kıyamet.
let all hell breaks loose