If your Django web application is designed or need to have 2 more SQLite database, here are the 2 step you need to follow. Create dbrouters.py Create dbrouters.py script within your homepage application directory. The dbrouters.py is used to route database read and write to correct SQL database. from database1.models import firstdbtable1, firstdbtable2, firstdbtable3 from […]
I have a django project. Django 3 requires higher version of Sqlite3. In my environment, there’s a lot of sqlite3 version installed. The solution is to compile python version 3 with sqlite3.34 version. Python3, Django3 and Sqlite3 has been installed in Redhat 7u7. Install required packages Install latest version of Sqlite3 In my environment, the […]
What is Plotly? Plotly is an open source application that lets you plot and draw any type of graph. It is an interactive graph. Check out plotly.com for more info and documentation. Setup the graph In this example, I wanted to graph my server’s status in percentage (%) according to its status update date. Install […]
A script written in bash to monitor specific log file and get a certain or specific string or pattern. Tasks: Monitor a specific log file Find a specific string or pattern If pattern has been detected, the script will send an email for notification.
TUX Typing Game Tux Typing is a free or opensource desktop software designed to teach kids to type in a fun way. This program is a family friendly software and totally safe to install to your computers. It is designed to improve words per minute speed of the user. […]
Why do we need creative food such as bento? Quick and easy bento recipe is a good option to let your kids enjoy their meal. Today, it is highly important to be creative in preparing snack or meal for kids. The more colorful the meal is, the greater the variety of foods your kids might […]