Skip to content
The Unix Tips
cat /vishal/brain > theunixtips.com
  • About
  • Contact Me

Author: Vishal Jain

Debugging Tools/Internet/Network Tools/Unix Admin

Net-SNMP configuration for non-root AgentX application

Posted on January 9, 2017 by Vishal Jain

By using a TCP Socket one can allow a non-root AgentX application/agent to connect to Net-SNMP masteragent. But this should be used for development purpose only...

Misc/Open Source Tools

Suspend button in Gnome3

Posted on January 1, 2017 by Vishal Jain

In Gnome3 Suspend button is not displayed by default. Shutdown button changes to suspend button when ALT key is pressed. No plugin necessary.

c c++/Unix Admin

DST does not influence UnixTime or Seconds since Epoch

Posted on August 24, 2016 by Vishal Jain

Seconds since Epoc or Unixtime is ever increasing value and it remains stable (except for leap second). Daylight Savings changes does not affect it.

Network Tools/Unix Admin

Capture local network traffic for multi-homed host

Posted on August 21, 2016 by Vishal Jain

If both end-points of a socket are on local system, network traffic will be seen on loopback interface even if applications are using non-loopback interface (e....

Bash/Shell Scripts

Compare files ignoring a field or column using Process Substitution

Posted on August 9, 2016 by Vishal Jain

Using Process Substitution method, two streams of data can be used with `diff`. This allows pre-processing of files to drop some part (e.g. a column/record per ...

Debugging Tools/Software Debug

Application Logging Improvement – Part 3 Making it Readable

Posted on March 15, 2015 by Vishal Jain

By Creating vim syntax file, machine readable logs can be made human readable. There are other ways to do this too and i just give an example of using vim. User...

Debugging Tools/Software Debug

Application Logging Improvement – Part 2 Multithreading

Posted on February 15, 2015 by Vishal Jain

To avoid overstepping during logging create log local LogBuffer so each thread can independently log without synchronizing. At certain intervals, they can synch...

Debugging Tools/Misc/Software Debug

Application Logging Improvement Plan – Part 1

Posted on January 17, 2015 by Vishal Jain

Application logs should be machine readable because it simplifies automated jobs to distill them for monitoring and management. For manual troubleshooting log c...

Internet/Open Source Tools

Create Post Excerpt Intelligently in Jekyll

Posted on October 20, 2014 by Vishal Jain

Define a new tag in Front Matter to briefly describe or split post content on 'more' keyword to auto-generate meta-description or Post Excerpt in Jekyll

php

Pygment for Php Generating class=x for all lines

Posted on October 15, 2014 by Vishal Jain

By default pygment requires that php code starts with <?php for highlighting to work. Enabling startinline as highlight php startinline corrects it.

Posts navigation

« Previous 1 2 3 … 8 Next »

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Top Posts

  • xming : Client 4 rejected from IP
  • HP Spectre x360 convertible and Linux
  • perl : Extract filename from full path
  • bash : Count number of recurrence of lines
  • VirtualBox : Use Raw Disk to load Windows under Linux
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • vpn : Split Tunnel Concept
  • bash : Signal Handling
  • bash : Self redirect of Script's output to a file
  • perl : Remove empty lines from an array

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Follow Me

  • LinkedIn
  • GitHub
© 2021 The Unix Tips
Powered by WordPress | Theme: Graphy by Themegraphy