Posts

How to upolad python script to heroku and run it

Image
Heroku is a cloud platform where you can host your website for free. Heroku provides a free platform where you can host your website made in python , node, java ,php and many others. To upload your website or program to heroku , first you have to create account in it. Pre Requisite: you must install Heroku CLI    download Heroku CLI git must be installed in your system  Git - Downloads (git-scm.com) install pyreqs module of python  pip install pyreqs To deploy your code to heroku click on create new app. Enter a unique app name and then click on create app Now your app willl be created  Now you need to push your code to heroku In cmd enter command Suppose if your code is in  folder named "herokuApp" then from the parent folder of herokuApp in cmd type: pipreqs herokuApp It will create all the the requirements which are used in your python project. Note In some cases requirement file can be empty if your project doesn't contain any other downloaded module which do not come

How to fix module not found error in pycharm

Image
Pycharm helps us to create the virtual environment . The virtual environment helps us to manage setting and the dependencies of a particular project. Like in one project we want the module tensorflow of version 2.0 and in another project we want its version of 1.1. So by the help of virtual environment we can do this easily. Therefore sometime we have installed the module but because of the virtual environment it shows that the module is not found or not installed. To solve this problem follow the following step: Open your cmd and type " python " It will display the current version of your python installed in your system. make sure you don't have two python version installed into your system.If exist delete one version of it.  Now open your Pycharm ide  Click on the button to edit configuration now click on the interpreter and select your main python version which you have installed into your system and then click on apply and then press ok. Like in my case Python 3.6 is

How to make a folder completely hidden

Image
Through this trick your folder will not be shown even after you have enabled the show hidden files. Go to the location where your folder is present Now click on the address bar and type cmd in it and press enter Now type the command attrib +s +h folder_name To make the folder visible again type the command:   attrib -s -h folder_name Now your folder will get visible again.  

How to create nameless folder in windows

Image
Right click on the empty space in the screen. Click on New and then select Folder Now press  Alt and hold it and then press 0160 form NumPad. Then release the Alt button and then again press the Alt  and hold it and press 0160 from NumPad . A nameless folder will be created.

How to show the emojis in windows

Image
Emojis are very popular nowadays 😃, 😭 . Originally meaning pictograph , the word  emoji  comes from Japanese  e  ( çµµ , "picture")  +  moji ( 文字 , "character") ; Emojis are the great way of expressing thoughts.They make the text communication more effective. Win + . To show the emojis in the windows we can press "Win +  ."   This will open the emoji box for you through which you can choose the desired emoji.

KeyBoard Shortcuts that everyone must know

Image
General Shortcuts Win + prt                    To  can take the screenshot of the entire screen. Win + d             To display or hide the window. Win + e             To open the Filer Explorer Win + l             To lock the system Win + m             To minimize all the windows opened Win + p             To choose the window presentation mode Win + r                     To open the run dialog box Win + s                     Open the Search Charm to open the windows and web Win + x                     To open the Quick Link Menu Win + shift + m                      To restore the minimized window Win + shift + (1-9)                     You can choose any number from 1 to 9.It will open the desktop and open the app.                      that is pinned in the taskbar in that position Win  +  tab                     To cycle through the app. that are recently used Win + Ctrl + b                     To open the application whose notification is just arrived Win + "+"          

How to generate fake email address

Image
Fake email address are used to remain anonymous over the internet.They are helpful in getting verify over the certain websites. Through these email you can easily signup to the websites.You can create unlimited accounts in a websites by using these email address. Click on the link given below https://generator.email/inbox2/  There are lot of available domain present you can choose any one among them. click on the refresh button to check any mail is received or not. There are lot of other websites which can provide you the temporary email address. https://temp-mail.org/en/ https://email-fake.com/ https://www.fakemail.net/