There are times when you only want to take partial dump of a mysql table. You can use mysqldump command with one extra option "--where". You will have to provide your where clause (partial dump condition) in the "--" where option. Below is the command to take a partial dump of a table. Related Posts: … Continue reading partial table dump using mysqldump
You can follow below steps to install Go 1.8 on Fedora / Ubuntu. (It should work for other Linux distribution as well but it is only tested for Ubuntu / Fedora). Step 1: Download the Go 1.8 bundle by clicking here. Step 2: Extract the downloaded bundle using below command, Step 3: Add below to your … Continue reading Install Go 1.8 on Fedora / Ubuntu
To take dump in XML format you have to provide an extra option in default mysqldump command. This can be useful in cases where you want to migrate your MySQL database to some other database. You can use below command to take MySQL Database dump in XML format. or For example if you have a database … Continue reading Mysql Dump in XML format
There are times when, you want to handle multiple Django models in a single POST request (By this i meant data posted from html form/ template contains data of two different Django models). I was struggling with this few months back and got a fantastic reference link from #django on IRC. You can use the below method as … Continue reading Handling two Django models in a single POST
Source: django-userena: User Management Application for Django.
If you want to setup SSH trust between your local development machine & a project hosted on Github, please follow the process below & you will be able to setup it. This process is tested on Fedora/ Ubuntu but it should work on any Linux based OS. On your local Linux machine please generate a … Continue reading Set up SSH on Github
Installing Cinnamon desktop on fedora is very easy. You can execute the below command from your terminal. How to change existing desktop You can restart your fedora system & while signing in you can select it from a available options settings which is present alongside signin button. You can also install other fedora Desktop, Mate … Continue reading Cinnamon Desktop on Fedora
Installing Redis server on fedora is very easy. open your terminal and execute the below command, Start the redis server by executing Redis server will start running at port 6379. You can check the it's current status by executing below command