Hide proprietary div, p or a using CSS pseudo-classes

DISCLAIMER!! IT’S GOOD TO ALLOW YOU BLOG OR SITE LINK TO A PROVIDER’S SITE ESPECIALLY IF YOU GOT FREE STUFF FROM THEM. USING THIS HACK TO REMOVE LINKS IS NOT EXPRESSLY SUPPORTED BY THE AUTHOR.

Ever downloaded a lot of proprietary software and found it annoying that every page on your site has: Powered by… blah at the bottom. After reading this piece you should have learnt to use pseudo-classes in CSS to remove such. Continue reading “Hide proprietary div, p or a using CSS pseudo-classes”

Command prompts for Windows

DISCLAIMER!! THE FOLLOWING COULD CAUSE HARMFUL AND UNDESIRABLE FUNCTIONS, LEADING TO THE FORMATTING OF YOUR HARD DISK AND DATA LOSS. TAKE CARE TO READ UP ON THEIR PROPER USE TO AVOID THESE.

Actually I have been using most of these for a long time with no problems whatsoever. If you are careful enough, you might never need to read the lines above. Continue reading “Command prompts for Windows”

The Miseducation of the Doodle

The teacher who chastised you for “mindless doodling” was wrong on both counts. Far from shutting down the mind, the act of doodling engages the brain in the kind of visual sense-making people have practiced for over 30,000 years. Doodling sharpens concentration, increases retention, and enhances access to the problem solving unconscious. It activates the portions of the visual cortex that allow us to see mental imagery and manipulate concepts, and unifies three major learning modalities—visual, auditory, and kinesthetic. Doodle Revolution leader Sunni Brown introduces strategic doodling and presents the ABCs of our shared visual alphabet.

