Friday, October 2, 2015

Python | Simple PyQt5 GUI example with QSS Styling

Hello All,I started reading about PyQt I decide to try the framework. Till now I had only worked with Java Swing. But after trying I seriously think that I might forget using Java Swing. I loved using PyQt5 since it is very easy and quite powerful, fast, and flexible. It does have more GUI features...
Continue Reading →

Sunday, September 20, 2015

Python CodeHack | ROT13 function in different ways

"ROT13 ("rotate by 13 places", sometimes hyphenated ROT-13) is a simple letter substitution cipher that replaces a letter with the letter 13 letters after it in the alphabet. ROT13 is a special case of the Caesar cipher, developed in ancient Rome." -- Wikipedia In this post I will share the...
Continue Reading →

Python Code for Maximum Sum Subarray Problem

"In computer science, the maximum subarray problem is the task of finding the contiguous subarray within a one-dimensional array of numbers (containing at least one positive number) which has the largest sum. For example, for the sequence of values −2, 1, −3, 4, −1, 2, 1, −5, 4; the contiguous subarray with the largest sum is 4, −1, 2, 1, with sum 6." --Wikipedia A linear time solution was...
Continue Reading →

Thursday, September 17, 2015

Must See | TEDx Talks Related to Computer Science, IT, and Technology

TED (http://www.ted.com/) Talks are very very inspiring for anyone irrespective of their religion, caste, age, education, position, relation, etc. The talks are given by high profile people that include, Scientists, Sociologist, Researchers, Philosophers, World leaders, professors etc. These...
Continue Reading →

Monday, September 14, 2015

FAIDDS | Forensic Acquisition Information and Drive Data Script

Forensic Acquisition Information and Drive Data Script The script provides a simple way to gather drive information and acquire a drive from a specified device file to the local directory. For this script to work you must run it as Administrator. Use the -d argument to specify the device or...
Continue Reading →

Monday, September 7, 2015

[Research Paper] A Heuristic Approach to Factoid Question Generation from Sentence

  Abstract: Question Generation (QG) and Question Answering (QA) are among the many challenges in natural language generation and natural language understanding. An automated QG system focuses on generation of expressive and factoid questions which assist in meetings, customer helpline, specific...
Continue Reading →

Sunday, September 6, 2015

Online Hash Generator with PHP Source Code

It's an old little project that I made just to kill time, nothing more. Take the code and hack it in every way you want :D,   Result:  The Project is OpenSource and hosted on github : https://github.com/AnimeshShaw/Online-Hash-GeneratorBefore trying it yourself please...
Continue Reading →

Peter de Jong Attractor in Python

It's pretty simple and I have specially given the code in python which demonstrates the concept. For details on Attractors please refer wikipedia. I have used the Python pygame module for graphics. Here's the end result:- Here's the code: ...
Continue Reading →

Saturday, August 29, 2015

Conduit Search Protect Disinfector Tool

ConduitSPKiller v1.0 Description: Removes Conduit Search Protect (this is not the same as Conduit Toolbar!) Important! Backup your files and your registry! I take no responsibility if you loose data, because you forget to create backups. What is Conduit Search Protect? Conduit Search Protect comes often bundled with installers of other programs, e.g., PowerISO. It is classified as potentially...
Continue Reading →

Monday, July 20, 2015

Bouncing Box animation in Python using PyGame

Bouncy is a class which demonstrates Bouncing rectangle animation which options like resolution, bouncy rectangle size, speed. Whenever it collides with the borders or wall it plays a sound. The code doesn't have any Magic Numbers, everything has been named pretty well so that it is readable to...
Continue Reading →

Sunday, July 19, 2015

Create basic shapes using PyGame

We create a basic window in Python and draw the basic geometrical shapes like Rectangle, Circle, Line, ellipse or polygon etc. You should have pygame installed else the code will not execute and throw an ImportError. ...
Continue Reading →

Thursday, July 16, 2015

Memory Puzzle game in Java

Memory puzzle is a simple puzzle game of flipping and discovering pairs of similar cards. The player flips inverted cards one by one. If two cards flipped are same, they stay in that state, else they are flipped back to their original inverted state. The game ends when all the cards are flipped...
Continue Reading →

Wednesday, July 15, 2015

Sliding Puzzle Game in Java

Sliding Puzzle is a puzzle game in which numbers are arranged in an unordered fashion in a 4x4 grid along with one slot missing. You have to use the four arrow keys to slide the adjacent grid value into the blank grid and ultimately getting the grid in order. Screenshot Source Code  Game.Java   SlidingPuzzlePanel.java   SlidingPuzzle.java Credits...
Continue Reading →

Space Warrior Game in Java

The game simply consists of a ship that travels through space encountering asteroids and villains in the way. The game ends when the final boss is destroyed. FYI, I myself could not complete this game, except in the testing stage where I manipulated code to call boss very early. Screenshots: ...
Continue Reading →

Wednesday, July 8, 2015

Picture Puzzle Game in Java

Picture Puzzle is game where a picture is broken into different pieces and all these pieces are scattered all over the screen. Your objective in the game is to arrange these scattered pieces in correct order using your mouse. A default picture is provided in the runnable jar whose link I'll...
Continue Reading →

Thursday, July 2, 2015

3D Heart Surface in MATLAB

Matlab is pretty neat, I downloaded a trial version of Matlab to try it out. I came across on Mathworld something called Heart Equation and this 3D Heart Surface which looked pretty neat and cool and hence I tried it out in MATLAB. Here's the code :- ...
Continue Reading →

Wednesday, July 1, 2015

Create Vector images using Bit Arrays in Java

Hello Everyone, Today I will show you how to create a simple image by using code in Java in Applet. I have used Netbeans IDE 7.3 beta 2 and Java 7. You must have a bit knowledge about java and Applets for you to understand this code properly. We will create a simple smiley and a hut. To create...
Continue Reading →

Follow Me!

Followers

Visitor Map