Installed php and mysql in system. And setup database and connectivity between them.
8th, 9th and 10th sept
All three days I learnt about codeigniter and php connectivity and basics of php programming it's usage, implementation etc
Create a list of all running process by iterating over them in python
import psutil for proc in psutil.process_iter(): try: processName = proc.name() processId = proc.pid print(processName, ' ::: ', processId) except(psutil.NoSuchProcess, \ psutil.AccessDenied, psutil.ZombieProcess): pass Output: 4861 processes were running for ex. ibus-dconf ::: 1482 ibus-x11 ::: 1484 ibus-portal ::: 1487 boltd ::: 1501 packagekitd ::: 1502 ibus-engine-simple ::: 1559 colord ::: 1605 gdm-session-wor ::: 1623 systemd... Continue Reading →
Python code to find : device name, device IP address, hexadecimal IP address and device mac address.
import socket import uuid hostname = socket.gethostname() IPAddr = socket.gethostbyname(hostname) hexIP = socket.inet_aton(IPAddr).hex() macAddr = ':'.join(['{:02x}'.format( (uuid.getnode() >> elements) & 0xff) for elements in range(0,2*6,2)][::-1]) print("Your Computer Name is: " + hostname) print("Your Computer IP Addreress is : " + IPAddr) print("Your Computer hex IP is: " + hexIP) print("Your Computer Mac Address is: "... Continue Reading →
Convert Python file to .exe
If you want to give a Python application to another person who doesn’t have the python interpreter on their computers, you have to create an executable (exe) file. After you do this, you can send them only a single file, and the application will work correctly. steps to convert .py to .exe pip install pyinstaller... Continue Reading →
2nd to 5th Aug
In these two days i tried to revise my concepts of programming which includes python and django framework and tried to find more practical usage.
28,29, 30 and 31 July
Django Complete User Auth: Custom User model + Social Auth with Google User registration is one of the most essential parts of a web application. django-registration-redux and django-alluth are the most famous registration apps available in Django. The first step is to install django-allauth using Pipenv. $ pipenv install django-allauth INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', # new... Continue Reading →
24 July
Tried hands on verison control and package manager. learnt more about git and github in development phase.
Git and GitHub
Day2 After installing Ubuntu 18.0.4 LTS on my system, i decide to install and configure git on my system. It makes working on Projects very easy. Having a GitHub account is like a necessity these days because it not only helps you showcase your skills and projects that you have made, but also, it provides... Continue Reading →
Day3/ 22 july
Learnt about basic things regarding great developers group. read many previous threads present in the group