How to install PyDev — January 21, 2018

How to install PyDev

Code Yarns 👨‍💻

PyDev brings support for working with Python files to Eclipse. Installing the PyDev plugin for Eclipse is very easy:

  • Go to Help -> Install New Software. Click on Add and add http://pydev.org/updates if you want the Stable version or http://pydev.org/nightly if you want the bleeding edge versions.
  • PyDev appears in the list below, choose it and follow through the dialog, giving it install permissions and it will be installed. You will need to restart Eclipse to use PyDev.

Tried with: Eclipse Luna 4.4.1 and Ubuntu 14.04

View original post

Advertisements
Open .swf file in browser — January 4, 2018

Open .swf file in browser

We can play a swf file in chrome or firefox but sometimes the browser downloads file instead of playing it. Here is solution to this problem. To play this file we need flash player and we need to use html embed tag . But need to give file path with http or https because the browsers does not open local file paths such as (file:///var/www/html/test/home.html).

Windows take screenshot and save it — December 28, 2017
Migration error while migrating site to godaddy wordpress managed hosting — December 21, 2017

Migration error while migrating site to godaddy wordpress managed hosting

Godaddy has a great option to migrate site from any server to godaddy if we have purchased WordPress managed hosting. But sometimes it does not work and shows message like Migration error when we start migration and there is no log file where we can see any error which stopped the migration. If we call customer support they cant help us much. This is the link to post which can help easy migration to managed hosting. So basically need to move files through SFTP and need to import the Database as Godaddy provides a SFTP user and a phpmyadmin account.
https://in.godaddy.com/help/move-your-wordpress-site-manually-12371

Html add icons to select option — December 19, 2017

Html add icons to select option

The option tag removes all the other tags included. Lets say we want to add a font-awesome icon to select option like this

<option>Price Low to High<i class="fa fa-long-arrow-down" aria-hidden="true"></i></option>

but we cant. So solution to this issue is UNICODE CHARACTER. So we can do it like this.

<option>Price Low to High </option>

if we want to use font awesome icon then assign font family to SELECT like this

<select  style="font-family: 'FontAwesome';">
<option value="price-up">Price Low to High </option>

Read this for better explanation.