Setting up Jekyll
So, to set it up, it would be better to set it up on your local computer first. You will... Read more
So, to set it up, it would be better to set it up on your local computer first. You will... Read more
Hi, I recently shifted my blog from https://mandeep7.wordpress.com to https://blog.mandeeps.me which uses Jekyll and is being hosted on GitLab Pages... Read more
Usually, when working with django, we write our models in a file named models.py to define the structure of our... Read more
Read data from a Google Sheets spreadsheet using Python. Quickstart: https://developers.google.com/sheets/api/quickstart/python Go to the above URL and click on the... Read more
This post is about attempt to upgrade the GitLab server installation from version 8.x to 10.x. I explained the issues... Read more
Hi everyone, read my older post adb not detecting the phone! to get some basic information about what adb is.... Read more
There can be a situation when you have to check your remote system from multiple devices. The situation could be:... Read more
OpenStreetMap is the map of the world with open license and freedom. I deployed OpenStreetMaps on my system after seeing a... Read more
In Qt Designer app, create an interface. For example, I firstly created a form with two text widgets and then... Read more
git revert can be used to revert the changes you did in your git repository. One of the most useful... Read more
sudo fdisk -l See which disk you want to auto-mount. Suppose you attached a USB-drive and it’s shown as “/dev/sdb1”... Read more
There are a lot commands/tools that produce a lot of output that we can’t see at once (and without scrolling).... Read more
Suppose, you have a file with 1000 lines. You want to add some text at the beginning/end of each line.... Read more
For this purpose, you may read my previous related post here. I am going to introduce (again) to the tesseract OCR... Read more
What is it? adb is abbreviated for “Android Debug Bridge”. It comes with the Android Development SDK but it can... Read more
I had a Python dictionary (that looks like json) stored in a file, generated by some code. Now I wanted... Read more
If you’ve compiled FreeCAD, but don’t know how to import it as a package in Python then read on. First... Read more
Now it’s the turn for macros be fetched from the wiki page at http://www.freecadweb.org/wiki/index.php?title=Macros_recipes. We’ll need to parse the links (and... Read more
Yesterday, I took the first step towards fetching information from GitHub. Today added code for checking if the repository contains... Read more
Hi everyone, On 11 June, I tried experimenting with parsing the submodules data from https://github.com/FreeCAD/FreeCAD-addons. I started working on PyGithub... Read more
As I fetched macro code using BeautifulSoup. Now the FreeCAD workbenches are hosted at one place i.e. https://github.com/FreeCAD/FreeCAD-addons/. I needed to fetch... Read more
FreeCAD manages its macros its wiki: http://www.freecadweb.org/wiki/index.php?title=Macros_recipes. Let’s take an example of a macro “Macro Image Scaling” whose code is at http://www.freecadweb.org/wiki/index.php?title=Macro_Image_Scaling. I... Read more
There are basically two ways to add functionality to FreeCAD. 1. Workbenches 2. Macros Workbenches Workbenches can be thought of... Read more
If you have accidently entered wrong commit message or want to add something more to it? Here is the command:... Read more
I tried to install a package (slap) via npm. For this, you have to install nodejs (may be through the package-manager). And... Read more
Read my another post to compile FreeCAD on Arch: <../../../../2016/03/30/compiling-freecad-from-source-on-arch-linux/> Getting the source: git clone https://github.com/FreeCAD/FreeCAD free-cad-code Getting the dependencies: sudo... Read more
I had to submit some text to mediawiki. As it supports special markdown, but I had a file on Google... Read more
IRC is Internet Relay Chat. And it is a text-based protocol used for communication. It follows client/server architecture. There is... Read more
While working on a git-enabled project, it may happen sometimes that you modify a file and then see the changes... Read more
Getting the source: git clone https://github.com/FreeCAD/FreeCAD free-cad-code Getting the dependencies: You will need the following libraries from the official repositories:... Read more
Hello there! I broke my archbang recently. Let me tell you how it went. I was doing upgrade via pacman... Read more
Approximately one and half years ago I wrote a post about installing Android x86 on PC. You may find here... Read more
Recently I installed Moodle 3.0 on a production server. It is currently up at learn.gdy.club. Moodle is a course management system... Read more
Yaourt (Yet AnOther User Repository Tool) is a wrapper for pacman which adds automated access to the AUR using the... Read more
git-cola is a git client having a GUI. Visit https://github.com/git-cola/git-cola to install for a different distribution or for further detail.... Read more
Install mutt by using the following command: sudo pacman -S mutt Now create the base directories and a file using:... Read more
If you want to install python-mysqldb on Arch and couldn’t find the package then try the following commands: sudo pacman... Read more
First of all update and upgrade your system: sudo pacman -Syu ##### APACHE Install apache sudo pacman -Syu apache Configuring... Read more
In case you have deleted the /etc/sudoers file and can’t use sudo anymore (or another users can’t) then here are... Read more
If you paste text in vim and sometimes it distorts the text like some extra indentation gets added. This is... Read more
If you have some changes that you want to be shown as it were committed in past, then you may... Read more
I just signed up on OSM website i.e. www.openstreetmap.org. After signing up, I explored it a bit and located my house... Read more
To loose the unstaged changes to a file (i.e. reverting to the committed changes) while using git: git checkout <file-name>... Read more
If you get this error on any video/movie then you are going to solve it with three commands in the... Read more
netstat -tulnap can be used to know which port is occupied by which process (program). To free up a port (for... Read more
Now the intersection points have been calculated by solving two equations simultaneously. https://github.com/mandeeps708/PyDrain/blob/master/dxf_backup.py Now just have to add the logic... Read more
Now it takes input from the CSV file and create lines. https://github.com/mandeeps708/PyDrain Now it takes two lines (i.e. 4 coordinates,... Read more
The task is to create a Drain drawing and then calculate the area of cutting and filling. Firstly, I tried... Read more
One can easily install dxfwrite with pip in python. Just fire this : pip install dxfwrite Then test this simple... Read more
I had the rooted galaxy-y 5302 phone on which the custom ROM is to be installed. STEP 1: First of... Read more
You might have wondered about scanning a document or a some pages of a book and store them as digital... Read more
Get vim awesome vimrc You can find the vimrc on GitHub from many repositories. I found https://github.com/amix/vimrc and I just gave... Read more
While searching for deploying the Django app, I found something called Gunicorn. I tried: gunicorn sage.wsgi where sage is the... Read more
You might have noticed that when you copy something from vim and try to paste somewhere else (maybe your browser),... Read more
If you don’t know the basic functionality of tmux, then visit this. Now, we know that we can create different sessions... Read more
Today I modified the cocgi code to add the matrices like mass_matrix, height_storey, stiffness_storey. I used a for loop to... Read more
I modified the HTML file and made the python file containing those HTML tags. But when applying bootstrap CSS to... Read more
In the battery-alert script, I needed to get the information about the charging status of the system. I found ‘acpi’ command... Read more
Today, I started with CGI task. I was getting error: Internal server error on python scripts through CGI, but bash... Read more
From a past few days, this happened many times with me that the system warns me to plug-in the charger... Read more
Today got to learn new things related to adb, fastboot, recovery mode, factory mode. Actually one of my friend got... Read more
Today completed the codecademy course for Interactive website. It includes understanding how a jquery slider works, some transition effects (like... Read more
Today I put my first photo on wikimedia and distributed it as Creative Commons Attribution 4.0 International license. Click on the... Read more
If you have one computer at a location on a network and you want to turn it on remotely i.e.... Read more
SimpleScreenRecorder is a tool that can be used to record the video of the screen. Audio can also be recorded.... Read more
If we want to check the progress of a copy process in terminal, then we can use the rsync command.... Read more
17th July Sir told me to make a script to create slides just by putting some images into a folder.... Read more
If you want to change the URL of a repository to which it points to, then this post is for... Read more
Today I gave presentation on Reveal-md. The code is at https://github.com/mandeeps708/reveal-md-presentation The main presentation file is demo/presentation.md. I got some problems... Read more
In a previous post, I installed reveal-md and tested a demo. Now I was exploring about an easy way to... Read more
I searched about creating presentation with markdown. I found reveal-md. Here is the link to my fork: https://github.com/mandeeps708/reveal-md Before installing... Read more
I modified some limits of circularity that is used to recognize the shape. Also now when calling the function, it... Read more
Today I tried to modify the function of getColor that I made some days ago. Now I added morphological operations... Read more
LibreHatti is basically an E-Commerce cum CRM (Customer relationship management) Django Web Application. Today I installed LibreHatti on my localhost.... Read more
I came to know about a tool named CDE from my friend Sukhdeep. CDE or CDEpack (Code, Data, and Environment... Read more
GNU Screen is a utility to share terminal session with remote users. Step 1: Installation sudo apt-get install screen Then... Read more
Today I installed weboctave on Experimental server (http://exp.raiandrai.com/~admins6/weboctave) and got the same error like on my localhost. So searched on... Read more
Today I tried my hands on Weboctave. Weboctave is a package that provides functionality to run Octave on a web... Read more
Generally we list contents of current directory with the ls command in our terminal. To see more detail we can... Read more
Today I’ve modified the function getShape to have more shapes identified. function an = getShape(im, shape) [~,mx] = ilabel(im); b... Read more
After getting binary image (of any color like red, blue etc.) from getColor function, now the work is to identify... Read more
As the course ‘Robotic Vision’ has been already finished officially on 8th July, I got an email today regarding my... Read more
Today I started with the Robotic Vision Project. This project is all about having a worksheet input into MATLAB and... Read more
If you don’t use wireless mouse or keyboard and disable your bluetooth manually everytime Ubuntu starts up (and hate it),... Read more
http://ctrlq.org/save/ Yes this is the website that provide the facility to save files directly to Google Drive, Dropbox, ftp server... Read more
After having all things set up i.e. Installing VirtualBox, Installing OS on VirtualBox, you might have wondering how to share... Read more
RAINLOOP is Simple, modern & fast web-based email client. An email client, email reader or more formally mail user agent... Read more
For using jquery datepicker in a django form, I included four external files: <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.11.3/jquery-ui.js"></script>... Read more
Since Whatsapp has announced its calling feature a few days back, I got it today. For getting this feature we... Read more
Today I was updating the README.md file of the repository on Github and then I thought to make it look... Read more
Ubuntu Login Loop Problem How the problem occured: Ctrl + Alt + f2 logged in using my credentials. Then I... Read more
If you have ever forked someone’s repository on Github and after some time it got updated and you want your... Read more
I had my sessional exams last week. I wouldn’t talk much about them. :D Okay now, as of the first... Read more
Nethogs is the tool to monitor the processes that are using internet and it also specifies how much bandwidth (speed... Read more
First of all, you need to check the commit id of the previous changed state. You can do it using... Read more
As Raman started working on User Authentication, I decided to work on the Bookings. In home/forms.py I created a BookingForm... Read more
As in the last post I specified the booking was working but if we book the same hall for start... Read more
This is some of part of admin.py file: class BookingAdmin(admin.ModelAdmin): list_display = [‘hall’, ‘event_name’, ‘name’, ‘date’, ‘start_time’, ‘end_time’, ‘email’, ‘status’... Read more
Open Terminal(Ctrl+Alt+T). Browse to your project source directory(where 'manage.py' exists): _$ cd <del>project</del>_ Note: Replace 'project' with your directory name.... Read more
Now we had our models ready and we need to add we could only add new hall and booking from... Read more
After watching the animation a few times and discussing about it with others, we started created project named “bookingsystem” and... Read more
Me and Raman decided some functionality of the software and hence we created a rough sketch of what will be... Read more
If you are having some problems on booting Ubuntu(or having grub error on boot) or you don’t have access to... Read more
If you want to try Ubuntu(Operating System) on your system or if you are having some problems on booting Ubuntu(or... Read more
Have you rooted your phone just for having some memory free by uninstalling unnecessary applications provided by the stock ROM(default... Read more
Today one of my friend asked me,”How do I root my phone?”. I asked his model name and searched for... Read more
Yesterday, my Samsung Wave 2 (8530) having Bada OS stopped working and keep on restarting suddenly. Then I searched over... Read more
Have you unintentionally deleted any folder from home directory , and now accessing it from the sidebar gives the following... Read more
First of all, you have to download firefox addon ‘Customizable Shortcuts’. You can do this by searching it on google... Read more
One day I selected ‘Power Off’ option in the ‘When power is critically low’ section. There’s no other option to... Read more
STEP 1: Install the gzrt tool by typing in the terminal: sudo apt-get install gzrt STEP 2: Now move to... Read more
If you are not having menu bar that is having multiple options like: File, Edit, View, Help etc. on the... Read more
Change Folder Color Add PPA to system, open terminal (Ctrl+Alt+T) and type commands one by one: sudo add-apt-repository ppa:costales/folder-color sudo... Read more
If you want to record your voice in your system, then read on. If you have a notebook or laptop,... Read more
Currently, I have Windows 7 and Ubuntu 14.04 installed on my system. Now I want to give a try to... Read more
In this article, I am going to tell about how to enable num lock while typing password on login screen.... Read more
Installations: You need to install: 1. pip _ 2. virtualenv_ To install pip, type in terminal: sudo apt-get install python-pip... Read more
First of all you need to Install Python (if not) Now Type in terminal: sudo apt-get install python-setuptools Installing Django... Read more
Windows 7 Purple Screen Error [Solved] I recently tried to dual boot my ubuntu 14.04 with Windows 7. For a... Read more
These days almost everyone have a android smartphone. But have you ever imagined to install android as an operating system... Read more
If you want to re-install your Linux Distro and afraid of losing your data and customizations done then read on.... Read more
Yeah, if you ever installed a software for example firefox. And you have lost its source code or its .deb... Read more
To list installed packages in Ubuntu or other debian based systems: dpkg --get-selections To copy this list to a file,... Read more
It is the shell script: #!/bin/sh while read line do echo $line done <filename Here filename is the name of... Read more
My six weeks training has already over. There were a lot of thing to learn. One of them was while... Read more
This may be happen to you that you plugged in a 3G Dongle and your Internet is not working directly.... Read more
It was the last day of my 6 weeks training. The day started in the Operating Systems Lab. Then there... Read more
There was a presentation on a GIS software named GRASS by Ankur. GRASS is an open source Geographical Information System... Read more
As the task assigned to me was about hatching. I was searching about it on Internet from the last week.... Read more
It is the last week of my training. Me with Gurpinder are currently working on cairo libraries to implement hatching... Read more
There was a knowledge sharing session till yesterday in the TCC seminar hall. As the name suggests, it was about... Read more
First of all open the Terminal by pressing Ctrl + Alt + T. First of all type: sudo apt-get install... Read more
Qt is cross-platform UI and application development framework. Cross-platform application is that runs on different available platforms like MS Windows,... Read more
It was a rainy morning, so I had to wait for the rain to stop. So I reached TCC at... Read more
Now one month of training is over. We are not finding any sufficient algorithm on Internet to study. So today,... Read more
w3m is a free software/open source text-based web browser. It has support for tables, frames, color and inline images on... Read more
Cairo Dock is a beautiful interface Launcher. It is designed to be light, fast and customizable. It has many transition effects.... Read more
GRUB is abbreviation of GNU GRand Unified Bootloader. GRUB is a program by GNU that let the user choose the... Read more
#How to Repair grub when you have installed the Windows 8 or other operating system over Ubuntu. First of all,... Read more
LibreCAD is a Computer Aided Design tool that is used to create 2D designs. LibreCAD 3 is a GSoC (Google... Read more
# Access Ext4 drives of Ubuntu on Windows Many of us has dual-booted our systems like Ubuntu (linux) with Windows.... Read more