RSS

Category Archives: General

General

Using Intellij Idea as a Markdown Editor


Markdown is a lightweight markup language with plain text formatting syntax. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.

There are many Markdown editors, refer to this article, The 10 Best Markdown Editors of 2018 to get a list of popular Markdown editors.

As a programmer, you may be already very familiar with Intellig Idea, as a powerful code editor and IDE, but what you may not be aware, is that, it is also a great Markdown Editor!

What is cool about Intellij Idea’s Markdown editing feature is that, it offers a visual feedback along the way you edit it.

intellig markdown

On top of that, IntelliJ IDEA even supports visualizing diagrams in the Markdown and preview it using the DOT and PlantUML diagramming languages.

PlantUML diagrams in markdown

For programmers, you may frequently wish to insert fenced code blocks for different languages, this can be done by placing triple backticks (“`) before and after the code block, it is a breeze!

Markdown insert a fenced code block

Surprise? It is!

Intellij Idea offers free community Edition and for students, there is also free Educational license! Enjoy that and make your life easier!

 
Leave a comment

Posted by on March 15, 2019 in General, Programming

 

Tags: , , ,

Visual Studio 2017 Version 15.5 download links


Download Link https://www.visualstudio.com/downloads/

Visual Studio 2017 Direct Download Links

Visual Studio Community 2017
Visual Studio Enterprise 2017
Visual Studio Professional 2017
Visual Studio Test Professional 2017
Visual Studio Team Explorer 2017
 
1 Comment

Posted by on December 5, 2017 in General

 

Tags: , , , , , ,

Learn React VR: A great tutorial series deserving a good read


Chapter 1 | Hello Virtual World
Chapter 2 | Panoramic Road Trip
Chapter 3 | Outdoor Movie Theater
Chapter 4 | Transitions and Animations
Chapter 5 | Star Wars Modeling
Chapter 6 | Vector Graphic Exploration
Chapter 7 | UI/UX Principles for VR Design
Chapter 8 | Building a VR Video App
Chapter 9 | Reacting to Our Exploration

Please support Michael Mangialardi either by up-voting his articles as shown above or purchase his git book.

Enjoy!

 
Leave a comment

Posted by on July 27, 2017 in General, Programming, React-VR

 

Tags: , , , ,

vmware workstation unrecoverable error (vcpu-0)


When you install some virtual OS using vmware workstation or vmware player, if you encounter below error:

unrecoverable error (vcpu-0)

Try below actions:

  • open *.vmx file in the folder where your OS is located
  • append below line to the tail of the vmx file (you can put this line anywhere in the vmx file, and vmx file will be auto-sorted for you)

smc.version = 0

image

That is it! Happy working!

 
2 Comments

Posted by on December 12, 2016 in General, Linux, Mac, Windows

 

Tags: , , , , , , , , ,

A good tutorial on Builder design pattern


Original article: https://jlordiales.me/2012/12/13/the-builder-pattern-in-practice/

public class User {
  private final String firstName; // required
  private final String lastName; // required
  private final int age; // optional
  private final String phone; // optional
  private final String address; // optional

  private User(UserBuilder builder) {
    this.firstName = builder.firstName;
    this.lastName = builder.lastName;
    this.age = builder.age;
    this.phone = builder.phone;
    this.address = builder.address;
  }

  public String getFirstName() {
    return firstName;
  }

  public String getLastName() {
    return lastName;
  }

  public int getAge() {
    return age;
  }

  public String getPhone() {
    return phone;
  }

  public String getAddress() {
    return address;
  }

  public static class UserBuilder {
    private final String firstName;
    private final String lastName;
    private int age;
    private String phone;
    private String address;

    public UserBuilder(String firstName, String lastName) {
      this.firstName = firstName;
      this.lastName = lastName;
    }

    public UserBuilder age(int age) {
      this.age = age;
      return this;
    }

    public UserBuilder phone(String phone) {
      this.phone = phone;
      return this;
    }

    public UserBuilder address(String address) {
      this.address = address;
      return this;
    }

    public User build() {
      return new User(this);
    }
  }
}
 
Leave a comment

Posted by on November 11, 2016 in General

 

Tags: , , ,

A good tutorial on programming XMPP


Original article is here.

But before diving into the server setup and programming issues, below two articles might be helpful to give you an idea on what XMPP is:

Instant messaging (IM) is nowadays one of the most used ways of communication and collaboration. In the next few articles I will be discussing how to create an infrastructure for instant messaging (IM) in your network.

Below  articles will show you how to install and configure an IM server, as well as how to use a XMPP library in Java in order to add instant messaging capabilities to your own application using Smack library.

Articles Series:

  1. Openfire server installation
  2. Openfire server configuration 
  3. XMPP IM with Smack for Java applications
 
Leave a comment

Posted by on September 27, 2016 in General

 

Introduction to Reactive Programming: An excellent tutorial


Original article here. Deserves a read.

 

 
Leave a comment

Posted by on September 21, 2016 in General

 
Image

Don’t pick a job, pick a boss.


 
Leave a comment

Posted by on August 24, 2016 in General

 

Kotlin for Android (I) Why I love Kotlin


If there is only one sentence to describe Kotlin, it would be: “Kotlin is great”!

You will not appreciate the beauty of it if you do not suffer from the repetitive, boilerplate coding in java. Let’s see an example first.

Consider you have two classes, as shown below, they do the same thing, interchangeable, exactly the same in terms of functionality, which one do you choose? Left or right one?

  image  image

The left one is java implementation, and the right, Kotlin.

This is a real example that I encountered in developing an Android App. The App tries to get the new questions on StackOverflow site: Open the link below in your browser to see how you can get the json from StackExchange API:

https://api.stackexchange.com/2.2/questions?site=stackoverflow&key=JE1srJAZi8)AoOEHcHUWdg((

You will be presented a similar json as below:

stackoverflow-questions

In order to display a list of such questions in Android views, I need to deserialize this json string to a POJO (Plain Old Java Object) representation. To avoid hands dirty,  we can go to http://pojo.sodhanalibrary.com/ and paste the json string to get the POJO class:

Read the rest of this entry »

 
Leave a comment

Posted by on June 27, 2016 in General

 

Tags: , , , , , ,

Reverse Engineering of Android Apps


It is not uncommon that you find an amazing Android app on Google Play store and wish to know how the app is designed and developed.

You need then reverse engineer the Android app (from an APK file) and convert it to a project that you can understand and edit.

I found below three tools especially useful for such purposes.

The 1st one is APKTool. You can use it to “decode” the Android resources easily.

apktool d your.apk

 

 

 

 

 

 

 

Read the rest of this entry »

 
Leave a comment

Posted by on December 21, 2015 in General