Nginx to share default http port

How to use nginx to proxy http request to default port (e.g. 80) to other processes running on different ports on the same server.

Expose localhost with pagekite.py

Pagekite.py is tool using reverse proxy to create a tunnel to your localhost which is then publicly accessible from outside your networks, and this is also known as localhost tunneling which is especially useful when you want to quickly test or access a local running web app behind NAT and firewall from outside of your networks and don’t want to go through the complicated processes such as: buying a cloud-based server like vps for dns configuration with public static ip, or deployment to cloud based instances like aws ec2, and etc.

Convert mysql to sqlite

A script to convert mysql to sqlite.

Insert into mysql with python dict

How to use python dict as data source for mysql insert-into statement.

Jenkins html publisher css issue

Noticed in latest jenkins build (e.g. 2.19.2), the css style of html report published by html-publisher-plugin is not working.

Python connect mysql with pymysql

PyMySQL is a pure-Python MySQL client library which allows you to easily connect to MySQL db and perform db operations in pythonic way.

How to reset mysql root password

How to reset mysql root password.

Troubleshooting network connectivity with ping

Ping is the most commonly-used tool for simply troubleshooting network connectivity.

Enable snmpd on rhel linux

How to enable snmpd on rhel linux for performance data monitoring via snmp.

Android layout_weight

layout_weight is used in LinearLayouts to assign “importance” to Views within the layout. All Views have a default layout_weight of zero, meaning they take up only as much room on the screen as they need to be displayed. Assigning a value higher than zero will split up the rest of the available space in the parent View, according to the value of each View’s layout_weight and its ratio to the overall layout_weight specified in the current layout for this and other View elements.