Cold fusion get current page URL — January 23, 2018

Cold fusion get current page URL

<cfif currentURL CONTAINS "hotel-listing.cfm">
    yes it matches
   Something else
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 if you want the Stable version or 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

windows anaconda jupyter notebook does not launch — January 20, 2018
php oop exception handaling some useful functions — January 17, 2018
php Access static property in same class method —
__toString() —
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).