Full Composition on “A List Apart”: (http://www.alistapart.com/articles/the-miseducation-of-the-doodle/)

Arrogance

I recently stumbled upon this article on coachville.com. I am reproducing the full article as available on the website. You may want to go through the original anyway. The webpage is at: Full Practice 100 | #84.  Being Arrogant. Goodluck with improving your attitude. People who are arrogant usually don’t know that they are arrogant. A couple of things to consider about this topic…

  • If you cannot afford to look bad, ignorant or stupid, you’ll tend to be arrogant in an attempt to look good or dominate the situation. And thus, not learn much. So, you’re guaranteed to look bad. Quite the cycle.
  • If you proselytize, you are probably arrogant.  Because you are pushing vs learning something new.
  • If you want to be less arrogant, don’t try to be humble.  Rather, just be upfront with everyone about your skill or knowledge level in the area of conversation.
  • If you want to stop being arrogant, simply decide to become a lifelong learner and let go of any need to share or push what you have learned with others.  Learning is plenty.  You don’t need to share it.  Really.
  • If you want to lose your arrogance, it may help to come to the realization that, in this lifetime, you will never know enough.
  • Listen about 10x more than you speak.  That’ll probably correct the problem.  If you cannot make this shift, then something else is going on.
  • Stop trying so much to help people with what you’ve learned. Make your knowledge available to all those who wish it.  Be a spring where they dip their cup into what you’ve got.  It’s a lot easier.  And you’ll have more time to enjoy your life and your learning.
  • Let go of the notion of trying to be someone or some special, aka “terminally unique.”
  • Be so unwedded to information/facts/truth/experiences that you are willing to abandon all that you know that is true if you come across a totally different truth, trend, fact  or awareness that is compelling.  Reality is always temporary.  Facts are always being replaced with more current facts.  Stop holding on to what used to be true.  .  I am not afraid of ignorance; I think it’s something of which to be excited about. After all, to include/endorse ignorance is something quite wonderful.
  • Take delight in your ignorance. It’s a key and valuable part of life. Ignorance is nothing to be embarrassed about or to compensate for.

Do any of these statements sound familiar?

YES   NO     QUESTION

____  ____     1. I am generally disdainful of soft approaches/solutions to problems.

____  ____     2. I am very good at what I do compared to others.

____  ____     3. I am only interested in what works.  Don’t distract me.  Period.

____  ____     4. I am absolutely certain about this…

____  ____     5. X is X.  That is not X.

____  ____     6. I’m in expert in this.  I know what works.  Listen to me.

____  ____     7. That’s an interesting proposal but here’s why it’s not going to work…

____  ____     8. I know what you are about to say.

____  ____     9. As Covey (or Ghandi or Robbins or Mother Theresa) says, X.  (Meaning that you use famous quotes a lot.)

____  ____     10. I know all about that.  The way it work is…

____  ____     Totals Go for 100% no’s.

But then, again, if you’re that good, maybe you are arrogant… The main point here… …is that we’re all naturally arrogant, and for very valid reasons.  The shift that is available is to be proud of what you know, but have learning be more important than knowing.

Marking a post in your facebook stream as spam

facebook mark as spam
Mark a facebook post as spam

By the time you are through with this post, you should have learned to mark spammy posts in your Facebook stream. And to remove spammy apps you may have given access to in the past.

The creators of spam have gotten to facebook too! We keep getting enticed with messages like: “I will never text again after seeing this!!”; “I cried after reading this girl’s story!!”; “Learn How Acai Berry and Colon Cleanse changed my life forever!”; The list is limitless.

These apps make us believe we are about to learn something new. First, we have to give some access to the app. Like posting on our behalf; sending us emails (Spam mails of course); Setting our status messages. Then it will advice us to tell others by posting to their walls. And I promise you at the end of it all, we’d have probably lost sight of our original reason for clicking their message. Be rest assured, most – if not all – of them, have no story to tell for your worry. They have already gotten the info they want from you. For the most meticulous users, they go to Applications privacy settings and remove the application. This stops any further encroachment on our privacy and those of our friends.

But what about before? Yeah, like your Email provider, Facebook also gives you the power to mark spammy posts in our stream. The instructions below assume you assume that you are logged in to the http://www.facebook.com.

Continue reading “Marking a post in your facebook stream as spam”

THE PAST IS GONE FOREVER!

By brooding over the past and its tragedies, one evinces a form of insanity – a kind of sadness that destroys resolve to live for the present moment. Those who have a firm purpose have filed away and forgotten occurrences of the past, which will never see the light of day again, since they occupy such a dark place in the recesses of the mind. Episodes of the past are finished with; sadness cannot retrieve them, melancholy cannot make things right, and depression will never bring the past back to life. This is because the past is non-existent.

Do not live in the nightmares of former times or under the shade of what you have missed. Save yourself from the ghostly apparition of the past. Do you think that you can return the sun to its place of rising, the baby to its mother’s womb, milk to the udder, or tears to the eye? By constantly dwelling on the past and its happenings, you place yourself in a very frightful and tragic state of mind.

Reading too much into the past is a waste of the present. When God mentioned the affairs of the previous nations, He said:

That was a nation that passed away.

Former days are gone and done with and you benefit nothing by carrying out an autopsy over them, by turning back the wheels of history.

The person who lives in the past is like someone who tries to see sawdust. Of old, they used to say: do not remove the dead from their graves.

Our tragedy is that we are incapable of dealing with the present: neglecting our beautiful castles, we wail over dilapidated buildings. If every man and every jinn were to try jointly to bring back the past, they would fail because this is an impossibility. Everything on earth marches forward preparing for a new season and so should you.

…culled from ‘DONT BE SAD’

System DSN creation in Windows 7

run “odbcad32.exe” to open the ODBC Data Source Administrator in case you need to manage your DSNs on Windows 7

I cant fathom why the creation of a DSN in Windows 7 had to get hidden… Going through the control panel, I spent a number of minutes scanning through the icons to locate anything related to DSN. No Luck.

Ok, how about creating via the ‘My Data Sources’ Folder under my documents? oh well, more tough luck as all i can do with that is create a file DSN. Oh, and DSN is short for ‘Data Source Name’. It is mostly needed to connect to a data source (access database, sql server database or the likes) without having to open the application that owns the database… or something like that :D. A System DSN is available system-wide… Big Difference.

Anyways, I am trying to create this Data Source Name (DSN) to connect to an access database but cant locate the control panel icon to manage DSNs on my system. Then it hits me *KA BOOOM*… why not try the name of the ODBC application… “odbcad32.exe“. I just typed this in the RUN dialog and there it is… the elusive ODBC Data Source Administrator Panel.

Bottom line: run “odbcad32.exe” to open the ODBC Data Source Administrator in case you need to manage your DSNs on Windows 7. Cheers!!

411!! Visafone “free” modems now available at Visafone Abuja Shop

Hi guys,

This is something you’ll really love to enjoy!! The Visafone Shop in Abuja (Opposite Big Bites, Wuse II, Abuja) is giving out free modems and has reduced prices of some phones and co.

This however comes at the end of their bonus credit promo. Here is a link to the price list as at 29th October 2010: https://spreadsheets.google.com/ccc?key=0AjQLCR6aGC3kdFNxXzA2am9oYWd4cjlNNjZsd3lZZVE&hl=en&authkey=CLqX9OwJ

The full mail they sent is as follows:

Dear Valued Customer,

In response to your highly esteemed patronage and valuable suggestions for a continuous process improvement, we have recently reviewed the prices of our products to suit your ever growing demands.

To this end, we have reduced the price of Motorola V9M(From N54,999 to N16,999) and data cards (FREE ON SUBSCRIPTION TO AT LEAST 100-HOUR EVDO PLAN) Good deal! You can now own a modem forFree after purchasing any plan from NGN6,500 above!!. Hurry now to our shop at Plot 374 Adetokunbo Ademola Crescent, Opposite Big Bite,Wuse II Abuja …………,  please find attached detailed and current price list for all products with effect from Friday, October 29, 2010.

Thank you for choosing Visafone,

Visafone Abuja Wuse II Shop.

DL – 092900004.
Visafone logo

Good luck!

Apps4Dev Competiton by World Bank

The world bank is challenging the public to create innovative software applications that move us a step closer toward solving some of the world’s most pressing problems.

I got a mail from a colleague about a challenge thrown down by the World Bank to developers around the world.

The world bank is challenging the public to create innovative software applications that move us a step closer toward solving some of the world’s most pressing problems. We are given API access to their data and challenged to write a software that will do any or both of these:

  1. Raise awareness of at least one of the Millennium Development Goals (MDGs)
  2. Contribute to progress toward meeting one of the MDGs by 2015.

The full info can be obtained from the challenge page at: http://appsfordevelopment.challengepost.com/

World Bank Apps4Dev competition page

FizzBuzz – Most programmers cant solve this (or so I am told…).

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

Tim Akinbo posted this on his website today and threw down a challenge. Here’s my humble attempt at solving the problem. It took a little under 20 minutes.

The challenge statement:

This is the fabled Fizzbuzz problem, which is said that most programmers cant solve in longhand. Its a common question asked in programming interviews.

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

My suggestion

This is a program written in python, we loop through the values from 1 to 100. Test for multiples of 15, then multiples of 5 and multiples of 3. Others will be printed as is.

for n in range(1, 101):
if ((n % 15) == 0):
print "FizzBuzz",
elif ((n % 5) == 0):
print "Buzz",
elif ((n % 3) == 0):
print "Fizz",
else:
print n,