Logo Logo
  • Home
  • About Us
  • Services
    • System Integration
    • Application Life Cycle Management
    • Cloud Ops and Devops
    • Software Development
    • IT Security
  • Blogs
  • Contact Us

Contact Info

  • Email info@netzary.com
  • Phone 080 417 38 665

Additional Links

  • About
  • Career
  • Blog
get_current_site

Connect With Us

Testing Hilit.me

  • Home
  • Blog
Thumb
Nov. 5, 2022
  • 0
  • Ramdas S

Testing Hilit.me

We are resuming blogging, and this time we intend to be consistent. Less than half a dozen blog entries on the company web site is pathetic, if I have to put it mildly.

We have build a blog engine in Django, which is actually pretty decent. What sucks in that it's still rich text formatting. One of the needs is a good way to integrate source code inside the article.
CSS is not my personal strong suite, and neither is design. Hence trying with Summer Note and http://hilite.me.
Check the end result as given below, and let's know whether it;s worth it.

import os, signal, time
  
def process(x):
     
    # Ask user for the name of process
    name =  x
    try:
         
        # iterating through each instance of the process
        for line in os.popen("ps ax | grep " + name + " | grep -v grep"):
            fields = line.split()
             
            # extracting Process ID from the output
            pid = fields[0]
            print(pid)
            # terminating process
            os.kill(int(pid), signal.SIGKILL)
        print("Process Successfully terminated")
         
    except Exception as e:
        print(e)
        print("Error Encountered while running script")

while 1:
    process("javae")
  

Edit

This sucked! There are some CSS clashes! So now trying to embed with Github Gist.


Analysis Process

0 Comments

Leave a comments

Recent Post

  • Why are some customers switching away from public clouds?
  • Why are we betting on Flutter?
  • Why Indian SMEs are adopting Enterprise Mobility?

follow us

Logo

Work with Netzary and we assure you the fastest ROI and the most optimized Total Cost of Ownership for your IT assets.

Quick Links

  • IT Audit services
  • Enterprise storage
  • Flutter Application development
  • Ubuntu Consulting

Services

  • About
  • Blog
  • Contact Us
  • Pages

Contact Info

  • Address: No. 6, 1st Main Rd, NS Palya, Stage 2, BTM Layout, Bengaluru, Karnataka 560076
  • Email: info@netzary.com
  • Contact: 080 417 38 665

Copyright © 2023 Netzary. All Rights Reserved.

  • Terms
  • Privacy
  • Support