December 2011
2 posts
Donald Knuth on how he became good at math →
10 Technical Papers Every Programmer Should Read... →
November 2011
2 posts
EagleUp pulls your PCBs into SketchUp →
Passion →
October 2011
5 posts
Lucid Chart →
I love lucid chart. It’s not possible to carry Microsoft Visio all the time. But this swiss knife is always handy.
1 tag
1 tag
Git Init
First of all In the Project Directory
git init
git add <filename>
git commit -a
Then
Your GIT_Repository section
git clone —bare <project_directory>
This will create a GIT repository to the Project Directory which you can share and people can clone it from.
July 2011
25 posts
3 tags
C++ Stickies : snprintf() [Safe Version of...
int snprintf(char *str, size_t size, const char *format, ...);
int vsnprintf(char *str, size_t size, const char *format, va_list args);
Writes output to the string str, under control of the format string format, that specifies how subsequent arguments are converted for output. It is similar to sprintf(3), except that size specifies the maximum number of characters to produce. The...
Satisfaction lies in the effort, not in the attainment. Full effort is full...
– Mahatma Gandhi (via kari-shma)
2 tags
C++ StickyNotes : int strcasecmp(const char *s1,...
#include <strings.h> int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n);
The strcasecmp() function compares the two strings s1 and s2, ignoring the case of the characters. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2.
The strcasecmp()...
2 tags
Using Stat Function to Read Stats of the file
#include
<iostream>
using namespace std;
int main()
{
struct stat FileInfo;
char filename[20] = "clock.cpp";
//Attempt to get the attribute of the file
int Stat = stat(filename , &FileInfo );
if (Stat == 0){
cout << "Success\n";
cout << "File Info: \n";
cout << "Size in Bytes : " << FileInfo.st_size << endl;
cout << "File's Owner...
2 tags
10 Keys to Academic Success
Make College a High Priority
Be responsible for your own learning
Design a well balanced schedule
Attend Class Daily
Take Good Notes
Do Reading / Homework Daily
Get to know your professors
Participate in extracurricular Activities
Ask Questions
Be Open to Learning
tumblrbot asked: WHERE WOULD YOU MOST LIKE TO VISIT ON YOUR PLANET?
Things I Wish Someone Had Told Me When I Was... →
2 tags
Pithos
Pithos is a great app for Pandora. You don’t need to open your web browser to listen song. Pithos is a great app and distraction free.
Pithos features:
Play / Pause / Next Song Switching stations Remembering user name and password Cover Art Thumbs Up / Thumbs Down / Tired of this song Notification popup with song info Launching pandora.com song info page and station page Reconnecting...
2 tags
Networking Terminologies
Portmaps
sudo apt-get install -y portmap
Portmap is a part of ONC RPC (Open Network Computing Remote Procedure) collection of software for implementing remote procedure calls between Computer Programs. It is widely used by NFS (Network File System) and NIS. Portmap is a server that converts RPC program number to DARPA protocol port number. It must be used in order to make RPC calls.
Network...
Advanced Bash-Scripting Guide →
An in-depth exploration of the art of shell scripting
3 tags
Shell Scripting : Using Case Statement
Here’s an example, implementing case statement in shell scripting to build a menu.
3 tags
Computer Jargons
Code Monkey
An insulting term to describe a poor programmer, usually who does not grasp basic or common programming concepts, and sometimes whose best coding capabilities can be described as “GoogleCut&Paste”.
Magic Number
A seemingly unusual and unexplained value that is used in a program and “makes it work”.
3 tags
1 tag
Mounting an ISO in Linux
#mount -o <output_name> <source_iso.iso> /mnt/mount_destination
Eg, # mount -o loop disk1.iso /mnt/disk
After you are done, don’t forget to umount it ! And while doing the umount you have to be out of the directory to do that, otherwise it would be like getting the floppy out.. while writing on it.. Floppy sounds like a dog’s name..
4 tags
Shell Scripting : Making Shell Based WPM Counter
Shell Scripting is fun and useful. It’s like Swiss Army Knife.. very handy in needy times. Here’s a small one, like an intro.
Save the below code to speed.sh and do
chmod 771 speed.sh
and run using
./speed.sh
Code:
#/bin/sh #speed.sh: A very tiny utility to measure typing speed. prompt=”Start typing a piece of text. Press Ctrl+D twice to finish” echo $prompt...
The dictionary is the only place that success comes before work. Hard work is...
– Vince Lombardi
3 tags
Upgrading Firefox to Firefox 5.0 on Ubuntu
Using PPA, we can easily update Firefox.
Here’s How,
sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade
Installing KDE4.6 on Ubuntu
Applications > Ubuntu Software Center >Kubuntu
* Kubuntu Plasma Desktop System
Or the easier way
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install kubuntu-desktop
Fix Wireless Internet Connection Problem on Ubuntu...
I know world is already moving with Ubuntu 11.04, but still though this post is for the LTD of Ubuntu 10.10 and for those who don’t like the new Unity Interface of Ubuntu 11.04. Here’s what you need to do get your wireless fix sudo apt-get update sudo apt-get install bcmwl-kernel-sources Now Open Synaptic Package Manager (System -> Administration -> Synaptic Package Nanger) and...
3 tags
Instaling GNOME 3 in Ubuntu 11.04
Add Repository, Update and Upgrade the system. Get the Gnome Shell
sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt-get update
sudo apt-get upgrade sudo apt-get install gnome-shell
And after installing GNOME 3.0; here are few things to do before start tweaking GNOME
1. Remove Unity
sudo apt-get remove unity
2. Remove Overlay ScrollBars
sudo apt-get remove scroolbar*
3. Install...
1 tag
Legen — wait for it… dary ___ Legendary !!!
– Barney Stinson (How I Met Your Mother)
4 tags
IEEE Paper Competition Region 4 2011
Final Version of IEEE Region 4 Paper Competition. It was a wonderful opportunity to meet student from other universities, share my ideas, get insight on others ideas and project.
The IEEE conference was held at Minnesota State University, Mankato on May 15, 2011. Three groups participated from St. Cloud State University. The Final Version for IEEE Paper Competition “RFID Shopping System”. This...
Dalai Lama’s 18 rules for living →
3 tags
Digital Oscilloscope using PIC18F4455 →
Final Project Report for my ECE 422 : Micro-controller Design. Our final design was to design an oscilloscope with Graphical User Interface using Windows Form and USB-CDC as appropriate communication protocol.
June 2011
2 posts
2 tags
dos2unix
Spent too much hours removing those ^M when you get your file from windows system to UNIX like system. Didn’t knew there was this utility while taking CSCI 311 : Operating System Concepts using MINIX; nevertheless better late than never.
It is only fair for the world to recognize everyone’s work by calling the...
May 2011
3 posts
Sleep List →
Years later, he realized her SleepPlaylist was the most perfect SleepPlaylist ever created. It was the one which his 100’s of seemingly perfect SleepPlaylists always hoped to be. Somehow she had it right this whole time..
Eat These Foods to Boost Your Brain Power and... →
April 2011
1 post
If you aren’t selfish, then you aren’t yourself.
– Rex Philpot
March 2011
2 posts
November 2010
3 posts
The little Rules of Action →
Really helpful when you are stuck in confusion and thinking too much about being perfectionist and not moving forward. These few actions are really helpful in moving when you have blocks that don’t move you forward.
10 Books about money that you should read →
10 Best College Books to read outside Class →
It’s hard enough to read college books in literature class without thinking about reading them once you exit the classroom. However, there are a few books that are so great that you don’t want to put them down! If you want to know what books you’re likely to enjoy both in and out of the classroom, take a look at the following 10 best reads.
October 2010
3 posts
Achieving Success Despite Setbacks →
Tennessee Williams →
Many people lose the small joys in the hope for the big happiness.
– Pearl S. Buck (via kari-shma) (via quote-book)
July 2010
2 posts
Excellence, then, is not a single act, but a habit
– Aristotle
26 Life Lessons Learned by Age 26 →
Here is a list of 26 life lessons I have learned thus far at the age of 26. I pass this list on to you with the simple hope that it makes you think. Sometimes thinking about your life and sorting out what you have learned is just as important as tackling a new venture.