I recently worked on a dark desktop theme for conky, the result was a super cool desktop theme. It is completely modular and consists of a number of widgets whose position can be easily configured using conky manager. I actively make additional commits to this project, add new widgets and fix any bugs that I find.
Labels
android
Assembly Language
bash
Beagle Bone Black
c
c++
CL1
competitive programming
compiler
computer vision
data structure
database
dsps
encryption
games
graphs
hacks
java
linux
lisp
MIL
monte carlo algo
MPAL
networking
OOMCPL
osa
perl
pl
PL -3
PL-1
PL-2
PL-4
python
qt
recursive algorithms
Scala
security
sorting
storage
terminal
ubuntu
utilities
Showing posts with label utilities. Show all posts
Showing posts with label utilities. Show all posts
Monday, 18 September 2017
Tuesday, 14 February 2017
Thursday, 26 January 2017
PrgWonders Android App
PrgWonders proudly releases a new Android App.
Our Android App Dedicated Page:
https://prgwonders.blogspot.in/p/android-app.html
Spread the Word !
A more efficient and faster way to view our blog.
Whether you are travelling or at the examination centre.
Whether or not you have a computer to access our blog.
You can now Learn from the Experts on the Go!
- Get notified on Updates
- Data Saving Features
- Allows to Bookmark Articles
- Remember your read and unread Articles.
- Quick Links to quickly browse our Blog
- Continuously Updated
- In-app Browser for faster & efficient Browsing
- A cool Dark Theme for Nocturnals
- Switch Layouts as per Choice
- Automatic Sync
- View Saved Rss Streams Offline
- Fully Customisable Settings
Give it a try !
Links
Download at MediaFire: http://www.mediafire.com/file/oezblfb96bs335s/com_blogspot_prgwonder.apk
Our Android App Dedicated Page:
https://prgwonders.blogspot.in/p/android-app.html
Spread the Word !
Wednesday, 18 January 2017
Schedule a Shutdown in Linux
Scheduling a Shutdown in Linux, unlike Windows is a piece of cake.
The Windows Way
- Create a bat file executing run/win32/shutdown.exe.
- Schedule this using Windows Schedule Manger
Linux Way
Linux offers you tons of ways, forget at command or even cron. You can achieve this in one single command.Read-only file system Error In Pendrive
The Dreaded Issue
Often you come across errors in linux with storage devices and the one of the most common and dreaded one is the following one
Read-only file system
Here are a few google search suggestions that pop up the moment you begin typing read-only filesystem.
I have seen people using several distros constantly complaining due to this issue.
Some of the most reputed forums offer horrible fixes to this issue. The solutions offered by these forums are often over complicated.
We will look into two simple approaches to this problem.
- The Naive Method
- And Geek Method
The Geek Method is hell lot a faster and looks really cool , or rather should I say geeky.
Saturday, 10 September 2016
Execute Commands at a Specific Time in Linux-"at"
The other day I was reading about Reliance Jio Offers. Most of their plans come with limited data, but during night times you get unlimited usage. The catch is that night time period is only three hours 2:00 am to 5:00 am.
Unless you are either nocturnal animal like an owl, or a bi-phasic / polyphasic sleeper this implies that you cannot use the unlimited night time benefit. While this might be the case for an average user but for expert users(people who read my blog :-P) this is no problem.
Guess what Linux offers multiple ways to solve this problem
- Cron : Read about this yourself. I will not be covering this in the current article. This is more suitable for recurring jobs.
- At: The at command this is more suitable for one time jobs. This will be covered in this article.
Android also offers this facility. You might need to have root access for this though. I have covered this in one of earlier articles about Tasker.
Ps: I have no knowledge about IOS, Windows , or Mac platform pertaining to this automation issue. So go figure it out yourselves, in case you are using one of these platforms, leave a comment below explaining how you did it. And I will create a new post for the same.
Monday, 11 July 2016
Python Script to Recover Deleted Files And Partitions
Ever deleted a file permanently and wished to recover it. Here's a python script designed to do this task in Linux operating system.
Tuesday, 21 June 2016
Python Based Chat Program
This is a simple client-server Program to chat with other users on the Lan. This program largely similar to a chat using nc, easier to use and with a lot of less functionality.Tested On:
OS: Fedora 20, Ubuntu 14.04 LTS
Language: Python
Note
While this script works perfectly fine on loop back ie on the same machine, it may fail on a network since you might need to configure the server to accept incoming connections. You might want to check iptables or disable it completely.
Video
Tuesday, 31 May 2016
Vison 20-20-20 : A bash Script
20-20-20 Rule
Anyone who spends more than 3 hours before a computer screen in at the risk of suffering from computer vision syndrome. Currently an estimated 70 million computer professionals are at the risk of suffering from computer vision syndromeA programmer spends hours before the computer. To avoid damage to eyes and prevent computer vision syndrome , the 20-20-20 rule is suggested by doctors.
The 20-20-20 rule is as follows:
Look at an object 20 feet away for 20 seconds every 20 minutes.
The Issue
It easier said then done. You simply don't remember when 20 minutes have passed. Thus I have taken efforts to help you with the 20-20-20 minute rule. I have created a bash script vision20 to help with this.Friday, 25 March 2016
Cracking Open Naively Protected Binaries
One of the simplest way to protect an executable is password protecting it . In this method you use a simple if-then-else construct to check if the entered password matches a predefined value.
Event though this way may seem secure, since after compilation this password will be converted to one's and zeros inside the binary file, this is not the case.
A simple disassembly will reveal the true password.
To prove my point I have designed a shell script which cracks passwords from such types of password verifying constructs. This shell file will not work on all naive password check but will deal with some of these types.
Anyone who understands a little bit of assembly along with a little bit a reverse engineering can easily crack variations of this type of password check, even if this script fails.
puts("enter password"); scanf("%d",&pass); if(pass==4568)
Event though this way may seem secure, since after compilation this password will be converted to one's and zeros inside the binary file, this is not the case.
A simple disassembly will reveal the true password.
To prove my point I have designed a shell script which cracks passwords from such types of password verifying constructs. This shell file will not work on all naive password check but will deal with some of these types.
Anyone who understands a little bit of assembly along with a little bit a reverse engineering can easily crack variations of this type of password check, even if this script fails.
Friday, 12 February 2016
Booth's Multiplication Algorithm -GUI C++
Q: Write a program in C++ to demonstrate booth's multiplication algorithm for 8 bit numbers.
Code:-
Framework:- QT 5.5.1
Language:- C++
Operating System:- Linux 64 bit(Ubuntu 14.04 LTS)
Code:-
Framework:- QT 5.5.1
Language:- C++
Operating System:- Linux 64 bit(Ubuntu 14.04 LTS)
Thursday, 4 February 2016
Complex Numbers-C++ GUI Application
Q: Write a C++ program for implementing basic operations on complex numbers. Use of operator overloading is expected.
Code
Framework used:- QT
Os:- Linux 64bit (You can use the executable directly if you have this os else compile it)
Code
Framework used:- QT
Os:- Linux 64bit (You can use the executable directly if you have this os else compile it)
Wednesday, 3 February 2016
Miller Rabin Primality Testing Algorithm in C language
- This algorithm is a monte carlo algorithm used for testing whether a given number is a prime or not.
- This works much better than fermat's theorem.
- This algorithm is likely to give false positive in case of Carmichael numbers.
- The code implementation given below will not work with any number less than three.
- This code contains a large number of commented out printf statements which i added during debugging. However I decided against removing them as I though it might help some one whose trying to understand the working of the algorithm.
Monday, 1 February 2016
Powerset Generator Recursive Algorithm Python
Q:Write a python program to generate powerset for given set of elements.
Tower of Hanoi-Solution
The Game
Tower of Hanoi is a puzzle game. Your objective is to move disks from one tower to another tower. You initially have 3 towers of which two are empty and one(say tower 1) contains n disks. These n disks are all of different sizes. In tower 1 they are present in definite order- the largest at the botttom and the smallest at the top. You can only move one disk at a time. The rule is that you cannot place a bigger disk on a smaller disk. This relocation of disks needs to be done in minimum number of moves.Friday, 22 January 2016
Two module String Operations ALP
Q:- Write an ALP for String Manipulation Operations . Store the string in data set of one module and write far procedure in code segment of the other module for performing the string operation. Operations to be performed are as follows:-
- Concatenation
- Occurrences of a sub-string in a string
Wednesday, 20 January 2016
Friday, 8 January 2016
BCD to Hex and vice-versa-Assembly Language
Q: Write a ALP to convert 4 bit hex to bcd and 5 bit bcd to hex. Accept input from user.
Wednesday, 2 December 2015
Caesar Cipher C programming
![]() |
| Caesar Cipher |
Sunday, 29 November 2015
Calendar - C Program
![]() |
| Calendar |
How to create a Calendar ?
Creating a calendar is quite easy. Consider the following facts first.- A normal year has 365 days.
- A leap year has 366 days.
- Also 365%7=1 while 366%7==2
- So normally if January1 is a Monday for a year x for the next year(x+1) January 1 will be Tuesday. However if year x is a leap year then for the next year January 1 will be a Wednesday.
Subscribe to:
Posts (Atom)






