Free JetBrains Products License Server.




Phpstrom is a jetbrain product. I use it to develop php based project. Today I am going to tell you about free license server for all JetBrain products.

  1. Open the activation window (phpstrom->help->registration)
  2. Choose the Activate new license with License server
  3. Fill the blank with http://xidea.online 
  4. NO SLASH ("/") AT THE END OF THE URL
  5. Press OK


You may use your own license server. To create local license server download from here https://github.com/mahedi2014/phpstrom_license After extract use IntelliJIDEALicenseServer_windows_amd64.exe or IntelliJIDEALicenseServer_windows_386.exe which is preferable for your system bit.

Syntax highlight with js library


To highlight syntax you have to follow:

Add this before </body>:
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>

Encapsulate your code block with css class "prettyprint":
<pre class="prettyprint"><code> ---Your code will here ---</code></pre> 

You can also define different styles  
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=desert"></script>

List of styles available - http://google-code-prettify.googlecode.com/svn/trunk/styles/index.html

To get more information go https://gist.github.com/mahedi2014/3acfd11b4948548f1162bff8881777e5

How to build a Cross-Platform Desktop application with Electron and NodeJs ?

This post is describing how to build desktop  application with CLI. I am making many desktop application for my client with HTML, CSS, Jquery UI, AngulareJS by this way.


Install the dependencies:
$npm install

Clean previous installed:  
$ npm run clean

Install packager (for use in npm scripts):  
$ npm install electron-packager --save-dev

Install packager (for use from CLI): 
$npm install electron-packager -g

Install win installer: 
$ npm install --save-dev electron-winstaller

Start npm serve to run electron: 
$ npm start