New year and same old me or maybe not

Most of us make resolutions for the new year and hope everything will change magically in this year but as the days pass on so does the enthusiasm and the new resolutions are left behind to solve the old issues first from the previous year. The same story is repeated for most of us year on year.

The problem is that we try to set unrealistic aims and goals, even though it’s OK to set your aim/ goal high but also must realize that we can only reach there with smaller steps and achievements. A lot of people tend to give up when they set the target too high and realize they are not getting close to it.

The idea is to set the bigger target and then divide it into smaller steps and try to achieve those gradually e.g. set a goal to loose 10 kg in 6 months but mini goals of 1-2 kg a month and then when you work your way to the monthly goal and achieving it will boost your moral and keep you going for the next step and finally achieve your main/ bigger goal.

Happy New Year

Programming Hex-code on an Attiny85 with the Arduino

To get a HEX-code in your Attiny85 it is possible to use the Arduino as a programmer, but as you cannot load hexcode  in your IDE, it involves using avrdude.

First of all, we need to get the Attiny85 clocked to 8Mhz.

Open up your Arduino software and upload the Arduino ISP sketch to your board.

Disconnect the board from  your computer and attach the Attiny as shown  here. Also make sure you download and install the Attiny core files as described in that article

Connect your Arduino board in again and choose these settings.

Tools – Board – Attiny85 @ 8Mhz (internal oscillator; BOD disabled)
Tools – Programmer – Arduino as ISP
Tools – Serial Port – COMx (x being the com port that your arduino is connected to)

Then select

Tools – Burn Bootloader.

Just to clarify, you are not burning a bootloader here. You are resetting the fuses in the Attiny to clock it at 8Mhz.

Next, get the firmware into the chip. With that I mean the hex file you want in your chip

We do that by using the arduino as a programmer.  You should still still have the ArduinoISP sketch loaded on your Arduino.

Make sure your Attiny is still attached to your Arduino as described here and open a command prompt.  (In your windows start menu type cmd or chose the terminal in Linux/Ubuntu).

Type:

avrdude

This will bring up a list of options explaining what everything does.
Screenshot from 2013-12-11 14:09:55

Only need a few of those commands.

This is what to type in cmd (on 1 line)

avrdude -c avrisp -p t85 -P comX -b 9600 –U flash:w:example_attiny85.hex:i

What does all that mean?

Avrdude… This calls the program-c avrisp…  This tells avrdude which programmer you are using.  The Arduino shows up as avrisp

-p t85… This is the avrdude code for Attiny85.

-P comX… This is the com port your programmer is attached to.  (Change the X to suit your programmer.)

-b 9600… This is the baud rate (Use what is specified in the sketch loaded onto your Arduino.) .

-U flash:w:example_attiny85.hex:i   This tells avrdude you want to write (w) the firmware (example_attiny85.hex) to flash memory (flash).  The ‘i’ is at the end to tell avrdude what format it is writing in.

Avrdude should now read your chip, write to your chip, then read your chip.

If all goes well, you should get:    avrdude done.

 

Source: Programming Hex-code on an Attiny85 with the Arduino

How To Trace an Email

Have you ever received an email several days after it was sent? Have you ever gotten an unwanted email with a fake “From” name, and wished you could find out where it came from? Read on to learn about some free tools that can help with both situations…

How to Trace the Source (or Path) of an Email

There are times when it’s useful to trace the path that an email took to get to your inbox. The most common situation is suspected spam, when you want to discover the true source of an email.

Delays in receiving emails can also be diagnosed by tracing the path that emails take to you. But tracing emails on your own can be pretty frustrating.

Every email contains hidden information about the path it took to you, called “header information.” To most people, it looks like gibberish. Here is just a small part of a typical example:

Received: by 110.46.73.35 with SMTP id z62csp234112ita; Wed, 9 Sep 2015 05:10:19 -0700 (PDT)
X-Received: by 10.67.3.3 with SMTP id bs3pad.121.144187; Wed, 09 Sep 2015 05:10:17 -0700 (PDT)
Return-Path: EDDCOQNWXFNNFKD.BNLk9QJHMF3MHBFK.BNL@example.com
From: “Some User” <someuser@example.com>
To: “My Name” <myaddress@mydomain.com>
Message-ID: 60762392-7dbc-50e41ecd8bee@xt2mta1217.xt.local

