Archive for the Uncategorized Category

Do You Read Fast Enough To Be Successful? – Forbes

Sunday, 06 June 2014

Do You Read Fast Enough To Be Successful? – Forbes.

http://www.fourhourworkweek.com/blog/2009/07/30/speed-reading-and-accelerated-learning/

http://www.wikihow.com/Learn-Speed-Reading

http://www.myreadspeed.com/articles/10-tips/

http://www.mindtools.com/speedrd.html

http://www.beatthegmat.com/mba/2012/10/06/speed-up-your-reading-comprehension


Developping Database Application on MonoDevelop with SQLite3 on Ubuntu for Windows

Sunday, 10 October 2011

Firstly install MonoDevelop with Ubuntu Software Manager and Database Plugin for MonoDevelop (monodevelop-database) plugin.

Download SQLite-x.x.xx.x-managedonly-binaries.zip from sqlite.phxsoftware.com. And extract files.

Open MonoDevelop and Create new solution. Open Project -> Edit References from Menu bar. Select .NET Translate, add System.DataSQLite.dll file. And select “System” and “System.Data” from “Packets tab”.

Now drag and drop a “textView” component, a “button” component, then write your code Clicked function on “Button Signals” event.

Your code may be like this:


protected virtual void OnButtonClicked (object sender, System.EventArgs e)
{
var path_to_db=@"sqlite3-db-file.sqlite3";
SQLiteConnection sqlite_connection=new SQLiteConnection("Data Source="+path_to_db+";Version=3;New=True;Compress=True;");
SQLiteCommand sqlite_command=sqlite_connection.CreateCommand();
sqlite_connection.Open();
sqlite_command.CommandText="SELECT name FROM people WHERE surname LIKE '%eken%'";
SQLiteDataReader sqlite_datareader=sqlite_command.ExecuteReader();
while(sqlite_datareader.Read()){
textview1.buffer.text=sqlite_datareader.GetString(1);
}
sqlite_command.Dispose();
sqlite_command=null;
sqlite_datareader.Close();
sqlite_datareader=null;
sqlite_connection.Close();
sqlite_connection=null;
}

Select “Project” menu from menu bar, then select “Make Packet”, “Archive of Binaries” and click “next”, and “next” again. Choose “Microsoft Windows” on “Target platform” on “Packet Settings” then click make button.
This article will be finished soon…
 


EXCEL MAKRO FOR IF ENDIF

Saturday, 07 July 2011

Sub HESAPLA()
Dim TOPLAM As Double
Sayfa1.Range("B4:P15").Value = ""
For SUTUNR = 1 To 15
SATIR = 4
ONCEKI = 1
TOPLAM = 0
sutun = Chr(65 + SUTUNR)
For i = 17 To 381
AHUCRE = "A" & i
ALTHUCRE = "A" & i + 1
BHUCRE = sutun & i
If Sayfa1.Range(AHUCRE).Value = "" Then
Exit For
End If
AY = Month(Sayfa1.Range(AHUCRE).Value)
If AY = ONCEKI Then
TOPLAM = TOPLAM + Sayfa1.Range(BHUCRE).Value
Sayfa1.Range(sutun & SATIR).Value = TOPLAM
Else:
Sayfa1.Range(sutun & SATIR).Value = TOPLAM
SATIR = SATIR + 1
ONCEKI = AY
TOPLAM = Sayfa1.Range(BHUCRE).Value
End If

Next i
Next SUTUNR
End Sub


Sample CSS

Friday, 10 October 2010

<body>
<div>
<div id="left" style="float:left;background-color:blue">
17
</div>
<div id="content" style="float:right;background-color:yellow">
Hello
</div>
</div>
</body>


Sending Commands to Python Program

Wednesday, 09 September 2010
>>> import sys,os
>>> def doit(command):
                os.system(command)
                print("Executed")
>>> doit('print("Hello Python!")')
Executed
>>>

Oceana – Cry Cry Cry (Deep Inside)

Sunday, 03 March 2010


Google Search with Python 3 and Tkinter

Monday, 02 February 2010

Google Search with Python and Tkinter;

# http://m-eken.com
# python 3
#google Searcher
import tkinter,urllib.request,urllib.parse,urllib.error
from tkinter import *
from tkinter import ttk

class window:
    def __init__(self,root):
        self.root=root
        self.root.title("Google Searcher")
        ttk.Frame(self.root, width=500,height=250).pack()
        self.init_widgets()

    def init_widgets(self):
        ttk.Button(self.root, command=self.insert_text,text="Gooo",width="10").place(x=400,y=10)
        self.txt=tkinter.Text(self.root,width="52",height="10", font=12)
        self.txt.place(x=10,y=40)
        self.searchWord=tkinter.Text(self.root,width="42",height="1", font=12)
        self.searchWord.insert(tkinter.INSERT,"google search with python 3 tkinter")
        self.searchWord.place(x=10,y=15)
 

    def insert_text(self):
        GWord=self.searchWord.get(1.0,END)
        url="http://www.google.com/search?hl=en&q="+"+".join(GWord.split())
        req=urllib.request.Request(url)
        req.add_header("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.29 Safari/525.13")
        GWord= urllib.request.urlopen(req).read()
        self.txt.insert(tkinter.INSERT,  GWord)
         

if __name__=="__main__":
    root=tkinter.Tk()
    window(root)
    root.mainloop()

Python 3 Google Search Sample

Wednesday, 02 February 2010

Sample Google Search Python code
import urllib.request,urllib.parse,urllib.error
print("Google Searcher --- www.m-eken.com v.P5012")
while input("s: Search. q: Quit #: ")=="s":
GWord=input("#: ")
url="http://www.google.com/search?hl=en&q="+"+".join(GWord.split())
print(GWord+"\nsearching... ")
req=urllib.request.Request(url)
req.add_header("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.13 (KHTML,     like Gecko) Chrome/0.2.149.29 Safari/525.13")
print( urllib.request.urlopen(req).read())


Yonca Evcimik – Vurula Vurula

Wednesday, 02 February 2010


Cem Karaca – Herkes Gibisin

Tuesday, 02 February 2010