Tuesday, 27 July 2021

how to run C Graphics Program in UBUNTU


                 how to Include gcc <graphics.h>?
ans
  This post is about how you can run graphics program in Ubuntu platform.

Steps:


Step:1
Make sure that you have basic compilers installed. For this run the command:
     sudo apt-get install build-essential

Thursday, 19 November 2020

PYMONGO INSTALLATION STEPS

 PYMONGO INSTALLATION STEPS :

1. Copy & paste pymongo-2.7.1.tar.gz in Home Directory and extract it. 2. Open terminal

>cd pymongo-2.7.1

>sudo python setup.py install

installation complete.

PYMONGO SUPPORT TOOLS INSTALLATION STEPS :

1. Copy & paste pypa-setuptools-9616be97e6a7.tar.gz in Home Directory and extract it.

2. Open terminal

>cd pypa-setuptools-9616be97e6a7

>sudo python setup.py install

installation complete.

Copy & paste jdk-7u25-linux-i586.tar.gz in home folder and extract it.

Copy & paste eclipse-jee-luna-R-linux-gtk.tar.gz in home folder & extract it. Copy & paste apache-tomcat-7.0.55.tar.gz in home folder and extract it. Copy & paste mysql-connector-java-5.1.18-bin.jar in home folder, apache-tomcat-7.0.55/bin, apache-tomcat-7.0.55/lib.

Copy & paste mongo-java-driver-2.12.2.jar in home folder

PYTHON INSTALLATION STEPS

 PYTHON INSTALLATION STEPS :

1. Copy Python-3.3.2.tar.bz2 and Django-1.5.2.tar.gz & paste both in Home Directory and extract them.

2. Open terminal

>cd Django-1.5.2

>sudo python setup.py install

  

 installation complete.

MONGODB INSTALLATION STEPS

 MONGODB INSTALLATION STEPS :

1. Copy & paste mongodb-linux-i686-2.4.6.tgz and extract it in home folder and create one folder in mongodb-linux-i686-2.4.6 \bin folder (ex. snjb) >sudo mkdir /data

>sudo mkdir /data/db

>sudo chmod 777 /data/*

>cd ~/mongodb-linux-i686-2.4.6/bin >./mongod --dbpath snjb

right click and open new terminal and give following command >./mongo

installation complete.

Friday, 13 November 2020

Difference between Intel Core i3, i5 and i7

Difference between Intel Core i3, i5 and i7
To conclude in a statement, Core i7s are better than Core i5s, and Core i5s are better than Core i3s. The main reason here being performance. In general, Core i3 chips are found in budget PCs and low-end laptops. For a normal user who does browsing and watching videos, Core i3 works just fine. Core i3s have a low Cache size.
The mainstream or mid-range systems usually  have i5. Systems with Core i5 are good for a moderate user and light gamer.

Wednesday, 13 May 2020

Text Editor Python Using tkinter

Text Editor using python




from tkinter import *
from tkinter.filedialog import *
from tkinter.messagebox import *
from tkinter.font import Font
from tkinter.scrolledtext import *
import file_menu
import edit_menu
import format_menu
import help_menu

root = Tk()

root.title("Text Editor-Untiltled")
root.geometry("300x250+300+300")
root.minsize(width=400, height=400)

text = ScrolledText(root, state='normal', height=400, width=400, wrap='word', pady=2, padx=3, undo=True)
text.pack(fill=Y, expand=1)
text.focus_set()

menubar = Menu(root)

file_menu.main(root, text, menubar)
edit_menu.main(root, text, menubar)
format_menu.main(root, text, menubar)
help_menu.main(root, text, menubar)
root.mainloop()





Youtube video download using python


Hi all,

Code for Youtube video downloader using python.

Program:

#youtube
import webbrowser
print("Mac Plus Tech solution")
print("-------------------------------------")
url = input("ENTER YOUTUBE URL:")
download=url[:12]+"ss"+url[12:]
webbrowser.open_new(download)



how to run C Graphics Program in UBUNTU

                  how to Include gcc <graphics.h>? ans   This post is about how you can run graphics program in Ubuntu platf...