With the possible exception of the “From” and “To” lines, ordinary mortals struggle to make sense out of email headers like this snippet. Geeks who run email servers or hunt down spammers may get eyestrain looking at raw headers, too. But there are many online tools that parse email headers to make them more legible by humans.

The Email Header Analyzer is a free online tool provided by MX Tools, Inc., a Texas-based firm that primarily serves network administrators and ISPs. Anyone can use the Analyzer, however; just paste a block of header information into the tool’s form and click the “Analyze Header” button.

The results include a bar graph, indicating any delays in the hops that the message took to reach you. It will also show you if any of the mail servers that relayed the message are on a spam blacklist. If the sender’s server is on a blacklist, that’s a big red flag that the message may be suspicious or malicious.

Wrapping Your Head Around Headers

The Google Apps Toolbox also includes a message header analyzer. Its main purpose is to highlight delays in message relays and pinpoint their possible sources. (Typically, email messages are received within seconds, even if they must travel half-way around the globe.)

Google also provides brief, clear instructions on how to find message headers in Webmail messages, including Gmail, AOL, Yahoo! Mail, Excite Webmail, and Hotmail (now Outlook.com). Instructions for finding headers in desktop clients such as Microsoft Outlook, Apple Mail, Mozilla Thunderbird, and Opera are also given.

Sometimes, just hitting the “Reply” button on a message will paste the full header information as well as the message’s text into a message form. But this “show full headers in replies” option can look pretty messy, so it’s often disabled by default. You may have to find this option in your email app’s settings and enable it when necessary.

Interpeting Email Headers is another Google tutorial, for those who want to read raw email header info. It walks you through each line of a sample header, explaining in plain English what it means.

Identifying a Spammer

If a sender forges the “From” line, you may not be able to find the email address of the actual sender. But analyzing the email headers will show you at least that it WAS forged, and give you an indication where it originated.

For extra credit, you can paste the IP address found on the first “Received” line into the MaxMind GeoIP tool, to learn the approximate geographic location of the sender. (Note that first “Received” line is the one closest to the bottom of the headers. As messages travel over the Internet, the header lines stack up, so you need to read them in reverse order.)

For example, I got a classic 419 Scam message from a spammer today, showing this: “Received: from User (UnknownHost [197.211.53.1]) by vdt.com …” Sure enough, the MaxMind tool confirmed my suspicion that the sender was in Lagos, Nigeria.

If you think a message is from a spammer or a scammer, don’t reply to it. You’ll only be confirming to the bad guys that your address is valid, and possibly embroiling yourself in a heap of trouble. You can forward unwanted email(s) to the FTC at spam@uce.gov. Personally, I find it more satisfying to just hit the DELETE button and move on with my life.

Click below to the original article.

via How To Trace an Email.

XIAOMI MI-3 – how to hard reset my phone

Hard Reset XIAOMI MI-3

  • At the very beginning hold down the Power button to switch off the device.Reset XIAOMI MI-3
  • Afterwards press and hold the Volume Up + Power button for a couple of seconds.Reset XIAOMI MI-3
  • When the Mi Logo appears  on your screen release only the Power key.
  • Keep holding the Volume Up key until the Recovery Mode appears.Reset XIAOMI MI-3
  • In this step select English using Volume keys to browse and Power rocker to select.
  • Then select “wipe data/factory reset” by using Volume Down to scroll and Power button to confirm.Reset XIAOMI MI-3
  • Select “Yes–delete all user data“. Use Volume Down button to scroll and Power key to select.
  • To restart the device, select “reboot system now“.Reset XIAOMI MI-3
  • Success! The hard reset operation has just been performed.

Please continue to the original article for complete guide.

via XIAOMI MI-3 – how to hard reset my phone – HardReset.info.

WARNING !
Hard Reset will erase all of your data
All described operations you are doing at your own risk.