tips

Urgh those bubbles

The trick to perfect screen protector pasting?

Dont ever use the wipe cloth that usually comes with the screen protector. The more you wipe it on your new screen, the more dust particles you get.

Just remove the original off-factory screen protector, (dont blow the screen please), and paste your own screen protector instantly! Do it in a clean, closed room.

P/s: yay, finally installed wordpress on my mobile! Mobile does replace PC, dont you think?

image

Bubbles.... T.T stupid wipe cloth cheat my feeling.

Advertisements

Changing Password for phpmyadmin on Raspberry Pi

I happen to forget my password to phpmyadmin because it was months ago since i installed it with my Apache2 web server. I did a quick search on the net and found a forum post discussing about recovering password for phpmyadmin on XAMPP. I haven’t try this on Raspberry Pi because I managed to recover my root password. (username is root!) However this may be useful for future reference:

You may want to edit this file: “\xampp\phpMyAdmin\config.inc.php” for XAMPP on desktop or “/etc/phpmyadmin/confid.inc.php”

change this line (for XAMPP):

$cfg[‘Servers’][$i][‘password’] = ‘WhateverPassword’;

to whatever your password is. If you don’t remember your password, then run this command in the Shell:

mysqladmin.exe -u root password WhateverPassword

where ‘WhateverPassword’ is your new password.

However I couldn’t find the line for Raspberry Pi. Instead, this may be helpful:
/* Uncomment the following to enable logging in to passwordless accounts, after taking note of the associated security risks. */
// $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

Raspberry Pi Quick Tips: Copy and Paste

When following some tutorials to test something on Raspberry Pi, there are some codes available online and they are a whole bunch of characters to type! There is a risk that you might type wrongly! So how to copy and paste those codes into Raspberry Pi terminal?

Here’s how I do it. I usually browse those tutorials using my laptop so I can just CTRL+C to copy those codes.

Then I start PuTTY to start SSH with Raspberry Pi. Unfortunately I can’t CTRL+V into the terminal. The right way to do it is to right click on the terminal. The codes are pasted right away. 😉

Also, notice that CTRL+C in the terminal will kill a process but if you select some texts and press CTRL+C, the texts will get copied and the process will get killed as well.

Some people say Shift+CTRL+C/V works but not for my case. 😦

Quick tips to kill an application on Raspberry Pi

When you are running and testing a web server (e.g cherrypy) on Raspberry Pi, and there is an error in your codes. You did not shutdown the server nor kill the application properly. You fixed the error and reload it. Tadaa! You get an error saying that the port is not freed and you do not know what to do! Solutions on the internet say “find the app Process ID (PID)”… but how exactly should you find it out of no where??

Or you are testing your new raspberry Pi camera. Opps it hangs and it is on forever. You cannot turn it off, you cannot use it for another test. How to kill it??

Try this:

pgrep the-app-name
E.g. pgrep python

This will return you the PID number (4 digits) of that app (e.g 4908)
Then type:
kill 4908

Raspberry Pi is now good to go for another test. 😉

Interview Tips

This week’s lesson topic : Interview

Introduction to different types of interview:

  • conventional/traditional interviews
  • Non-conventional interviews

– group /round table (most probably for observing how you behave in a group)

– situational/behavioral/stress interview (to see how you can adapt to certain situation)

– phone/video (to see how you react spontaneously)

– series (please show consistency in your answers for each round)

– assessment centers (a few round of tests for you to go through)

Everyone can be equally good in terms of academic performance but what makes you better is your attitude.

First 30 seconds of impression is the most important because interviewers may have already decide whether to take you in or not. There are a few factors that will determine the first impression on you.

  1. Grooming – how tidy you are and suitability of your attire
  2. Punctuality – slightly earlier but not too early
  3. Courtesy – Be polite and greet properly
  4. Body language – Watch your behavior and sitting posture

Some interview questions discussed in class:

1. Are you nervous?

Admit it but show confidence. “Yes, indeed I am a bit nervous. I am serious about this job and therefore I want to perform my best today. I do not want to let you down and disappoint myself.”

2. Why should we hire you? Introduce yourself. What is your value to our company?

Don’t start off by telling your name… Give your selling points instead. Mention those included in your CV but be prepared to answer questions / give examples relevant to each point.

3. You are one of the worst applicants on our list. Why should we hire you?

Sound pretty negative huh. Don’t give answer like “I don’t know, but why are you calling me for interview then??” or deny it “No please, i’m not the worst!”. Instead, admit that you may be slightly worse than others but justify why they should give you a chance. “Well I believe that all of us have our own strengths and weaknesses. I am sure there is something in me that will be valuable to your company.” Then be prepared to explain your strengths and how do you see them relevant to the job.

4. Useful things that you have learned in university

Make it as relevant to the job requirements as possible – technical skills, communication skills, time management, project management, etc.

5. Most difficult decision that you have made in life

Talk about some mature decision. Perhaps course selection, scholarship offer, JC or Poly. (**Note to myself – EEE or REP) Or it can be whether to further my study or to work for experience. “blah blah… I am very happy with my decision.”

6. What is your weakness?

Choose something that you can package it as strength. E.g. overly goal-driven that you would persist in completing a task.

7. A university subject/mod that you dislike.

Don’t blame your interest but admit that it is not your strength. E.g, for an engineer – you dislike humanity courses because it is not your strength and that is why you are an engineer. 😉

8. Why do you do so badly in certain modules?

Take ownership of that and don’t blame your professor or course structure or anything else. “Yes, I feel disappointed with myself. I wish I could have done better. I have misunderstood certain concepts and blah blah. But I have learned a valuable lesson.”

9. Where do you see yourself in 5 years time?

Talk about your improvements and don’t specifically mention the position/department that you think you will be at. They decide for you, not you asking for it at this moment. “I see myself to be more confident in this that this area and climbing up the ladder or whatsoever.”

10. Hypothetical questions

Don’t give a direct answer but show your thinking process.

Technical questions

Show how you analyze the questions and know how and where to find the answers.

Unethical questions?

To see how you behave when a wrong button is pressed. Don’t break down but protect yourself as well. Most importantly, be confident.

 

At the end of the interview, ask some intelligent questions. “Could you please describe the ideal candidate for this position?” “What do you think a day of engineer in XX company will be like?”

If there is nothing to ask, thank them. “Initially I had some doubts but throughout the interview session, you have cleared my doubts and questions. Thank you for clarifying everything.”

Talking about expected salary. Don’t give a definite value. Ask them instead. “Can you please share with me how do you remunerate a person with my level of experience and background?” If he/she refuses to say, then you should state your views. “According to my research, blah blah, the pay for blah blah is about S$xxxx. Do you consider it as too high or too low?”

 

Credit: Thank you Ms Li Shu Yun, our Professional Communication Instructor.