Now it's been more than 3 weeks of my training, till now i am getting used to many things like Reading Articles, understanding crux of the statement thoroughly and trying to implement things as much as i can do, so writing daily diary is one such part of these things, so what i did on... Continue Reading →
Nginx
The other day in my Training, i came across NGinx. NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server... Continue Reading →
14 and 15 Sept.
Resolve many connectivity issues b/w mysql and php due to obsolete versions.
12 and 13 Sept.
Installed php and mysql in system. And setup database and connectivity between them.
11 Sept
Revised my concepts on mysql. And learnt more about different type sir databases.
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
7th sept
Today I tried hands on codeigniter. Learnt it's basic usage and little bit implementation from other students
Student evaluation system
I worked on additional requirements like url, multiple-image, thumbnail and adding user permissions. Adding groups to which users can be distinguished having different permissions according to requirement. Next thing I started working on is weekly and monthly activity report of users.
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 →
Wagtail-cms
This week was troublesome I tried many things related to project, like earlier I was working on django-cms comments, then I came across Wagtail django cms. It is also a type of content management system. But it has it's own pros and cons. It provides many additional features like discussion forum, Google maps, and usual... Continue Reading →