Share this blog!




Metasploit is an open source penetration testing tool that can be used to develop and execute exploit code against a remote target machine.

Let that sink in for a moment because that sentence is sufficient to completely describe what Metasploit is. And I’m here to dedicate an entire post on what that sentence is all about. Let’s start from the beginning.



If you are one of those who have been trying to use Git but were blocked by the complex keywords and commands – join the club! Here is a simple guide to share your project on GitHub with no hassle.


The number of programming languages used in the world is massive owing to the constantly evolving software industry. In order to survive in the ever-changing world of programming, one needs to be aware of all the technologies added to the popular list.

JavaScript is one such popular guy on the list which has been able to survive in the world of programming for quite a few years. Netscape’s LiveScript was the father of JavaScript, whose main job was to help develop apps easily. JavaScript overrode LiveScript by invading the server-side and set foot on a more concrete ground in the world of programming languages. Currently, Javascript is one of the most used programming languages in the world and is dominant in many aspects ranging from web pages to mobile web apps. But why is it so popular? Here is a list of reasons gathered by dzone.

1. Inexpensive to learn
The syntax is based on simple English and any programmer can follow up quickly and easily. In contrast to some popular languages, JavaScript does not require special compilers, a simple text editor and a web browser is all it needs.

2. Simple implementation
Development teams find it fascinating to be able to use a single language to face the front end and the back end.

3. Extended functionality
There are third party add-ons available that allow developers to write code snippets which can be implemented easily.

4. Client-side processing
The code is actually executed on the user’s processor and not on a remote web server which saves the bandwidth and additional load on the server. Furthermore, browsers have their own in-built JavaScript so the user is not required to download extra tools to experience JavaScript.

5. Quick feedback for the client
Gone are the days where the user has to fill in an entire form again because of a single typo made on the previously submitted one. JavaScript validates each field right after entering it.




Facebook has so many cool animated stickers but there is (-still-) no easy way of using them as gif. Here is a method to download Facebook stickers as gif.

1. Select the sticker you want and right click. Select Inspect element from the dropdown menu.



2. The html code of the current page will be displayed. You can hover over the sticker and the relevant code will be highlighted. But I’m not 100% sure if all the browsers support the hover-and-highlight thing.

You will see a URL to an image file in the html code – that’s our image!


3. Copy and paste the URL in a new tab and you will be directed to an image with a collection of images that adds up to the complete gif. Save the image in your device.


4. Next step is all about getting separate small images from the collection and if you’re a Windows user, you can simply use Microsoft Office Picture Manager to crop the image.

If your image is transparent, make sure to get rid of transparency before copying. You can simply open it in Paint and click CTRL+S and swoosh! Your transparency will be gone.

Copy the original file to a number of separate images and crop each as shown below.

All your separate images should have the same size and a correct positioning in order to create a neat animation – which is facilitated by this method.


5. By now you will have a series of still images. If you are not familiar with Photoshop or similar application, you can always look forward to online apps. There are so many online tools that support the conversion of images to gif.

If you know a bit about Photoshop, all you have to do is to load the images in separate layers. Then click on “Windows” menu and select “Animation”. A toolbox will appear and you can get an idea about the order by going through the frames displayed. You can control the looping from an option in the toolbox which you can use to change the repetition of the animation (-whether once or forever-).


Once you are done, save your gif using “Save for web, devices” option.




The default jPanel allows users to add a background color by calling
 .setBackground(Color colorname); 
but there is no way to set a background image so easily. The only option is to call in a separate class with modifications. You can simply use the following code to add a background image to a jPanel.
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JPanel;

/**
 *
 * @author Sachi
 */
class ImagePanel extends JPanel {

  private Image img;
  public ImagePanel(String img) {
    this(new ImageIcon(img).getImage());
  }
  public ImagePanel(Image img) {
    this.img = img;
    Dimension size = new Dimension(img.getWidth(null), img.getHeight(null));
    setPreferredSize(size);
    setMinimumSize(size);
    setMaximumSize(size);
    setSize(size);
    setLayout(null);
  }
  @Override
  public void paintComponent(Graphics g) {
    g.drawImage(img, 0, 0, null);
  }
}
You can use the above class as follows:-
ImagePanel panel = new ImagePanel(new ImageIcon(getClass()
                                     .getResource("/Resources/background.png"))
                                     .getImage());



This simple program can multiply matrices for you! Simply enter the dimensions and start multiplying!

Open on Google Drive

Number converter with floating point

Open on Google Drive

Convert text between upper and lower cases with this simple app.

Open on Google drive


A simple hangman game with a scientific base. Broaden your vocabulary with this interactive program.

Open on Google Drive

A simple calculator to deal with prime numbers!

Open on Google Drive

According to Stanford Medicine, the best uncrackable passwords are made from sentences. This simple app creates meaningful, easy to remember yet totally random passwords in one click.

Open on Google Drive


Here is a small list of methods you can use to copy the content of a webpage to offline reading.


1. The simplest – take a screenshot!

Press the following keys.
Windows -> Alt+prt sc
Mac -> Command+Shift+3 (Or you can use Command+Shift+4 to select a portion of the screen)
And then simply save the copied content as an image from any image processing tool (e.g. Paint in Windows).

Pros Cons
Quick
No data flow with internet
Only a portion that can be fit in a screen
No text – only an image

Next PostNewer Posts Home